GET
/v1/schemas/fal/image/fal-ai/object-removal/bbox
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source tracefdd43ca2344cad4601af2c59f56b0e196032c701b9551bcf8cdcd43b1f674a47{
"fetchedAt": 1793336402,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
5 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| image_url* | string | The URL of the image to remove objects from. | |
| box_prompts | BBoxPromptBase[] | List of bounding box coordinates to erase (only one box prompt is supported) | default: [] |
| 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 |
Types
1 $defsBBoxPromptBaseobject
| x_min | number | X Min Coordinate of the box (0-1) | 0 ≤ n ≤ 1 · default: 0 |
| x_max | number | X Max Coordinate of the prompt (0-1) | 0 ≤ n ≤ 1 · default: 0 |
| y_min | number | Y Min Coordinate of the box (0-1) | 0 ≤ n ≤ 1 · default: 0 |
| y_max | number | Y Max Coordinate of the prompt (0-1) | 0 ≤ n ≤ 1 · default: 0 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/object-removal/bbox","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}