falText to jsonComing soon

fal-ai/omnilottie/video-to-lottie

fal-ai/omnilottie/video-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.065 per video. 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
prompttext—Optional text description guiding the conversion.
video_url requiredURL or file—URL of the video to convert into a Lottie animation.
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/video-to-lottie",
    "input": {
      "video_url": "https://storage.googleapis.com/falserverless/gallery/0dd62535b46d6f8ecf42f22dc0e148cd.mp4"
    }
  }'