GET
/v1/schemas/fal/image/fal-ai/image-preprocessors/midas
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace77177efe4d756060151681d43f1a0dc50724c55835e9656d8cf8b6825c1810fd{
"fetchedAt": 1783331098,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
3 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| image_url* | string | URL of the image to process | |
| a | number | A parameter for the MiDaS detector | default: 6.283185307179586 |
| background_threshold | number | Background threshold for the MiDaS detector | default: 0.1 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/image-preprocessors/midas","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}