GET
/v1/schemas/fal/image/reve/2.1/edit
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source tracedcb8304af73544ea00684753fd95b8ec67c03d7514e1a506ac21d377c74e245f{
"fetchedAt": 1784090287,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
6 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The text description of how to edit the provided image. You can refer to the reference image with `<frame>0</frame>`. | length ≥ 1 · length ≤ 4000 |
| image_url* | string | URL of the reference image to edit. Must be publicly accessible or base64 data URI. Supports PNG, JPEG, WebP, AVIF, and HEIF formats. | |
| num_images | integer | Number of images to generate | 1 ≤ n ≤ 4 · default: 1 |
| 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 |
| output_format | enum | Output format for the generated image. | png | jpeg | webp · default: "png" |
| aspect_ratio | enum | The desired aspect ratio of the generated image. With `auto`, the model picks an appropriate aspect ratio for the request. | 4:1 | 3:1 | 21:9 | 2:1 | 17:9 | 16:9 · +12 more · default: "auto" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"reve/2.1/edit","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}