GET
/v1/schemas/fal/image/fal-ai/object-removal/mask
Accept:
Request body
5 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| image_url* | string | The URL of the image to remove objects from. | |
| mask_url* | string | The URL of the mask image. White pixels (255) indicate areas to remove. | |
| model | enum | low_quality | medium_quality | high_quality | best_quality · default: "best_quality" | |
| mask_expansion | integer | Amount of pixels to expand the mask by. Range: 0-50 | 0 ≤ n ≤ 50 · default: 15 |
| enable_safety_checker | boolean | Whether to apply input safety moderation. Disabling it requires account authorization. | default: true |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/object-removal/mask","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}