GET

/v1/schemas/fal/image/fal-ai/moondream3-preview/segment?kind=output

kind outputactivity imagehash 0fd35ae7…extracted Jul 6, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.
Source trace
3d3e6ff9b1d667efa23796f2cfb388e0df9d2aaee745f856c148db3137bb0a44
{
  "fetchedAt": 1783330412,
  "extractorVersion": "1",
  "verifiedAt": null
}

Response body

5 properties · 2 required · 3 $defs
propertytypedescriptionconstraints
usage_info*UsageInfoUsage information for the request
finish_reason*stringReason for finishing the output generation
imageImageFileSegmentation mask image. If no object detected or preview not requested, will be null.nullable
bboxObjectBounding box of the segmented object. If not detected, will be null.nullable
pathstringSVG path data representing the segmentation mask. If not detected, will be null.nullable

Types

3 $defs

ImageFileobject

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

Objectobject

x_max*numberRight boundary of detection box in normalized format (0 to 1)
x_min*numberLeft boundary of detection box in normalized format (0 to 1)
y_max*numberBottom boundary of detection box in normalized format (0 to 1)
y_min*numberTop boundary of detection box in normalized format (0 to 1)

UsageInfoobject

input_tokens*integerNumber of input tokens processed
output_tokens*integerNumber of output tokens generated
decode_time_ms*numberTime taken for decoding in milliseconds
prefill_time_ms*numberTime taken for prefill in milliseconds
ttft_ms*numberTime to first token in milliseconds

Validate a payload

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