LTX-2 Pro Audio-to-Video API Usage Guide
Overview
LTX-2 Pro Audio-to-Video generates a video from an audio file using the LTX-2 Pro model. Optionally provide an image as the first frame and a text prompt to guide visual generation. The output video duration matches the audio length (2-20 seconds). It operates synchronously and returns the video directly.Key Features:
- Synchronous Operation: Results returned directly
- Audio-Driven: Video content and timing match the audio
- Optional Image Input: Use an image as the first frame
- Optional Prompt: Guide visual generation with text
- Resolution: 1080p only
- Duration: Determined by audio length (2-20 seconds)
Authentication
All API requests require authentication. Include your API key in the Authorization header:Submit Request
Endpoint
Request Format
Request Parameters
| Parameter | Type | Required | Description | Default | Constraints |
|---|---|---|---|---|---|
audio_uri | audio | Yes | Audio file URL. Duration must be 2-20 seconds. Supported: WAV, MP3, MP4, OGG. | - | Required |
prompt | string | No | Text description of the video content. Required if image_uri is not provided. | - | - |
image_uri | image | No | Image URL for the first frame. If provided, prompt describes how it should be animated. | - | Max 1 image |
resolution | enum | No | Output video resolution. | 1920x1080 | 1080p only |
guidance_scale | float | No | Higher values follow the prompt more closely. | 5 (text), 9 (with image) | - |
Response
Check Request Status
Endpoint
Example
Response
Request Status Values
| Status | Description |
|---|---|
queued | Request is waiting to be processed |
processing | Video generation is in progress |
success | Video generation completed successfully |
failed | Video generation failed |
cancelled | Request was cancelled |
List Your Requests
Endpoint
Get Model Information
Endpoint
Specifications
| Specification | Value |
|---|---|
| Model | ltx-2-pro |
| Resolution | 1080p (1920x1080) only |
| Duration | 2-20 seconds (determined by audio length) |
| Supported audio formats | WAV, MP3, MP4, OGG |