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 usagePricing
$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
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | The prompt to generate the video from. |
video_size | JSON | {"width":720,"height":480} | The size of the generated video. |
negative_prompt | text | The negative prompt to generate video from | |
loras | JSON | [] | The LoRAs to use for the image generation. We currently support one lora. |
num_inference_steps | number (whole) 1 to 50 | 50 | The number of inference steps to perform. |
seed | number (whole) | — | The same seed and the same prompt given to the same version of the model will output the same video every time. |
guidance_scale | number 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_rife | true or false | true | Use RIFE for video interpolation |
export_fps | number (whole) 4 to 32 | 16 | The 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…"
}
}'