falText to jsonComing soon

fal-ai/omnilottie

fal-ai/omnilottie 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.065 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 of the Lottie animation to generate.
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",
    "input": {
      "prompt": "A red ball bouncing up and down"
    }
  }'