GET
/v1/schemas/fal/image/fal-ai/hy-wu-edit
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source tracef385de80834993e7c3859f24b315ff55ec7d2dc57eb2863a05bade5a5222d35a{
"fetchedAt": 1783329487,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
10 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| image_urls* | string[] | URLs of input images for editing. Typically 2 images: the base image and the reference image. Supports up to 3 images. | |
| prompt* | string | The text prompt describing the desired edit. Supports both English and Chinese. Use specific instructions like 'Replace the clothing on figure 1 with the outfit from figure 2'. | |
| num_inference_steps | integer | Number of diffusion denoising steps. | 1 ≤ n ≤ 100 · default: 30 |
| sync_mode | boolean | If True, the media will be returned as a data URI. | default: false |
| enable_safety_checker | boolean | If set to true, the safety checker will be enabled. | default: true |
| image_size | ImageSize | enum | The desired size of the generated image. If auto, image size will be determined by the model. | default: "auto" |
| output_format | enum | The format of the generated image. | jpeg | png · default: "png" |
| seed | integer | Random seed for reproducible results. If None, a random seed is used. | nullable |
| num_images | integer | The number of images to generate. | 1 ≤ n ≤ 4 · default: 1 |
| enable_thinking | boolean | Enable thinking mode. The model reasons about the edit before generating, producing higher quality results at the cost of longer inference time. Disable for faster results on straightforward edits. | default: true |
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/hy-wu-edit","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}