Quickstart

Get started with LTX-2 API in minutes

Get your API Key

To use the LTX-2 API, you’ll need an API key. Contact our team to get started.

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-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-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