GET
/v1/schemas/fal/image/imagineart/imagineart-2.0-edit-preview/image-to-image
Accept:
Request body
3 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | Editing instruction (e.g. 'replace the background with a sunset beach'). | |
| image_urls* | string[] | Reference image URL(s). Up to 4 images. | |
| aspect_ratio | enum | Output aspect ratio. 'auto' = match the first input image's aspect ratio, sized to fill | auto | 1:1 | 9:16 | 16:9 | 3:2 | 2:3 · +7 more · default: "auto" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"imagineart/imagineart-2.0-edit-preview/image-to-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}