GET

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

kind outputactivity imagehash 6e4b3f2a…extracted Nov 25, 2026version currentsource upstream spec ↗

Response body

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

Types

3 $defs

ImageFileobject

content_typestringThe mime type of the file.nullable
heightintegerThe height of the imagenullable
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
file_sizeintegerThe size of the file in bytes.nullable
widthintegerThe width of the imagenullable

Objectobject

y_min*numberTop boundary of detection box in normalized format (0 to 1)
y_max*numberBottom boundary of detection box in normalized format (0 to 1)
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)

UsageInfoobject

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

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", …}]}