GET
/v1/schemas/fal/image/fal-ai/bernini-r/edit-image
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace545d5d10806b8f784bad1efd77924b521e9a636b9cc0fee4c059da75ea19e2cf{
"fetchedAt": 1791522002,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
8 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| image_url* | string | Source image to edit. | |
| prompt* | string | Text prompt or editing instruction. | |
| enable_prompt_expansion | boolean | Rewrite the prompt with an LLM before generation. The model is tuned on enhanced prompts; off by default. | default: false |
| num_inference_steps | integer | Number of denoising steps. | 1 ≤ n ≤ 50 · default: 30 |
| negative_prompt | string | Negative prompt. Defaults to the standard Wan2.2 negative prompt. | nullable |
| enable_safety_checker | boolean | Authorized callers may set false to request relaxed screening. | default: true |
| max_image_size | integer | Long-edge size (px). Sets the output size for generation tasks and caps source/reference media for editing tasks. | 256 ≤ n ≤ 1280 · default: 848 |
| seed | integer | Seed for reproducibility. Random when omitted. | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/bernini-r/edit-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}