GET
/v1/schemas/fal/image/pixelcut/background-removal?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace0a74c0e0a810a852f8556765100977a17fa16d439d86991bb019bb9939b15670{
"fetchedAt": 1783329138,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
2 properties · 0 required · 2 $defs| property | type | description | constraints |
|---|---|---|---|
| image | Image | Represents an image file. | nullable |
| file | File | Result file (for zip output format) | nullable |
Types
2 $defsFileobject
| url* | string | The URL where the file can be downloaded from. | |
| file_name | string | The name of the file. It will be auto-generated if not provided. | nullable |
| file_size | integer | The size of the file in bytes. | nullable |
| content_type | string | The mime type of the file. | nullable |
Imageobject
Represents an image file.
| url* | string | The URL where the file can be downloaded from. | |
| height | integer | The height of the image in pixels. | nullable |
| file_name | string | The name of the file. It will be auto-generated if not provided. | nullable |
| content_type | string | The mime type of the file. | nullable |
| width | integer | The width 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":"pixelcut/background-removal","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}