GET

/v1/schemas/fal/image/fal-ai/image-preprocessors/midas?kind=output

kind outputactivity imagehash 02a38c94…extracted Jul 6, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.
Source trace
77177efe4d756060151681d43f1a0dc50724c55835e9656d8cf8b6825c1810fd
{
  "fetchedAt": 1783331098,
  "extractorVersion": "1",
  "verifiedAt": null
}

Response body

2 properties · 2 required · 1 $defs
propertytypedescriptionconstraints
depth_map*ImageImage with MiDaS depth map
normal_map*ImageImage with MiDaS normal map

Types

1 $defs

Imageobject

Represents an image file.

file_sizeintegerThe size of the file in bytes.nullable
widthintegerThe width of the image in pixels.nullable
content_typestringThe mime type of the file.nullable
url*stringThe URL where the file can be downloaded from.
file_namestringThe name of the file. It will be auto-generated if not provided.nullable
heightintegerThe height of the image in pixels.nullable

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"fal","endpointId":"fal-ai/image-preprocessors/midas","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}