GET
/v1/schemas/fal/image/bria/guided-remove-background
Accept:
Request body
4 properties · 0 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt | string | Optional. Plain words for how to change the default cutout of the photo's obvious subject: add something ('the person with the mat and the plant'), drop something ('the woman at her desk without the lamp') or narrow it ('only the chair'). Everything kept is the original pixels with a new alpha channel. Leave it empty for the plain cutout of the obvious subject. | nullable |
| image_url | string | Source image as a public URL, a base64 data URI (data:image/png;base64,...) or raw base64-encoded image bytes. | default: "https://labs-assets.bria.ai/api… |
| sync_mode | boolean | If true, the function waits for the image to be generated and uploaded before returning, so the image is returned directly (base64) instead of via the CDN. Increases latency. | default: false |
| autocrop | boolean | Tighten the output canvas to the kept content. | default: false |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"bria/guided-remove-background","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}