GET
/v1/schemas/fal/image/openai/gpt-image-2.6/flare/text-to-image
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace863524b9317fea2163eaf90d78ac67967d6d033bbc47aeb99a0ba4cc1c53587c{
"fetchedAt": 1794286801,
"extractorVersion": "2",
"verifiedAt": null
} |
Request body
13 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The prompt for image generation | length ≥ 1 · length ≤ 32000 |
| num_images | integer | Number of images to generate. Must be 1 for SVG output. For GIF output, all frames of all outputs share the request's pixel budget. | 1 ≤ n ≤ 10 · default: 1 |
| svg_model | enum | SVG only: the model that converts the generated reference image into vector paths. Larger models produce more accurate shapes. | gpt-6-astra | gpt-5.5 | gpt-5.4 | gpt-5.6-terra | gpt-6-luna | gpt-6-sol · default: "gpt-6-astra" |
| frame_count | integer | GIF only: number of frames. image_size applies to each frame; reduce size or count if the request exceeds the pixel budget. | 2 ≤ n ≤ 16 · default: 9 |
| frame_duration_ms | integer | GIF only: milliseconds per frame, rounded to 10 ms. | 20 ≤ n ≤ 2000 · default: 200 |
| output_compression | integer | Compression level from 0 to 100. Only supported when output_format is 'jpeg' or 'webp'. | 0 ≤ n ≤ 100 · nullable |
| quality | enum | Rendering quality for the generated image. For SVG output it controls the reference image used to create the vector. | auto | low | medium | high | xhigh | max · default: "high" |
| output_format | enum | Output format for the images. 'gif' returns an animation and 'svg' a vector image. | jpeg | png | webp | gif | svg · default: "png" |
| enable_safety_checker | boolean | Authorized callers may set false to request relaxed screening. | default: true |
| sync_mode | boolean | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. | default: false |
| background | enum | Background for the generated image | auto | transparent | opaque · default: "auto" |
| reasoning_effort | enum | How much the model plans before rendering, independently of quality (OpenAI `complexity`). Higher levels can help with dense text and complex layouts but add latency. | low | medium | high · default: "high" |
| image_size | ImageSize | enum | The size of the generated image. Supports preset names, explicit {width, height}, or 'auto' to let the model pick the best size. Concrete sizes must have both dimensions as multiples of 16, max edge 3840px, aspect ratio <= 3:1, total pixels between 655,360 and… | default: "landscape_4_3" |
Types
1 $defsImageSizeobject
| width | integer | The width of the generated image. | 0 < n ≤ 14142 · default: 512 |
| height | integer | The height of the generated image. | 0 < n ≤ 14142 · default: 512 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"openai/gpt-image-2.6/flare/text-to-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}