GET

/v1/schemas/fal/image/fal-ai%2Fbria%2Fbackground%2Freplace

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

Request body

9 properties · 1 required · 0 $defs
propertytypedescriptionconstraints
image_url*stringInput Image to erase from
num_imagesintegerNumber of Images to generate.1 ≤ n ≤ 4 · default: 1
negative_promptstringThe negative prompt you would like to use to generate images.default: ""
fastbooleanWhether to use the fast modeldefault: true
ref_image_urlstringThe URL of the reference image to be used for generating the new background. Use "" to leave empty. Either ref_image_url or bg_prompt has to be provided but not both. If both ref_image_url and ref_image_file are provided, ref_image_url will be used. Accepted f…default: ""
refine_promptbooleanWhether to refine promptdefault: true
sync_modebooleanIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.default: false
seedinteger The same seed and the same prompt given to the same version of the model will output the same image every time. 0 ≤ n ≤ 2147483647 · nullable
promptstringThe prompt you would like to use to generate images.length ≥ 1 · nullable

Validate a payload

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