GET
/v1/schemas/fal/image/fal-ai/firered-image-edit
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace09ed5f02c9b90d907d8a26bb124daf8511e685650ee037d465ccd7b9ae1b7fa7{
"fetchedAt": 1786165357,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
12 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The editing instruction describing what changes to make to the image. Supports both English and Chinese instructions. | |
| image_urls* | string[] | The URLs of the images to edit. Supports single image editing and multi-image references (e.g., virtual try-on, style transfer from reference). | |
| num_images | integer | The number of images to generate. | 1 ≤ n ≤ 4 · default: 1 |
| num_inference_steps | integer | The number of inference steps to perform. More steps generally produce higher quality results. | 2 ≤ n ≤ 50 · default: 30 |
| image_size | ImageSize | enum | The size of the generated image. If None, uses the input image dimensions. | nullable |
| negative_prompt | string | The negative prompt for the generation. | default: "" |
| 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 set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked, and images flagged as unsafe are returned as black images. | default: true |
| seed | integer | The same seed and the same prompt given to the same version of the model will output the same image every time. | nullable |
| guidance_scale | number | Classifier-free guidance scale. Higher values make the model follow the prompt more closely. | 1 ≤ n ≤ 10 · default: 4 |
| acceleration | enum | The acceleration level to use for inference speed optimization. | none | regular | high · default: "regular" |
| output_format | enum | The format of the generated image. | jpeg | png · default: "png" |
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":"fal-ai/firered-image-edit","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}