falText to jsonComing soon

fal-ai/omnilottie/image-to-lottie

fal-ai/omnilottie/image-to-lottie is a text to json tool from fal that runs in the background and returns structured JSON. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Priced by usage

Pricing

$0.13 per image. The final charge comes from usage.

Limits

Runs
In the background
Returns
json
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
prompt requiredtext—Text description guiding the animation of the image.
image_url requiredURL or file—URL of the reference image to animate.
max_tokensnumber (whole)
256 to 8192
4096Maximum number of Lottie tokens to generate.
temperaturenumber
0 to 2
0.9Sampling temperature for generation.
top_pnumber
0 to 1
0.25Nucleus sampling probability threshold.
top_knumber (whole)
1 to 100
5Top-k sampling parameter.

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/omnilottie/image-to-lottie",
    "input": {
      "prompt": "A cyan-colored, elongated shape resembling a smiley face, consisting of two pink oval eyes with navy blue circular pupils positioned symmetrically. The shape…",
      "image_url": "https://storage.googleapis.com/falserverless/gallery/00de75e2c031cb3fc3f472e356aba5b6.png"
    }
  }'