GET
/v1/schemas/fal/image/fal-ai/flux-2-pro/outpaint
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace035f1d0a7c0639191a60f09107d2c3d85cba3787229c9d79ba7022097bb0d465{
"fetchedAt": 1786165357,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
10 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| image_url* | string | The image URL to expand using outpainting. | |
| expand_top | integer | Pixels to expand at the top of the image. | 0 ≤ n ≤ 2048 · default: 0 |
| auto_crop | boolean | Whether to automatically crop the reference image when the expanded canvas does not fully contain it. | default: false |
| mode | enum | Quality/speed trade-off for outpainting. `high` (default) delivers the highest-fidelity results; `fast` is significantly faster and extends most scenes well but may produce lower fidelity. | high | fast · default: "high" |
| expand_left | integer | Pixels to expand on the left of the image. | 0 ≤ n ≤ 2048 · default: 0 |
| expand_right | integer | Pixels to expand on the right of the image. | 0 ≤ n ≤ 2048 · default: 0 |
| output_format | enum | The format of the generated image. | jpeg | png · default: "jpeg" |
| 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 |
| expand_bottom | integer | Pixels to expand at the bottom of the image. | 0 ≤ n ≤ 2048 · default: 0 |
| enable_safety_checker | boolean | Whether to enable the safety checker. Disabling it requires account authorization; unauthorized requests are always checked. | default: true |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/flux-2-pro/outpaint","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}