falText to videoComing soon

fal-ai/cogvideox-5b

fal-ai/cogvideox-5b is a text to video tool from fal that runs in the background and returns video. 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.26 per video. The final charge comes from usage.

Limits

Runs
In the background
Returns
video
Longest queue wait
3600s
Run deadline
3600s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

Input

FieldKindDefaultDescription
prompt requiredtext—The prompt to generate the video from.
video_sizeJSON{"width":720,"height":480}The size of the generated video.
negative_prompttextThe negative prompt to generate video from
lorasJSON[] The LoRAs to use for the image generation. We currently support one lora.
num_inference_stepsnumber (whole)
1 to 50
50The number of inference steps to perform.
seednumber (whole)— The same seed and the same prompt given to the same version of the model will output the same video every time.
guidance_scalenumber
0 to 20
7 The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related video to show you.
use_rifetrue or falsetrueUse RIFE for video interpolation
export_fpsnumber (whole)
4 to 32
16The target FPS of the video

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/cogvideox-5b",
    "input": {
      "prompt": "A garden comes to life as a kaleidoscope of butterflies flutters amidst the blossoms, their delicate wings casting shadows on the petals below. In the…"
    }
  }'