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 usagePricing
$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
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | Text description guiding the animation of the image. |
image_url required | URL or file | — | URL of the reference image to animate. |
max_tokens | number (whole) 256 to 8192 | 4096 | Maximum number of Lottie tokens to generate. |
temperature | number 0 to 2 | 0.9 | Sampling temperature for generation. |
top_p | number 0 to 1 | 0.25 | Nucleus sampling probability threshold. |
top_k | number (whole) 1 to 100 | 5 | Top-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"
}
}'