GET

/v1/schemas/fal/image/bria/extract-object

kind inputactivity imagehash febf5fa6…extracted Oct 12, 2026version currentsource upstream spec ↗

Request body

5 properties · 0 required · 0 $defs
propertytypedescriptionconstraints
remove_backgroundbooleanWhen 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
sync_modebooleanIf 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
autocropbooleanTighten the output canvas to the extracted object.default: false
image_urlstringSource image as a public URL, a base64 data URI (data:image/png;base64,...) or raw base64-encoded image bytes.default: "https://bria-datasets.s3.amazon…
promptstringNatural-language description of the object to act on, e.g. 'the red car'.default: "yellow hammer"

Validate a payload

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