GET
/v1/schemas/fal/image/fal-ai/birefnet/v2?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source tracee1593513f369dcf6e63cf1831291e5738c2108c7c50e5a6b085685c58d30fbe8{
"fetchedAt": 1783328807,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
2 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| image* | ImageFile | Image with background removed. When `mask_only` is `True`, this contains the segmentation mask instead. | |
| mask_image | ImageFile | Mask used to remove the background | nullable |
Types
1 $defsImageFileobject
| file_size | integer | The size of the file in bytes. | nullable |
| content_type | string | The mime type of the file. | nullable |
| url* | string | The URL where the file can be downloaded from. | |
| width | integer | The width of the image | nullable |
| file_name | string | The name of the file. It will be auto-generated if not provided. | nullable |
| height | integer | The height of the image | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/birefnet/v2","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}