text_to_video
Generate a video from a text description using the local LTX-Video model. Provide a prompt and get a customizable video clip.
Instructions
Generate a video from a text description using LTX-Video (local model).
All parameters except prompt are optional with sensible defaults. Change any parameter to customize. For cloud-based video generation, use sora_video_generate() or run_api_node() with Kling/Runway/Luma/etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cfg | No | Guidance scale. Default: 3.0. Typical: 1.0-7.0. | |
| seed | No | Random seed. Default: -1 (random). | |
| steps | No | Sampling steps. Default: 30. Typical: 20-50. | |
| width | No | Video width in pixels. Default: 768. Must be multiple of 32. | |
| height | No | Video height in pixels. Default: 512. Must be multiple of 32. | |
| length | No | Number of frames. Default: 97. Must be multiple of 8 + 1 (e.g. 25, 33, 41, 49, 97). More frames = longer video. | |
| prompt | Yes | Text description of the desired video. | |
| checkpoint | No | LTX-Video checkpoint. Default: "" (auto-selects). Use list_models(folder="checkpoints") to see options. | |
| frame_rate | No | Output FPS. Default: 25.0. | |
| text_encoder | No | T5 text encoder filename. Default: "" (auto-selects T5-XXL). Use list_models(folder="text_encoders") to see options. | |
| negative_prompt | No | Things to avoid. Default: "low quality, worst quality, deformed, distorted". | low quality, worst quality, deformed, distorted |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||