GET
/v1/schemas/fal/image/fal-ai/bria/eraser
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source tracea63789b5c080c983a46df03ccc512cb7510115720e274adb3d5f597d0a349f44{
"fetchedAt": 1783329487,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
5 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| mask_url* | string | The URL of the binary mask image that represents the area that will be cleaned. | |
| image_url* | string | Input Image to erase from | |
| mask_type | enum | You can use this parameter to specify the type of the input mask from the list. 'manual' opttion should be used in cases in which the mask had been generated by a user (e.g. with a brush tool), and 'automatic' mask type should be used when mask had been genera… | manual | automatic · default: "manual" |
| sync_mode | boolean | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. | default: false |
| preserve_alpha | boolean | If set to true, attempts to preserve the alpha channel of the input image. | default: false |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/bria/eraser","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}