GET
/v1/schemas/fal/image/fal-ai/florence-2-large/region-to-segmentation
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace6830270c66802c5cf4fbee2092f2a56ed25419f0a18e34b433477dbfc150f948{
"fetchedAt": 1783331098,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
2 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| image_url* | string | The URL of the image to be processed. | |
| region* | Region | The user input coordinates |
Types
1 $defsRegionobject
| y1* | integer | Y-coordinate of the top-left corner | 0 ≤ n ≤ 999 |
| x2* | integer | X-coordinate of the bottom-right corner | 0 ≤ n ≤ 999 |
| y2* | integer | Y-coordinate of the bottom-right corner | 0 ≤ n ≤ 999 |
| x1* | integer | X-coordinate of the top-left corner | 0 ≤ n ≤ 999 |
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", …}]}