GET
/v1/schemas/fal/image/fal-ai/florence-2-large/region-to-segmentation?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace6830270c66802c5cf4fbee2092f2a56ed25419f0a18e34b433477dbfc150f948{
"fetchedAt": 1783331098,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
2 properties · 1 required · 3 $defs| property | type | description | constraints |
|---|---|---|---|
| results* | PolygonOutput | Results from the model | |
| image | Image | Processed image |
Types
3 $defsImageobject
Represents an image file.
| file_size | integer | The size of the file in bytes. | nullable |
| width | integer | The width of the image in pixels. | nullable |
| 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 |
| url* | string | The URL where the file can be downloaded from. |
Polygonobject
| label* | string | Label of the polygon | |
| points* | object[] | List of points |
PolygonOutputobject
| polygons* | Polygon[] | List of polygons |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/florence-2-large/region-to-segmentation","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}