GET
/v1/schemas/fal/image/bria/extract-object?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source tracee81e0cd40fe7453b95366e83d4da9811e2e3e6d45eb74dfbc0af0cd31d17d7cf{
"fetchedAt": 1791781215,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
2 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| image* | Image | Extracted object on a transparent background (RGBA). The full input image when nothing matches the prompt. | |
| mask* | Image | Segmentation mask used for the extraction. When nothing matches the prompt: an RGBA input's alpha, fully white for any other input. |
Types
1 $defsImageobject
Represents an image file.
| width | integer | The width of the image in pixels. | nullable |
| url* | string | The URL where the file can be downloaded from. | |
| content_type | string | The mime type of the file. | 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 in pixels. | nullable |
| file_size | integer | The size of the file in bytes. | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"bria/extract-object","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}