Quick Start

Get started with the LTX API in minutes

Get your API Key

Sign in to the Developer Console to create your API key.

Create API Key

Make your first request

Text-to-Video

Generate a video from a text prompt:

Request
$curl -X POST https://api.ltx.video/v1/text-to-video \
> -H "Authorization: Bearer YOUR_API_KEY" \
> -H "Content-Type: application/json" \
> -d '{
> "prompt": "A majestic eagle soaring through clouds at sunset",
> "model": "ltx-2-3-pro",
> "duration": 8,
> "resolution": "1920x1080"
> }' \
> -o video.mp4

The API returns the generated video file directly as an MP4.

Image-to-Video

Transform a static image into a dynamic video:

Request
$curl -X POST https://api.ltx.video/v1/image-to-video \
> -H "Authorization: Bearer YOUR_API_KEY" \
> -H "Content-Type: application/json" \
> -d '{
> "image_uri": "https://example.com/sunset.jpg",
> "prompt": "Clouds drifting across the sky as the sun sets slowly",
> "model": "ltx-2-3-pro",
> "duration": 8,
> "resolution": "1920x1080"
> }' \
> -o video.mp4

Response

Successful requests return:

  • Body: The generated video file (MP4 format)
  • Headers:
    • Content-Type: video/mp4
    • x-request-id: Unique identifier for tracking

Next Steps