GET

/v1/schemas/fal/image/fal-ai/object-removal/mask

kind inputactivity imagehash 1b990a14…extracted Oct 30, 2026version currentsource upstream spec ↗

Request body

5 properties · 2 required · 0 $defs
propertytypedescriptionconstraints
image_url*stringThe URL of the image to remove objects from.
mask_url*stringThe URL of the mask image. White pixels (255) indicate areas to remove.
modelenumlow_quality | medium_quality | high_quality | best_quality · default: "best_quality"
mask_expansionintegerAmount of pixels to expand the mask by. Range: 0-500 ≤ n ≤ 50 · default: 15
enable_safety_checkerbooleanWhether to apply input safety moderation. Disabling it requires account authorization.default: true

Validate a payload

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