GET

/v1/schemas/fal/image/fal-ai/sam-3/image-rle?kind=output

kind outputactivity imagehash d74846a8…extracted Jul 6, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.
Source trace
e7ded90b865d5acd4fbc0a615ad6d8e0e09e066641b4da245ed2492011dcadba
{
  "fetchedAt": 1783329487,
  "extractorVersion": "1",
  "verifiedAt": null
}

Response body

5 properties · 1 required · 2 $defs
propertytypedescriptionconstraints
rle*string | string[]Run Length Encoding of the mask.
boundingbox_frames_zipFileZip file containing per-frame bounding box overlays.nullable
scoresnumber[]Per-mask confidence scores when requested.nullable
boxesnumber[][]Per-mask normalized bounding boxes [cx, cy, w, h] when requested.nullable
metadataMaskMetadata[]Per-mask metadata when multiple RLEs are returned.nullable

Types

2 $defs

Fileobject

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

MaskMetadataobject

index*integerIndex of the mask inside the model output.
boxnumber[]Bounding box for the mask in normalized cxcywh coordinates.nullable
scorenumberScore for this mask.nullable

Validate a payload

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