falImage to textComing soon

fal-ai/moondream3-preview/caption

fal-ai/moondream3-preview/caption is an image to text tool from fal that runs in the background and returns text. 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
text
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
lengthone of
short, normal, long
normalLength of the caption to generate
temperaturenumber
0 to 1
—Sampling temperature to use, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If not set, defaults to 0.
top_pnumber
0 to 1
—Nucleus sampling probability mass to use, between 0 and 1.

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/caption",
    "input": {
      "image_url": "https://storage.googleapis.com/falserverless/example_inputs/moondream-3-preview/caption_in.jpg"
    }
  }'