GET
/v1/schemas/fal/image/fal-ai%2Fbernini-r%2Fedit-image
Accept:
Request body
7 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | Text prompt or editing instruction. | |
| image_url* | string | Source image to edit. | |
| seed | integer | Seed for reproducibility. Random when omitted. | nullable |
| 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 |
| 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 |
| enable_prompt_expansion | boolean | Rewrite the prompt with an LLM before generation. The model is tuned on enhanced prompts; off by default. | default: false |
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", …}]}