Generate video from text
Generate a video from a text prompt. Describe the scene, camera motion, and mood — the model returns a video with matching audio.
Responds immediately with the job id and created_at timestamp. Poll GET /v2/text-to-video/{id} until the status is completed, then download from result.video_url.
Requests that violate the content policy fail the job with content_filtered_error. An account without enough credit fails the same way, with insufficient_funds_error.
Billed per second of generated video. See Pricing.
Authentication
Request
Video duration in seconds. See the support matrix for LTX-2.5 and LTX-2.3. Pass null to let ltx-2-5-fast or ltx-2-5-pro choose the length from your prompt — see Automatic duration.
Generate audio for the video. When true, the generated video will include AI-generated audio matching the scene. When false, only silent video is generated.