GET
/v1/schemas/fal/image/fal-ai/wan/v2.7/edit
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source tracea41e2ad99bcd9b125f376f1980783f2c3c6dedb8b08d457418df10c7bbece751{
"fetchedAt": 1786338105,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
9 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| image_urls* | string[] | Reference images for editing (1-4 images required). Order matters: reference them as image 1, image 2, image 3, image 4 in the prompt. | |
| prompt* | string | Text prompt describing the desired image edit. Supports Chinese and English. | length ≥ 1 · length ≤ 2000 |
| enable_safety_checker | boolean | Enable content moderation for input and output. Disabling it requires account authorization; unauthorized requests are always checked. | default: true |
| negative_prompt | string | Content to avoid in the generated image. Max 500 characters. | length ≤ 500 · nullable |
| image_size | ImageSize | enum | Output image size. Uses fal image size presets or explicit dimensions and is converted to DashScope size format. | default: "square_hd" |
| num_images | integer | Number of images to generate (1-4). | 1 ≤ n ≤ 4 · default: 1 |
| output_format | enum | The format of the generated images. | jpeg | png | webp · default: "jpeg" |
| enable_prompt_expansion | boolean | Enable DashScope prompt expansion. Supported only for image edit mode. | default: true |
| seed | integer | Random seed for reproducibility (0-2147483647). | nullable |
Types
1 $defsImageSizeobject
| height | integer | The height of the generated image. | 0 < n ≤ 14142 · default: 512 |
| width | integer | The width of the generated image. | 0 < n ≤ 14142 · default: 512 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/wan/v2.7/edit","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}