GET
/v1/schemas/fal/image/fal-ai/stepx-edit2
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace1a9f21d18439112bb9b7db87c38195b1285cf6f36fd642d28f7fe304046ee292{
"fetchedAt": 1783331098,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
11 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| image_url* | string | The image URL to generate an image from. Needs to match the dimensions of the mask. | |
| prompt* | string | The prompt to generate an image from. | |
| enable_reflection_mode | boolean | Enable reflection mode. Reviews outputs, corrects unintended changes, and determines when editing is complete. | default: true |
| num_inference_steps | integer | The number of inference steps to perform. Recommended: 50. | 1 ≤ n ≤ 100 · default: 50 |
| 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 |
| output_format | enum | The format of the generated image. | jpeg | png · default: "jpeg" |
| negative_prompt | string | The negative prompt to use. Use it to address details that you don't want in the image. This could be colors, objects, scenery and even the small details (e.g. moustache, blurry, low resolution). | default: "" |
| enable_safety_checker | boolean | If set to true, the safety checker will be enabled. | default: true |
| guidance_scale | number | The true CFG scale. Controls how closely the model follows the prompt. | 0 ≤ n ≤ 20 · default: 6 |
| enable_thinking_mode | boolean | Enable thinking mode. Uses multimodal language model knowledge to interpret abstract editing instructions. | 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 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/stepx-edit2","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}