GET
/v1/schemas/fal/image/fal-ai/krea-2/turbo
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace79b0ef7522958c13cfab88a8e8232fc3dfc4d0a1e26f0613c4703813de599f55{
"fetchedAt": 1786338105,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
9 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | Base text description of the image to generate. | length ≥ 1 · length ≤ 5000 |
| acceleration | enum | The acceleration level to use for the image generation. | none | regular · default: "none" |
| output_format | enum | The format of the generated image. Default value: "png". | jpeg | png · default: "png" |
| seed | integer | Random seed for reproducible generation. Image *i* uses `seed + i`. | nullable |
| 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 |
| enable_safety_checker | boolean | If true, the output safety checker is enabled. Disabling it requires account authorization; unauthorized requests are always checked, and images flagged as unsafe are returned as black images. | default: true |
| enable_prompt_expansion | boolean | If true, the prompt is expanded with an LLM into a more detailed image-generation prompt for higher quality results. On failure, the original prompt is used unchanged. | default: false |
| image_size | ImageSize | enum | The size of the generated image. | default: "square_hd" |
| num_images | integer | The number of images to generate. | 1 ≤ n ≤ 4 · default: 1 |
Types
1 $defsImageSizeobject
| height | integer | The height of the generated image. | 0 < n ≤ 14142 · default: 512 |
| width | integer | The width 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":"fal-ai/krea-2/turbo","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}