GET
/v1/schemas/fal/image/bria%2Fextract-object
Accept:
Request body
5 properties · 0 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| 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 |
| image_url | string | Source image as a public URL or raw base64-encoded image bytes (no data-URI prefix). | default: "https://bria-datasets.s3.amazon… |
| remove_background | boolean | When True, refine the cutout alpha with background removal (RMBG). When False (default), use the SAM segmentation mask as the cutout's alpha -- faster, with no salient-object matting (helpful when RMBG over-trims text, logos, or graphics). | default: false |
| prompt | string | Natural-language description of the object to act on, e.g. 'the red car'. | default: "yellow hammer" |
| autocrop | boolean | Tighten the output canvas to the extracted object. | default: false |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"bria/extract-object","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}