GET
/v1/schemas/fal/image/fal-ai/kling-image/v3/text-to-image
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace745f7b24b2eeb39fbfe25fa3a8519a3fca3ebf3a27c0bf897e0f347e44ff0043{
"fetchedAt": 1791522002,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
9 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | Text prompt for image generation. Max 2500 characters. | length ≤ 2500 |
| resolution | enum | Image generation resolution. 1K: standard, 2K: high-res. | 1K | 2K · default: "1K" |
| num_images | integer | Number of images to generate (1-9). | 1 ≤ n ≤ 9 · default: 1 |
| enable_safety_checker | boolean | Authorized callers may set false to request relaxed screening. | default: true |
| aspect_ratio | enum | Aspect ratio of generated images. | 16:9 | 9:16 | 1:1 | 4:3 | 3:4 | 3:2 · +2 more · default: "16:9" |
| negative_prompt | string | Negative text prompt. It is recommended to supplement negative prompt information through negative sentences directly within positive prompts. | length ≤ 2500 · nullable |
| sync_mode | boolean | If `True`, the media will be returned as a data URI. | default: false |
| output_format | enum | The format of the generated image. | jpeg | png | webp · default: "png" |
| elements | ElementInput[] | Optional: Elements (characters/objects) to include in the image for face control. Each element can have a frontal image and optionally reference images. | nullable |
Types
1 $defsElementInputobject
Element input for image generation with face/character control.
| reference_image_urls | string[] | Additional reference images from different angles. 0-3 images supported. Optional. | nullable |
| frontal_image_url | string | The frontal image of the element (main view). Optional. | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/kling-image/v3/text-to-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}