GET
/v1/schemas/fal/image/fal-ai/object-removal
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source tracea2a4f225107dbbb53ec91282d52a027f3fa4b9b724598c7bc95968b394ea3fe9{
"fetchedAt": 1793336402,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
5 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | Text description of the object to remove. | |
| image_url* | string | The URL of the image to remove objects from. | |
| 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","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}