GET
/v1/schemas/fal/image/fal-ai%2Fflux-2-pro%2Foutpaint
Accept:
Request body
10 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| image_url* | string | The image URL to expand using outpainting. | |
| 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_bottom | integer | Pixels to expand at the bottom 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 |
| expand_right | integer | Pixels to expand on the right of the image. | 0 ≤ n ≤ 2048 · default: 0 |
| enable_safety_checker | boolean | Whether to enable the safety checker. | default: true |
| 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_left | integer | Pixels to expand on the left of the image. | 0 ≤ n ≤ 2048 · default: 0 |
| expand_top | integer | Pixels to expand at the top of the image. | 0 ≤ n ≤ 2048 · default: 0 |
| output_format | enum | The format of the generated image. | jpeg | png · default: "jpeg" |
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", …}]}