GET

/v1/schemas/fal/image/fal-ai%2Fbagel%2Fedit

kind inputactivity imagehash 6bc58aaeextracted Jul 6, 2026version currentsource upstream spec ↗

Request body

5 properties · 2 required · 0 $defs
propertytypedescriptionconstraints
image_url*stringThe image to edit.
prompt*stringThe prompt to edit the image with.
seedintegerThe seed to use for the generation.
use_thoughtbooleanWhether to use thought tokens for generation. If set to true, the model will "think" to potentially improve generation quality. Increases generation time and increases the cost by 20%.default: false
enable_safety_checkerbooleanIf set to true, the safety checker will be enabled.default: true

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"fal","endpointId":"fal-ai/bagel/edit","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}