GET
/v1/schemas/fal/image/fal-ai/object-removal/mask
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source traceaec5fd1632eedf52b31f2360636fb295c350c1c00e1effc387d82380b48db6aa{
"fetchedAt": 1793336402,
"extractorVersion": "1",
"verifiedAt": null
} |
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", …}]}