falImage to imageComing soon

fal-ai/moondream3-preview/segment

fal-ai/moondream3-preview/segment is an image to image tool from fal that runs in the background and returns images. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Price pending

Pricing

Price pending.

Limits

Runs
In the background
Returns
image
Longest queue wait
3600s
Run deadline
1800s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

Input

FieldKindDefaultDescription
image_url requiredURL or file—URL of the image to be processed
object requiredtext—Object to be segmented in the image
spatial_referencesJSON—Spatial references to guide the segmentation. By feeding in references you can help the segmentation process. Must be either list of Point object with x and y members, or list of arrays containing either 2 floats (x,y) or 4 floats (x1,y1,x2,y2). **NOTE**: You can also use the [**point endpoint**](https://fal.ai/models/fal-ai/moondream3-preview/point) to get points for the objects, and pass them in here.
settingsJSON—Sampling settings for the segmentation model
previewtrue or falsefalseWhether to preview the output and return a binary mask of the image

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "fal-ai/moondream3-preview/segment",
    "input": {
      "image_url": "https://storage.googleapis.com/falserverless/example_inputs/moondream-3-preview/segmentation_in.png",
      "object": "mango"
    }
  }'