GET
/v1/schemas/fal/image/fal-ai/bagel/edit
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace2f84c8f2702437a3f819aafe0c7a913095595e8c5865431b8ac1443d0b945694{
"fetchedAt": 1783330412,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
5 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| image_url* | string | The image to edit. | |
| prompt* | string | The prompt to edit the image with. | |
| seed | integer | The seed to use for the generation. | |
| use_thought | boolean | Whether 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_checker | boolean | If set to true, the safety checker will be enabled. | default: true |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/bagel/edit","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}