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 pendingPricing
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
| Field | Kind | Default | Description |
|---|---|---|---|
image_url required | URL or file | — | URL of the image to be processed |
object required | text | — | Object to be segmented in the image |
spatial_references | JSON | — | 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. |
settings | JSON | — | Sampling settings for the segmentation model |
preview | true or false | false | Whether 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"
}
}'