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.io/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-5-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.io/v1/image-to-video \
> -H "Authorization: Bearer YOUR_API_KEY" \
> -H "Content-Type: application/json" \
> -d '{
> "image_uri": "YOUR_IMAGE_URI",
> "prompt": "Clouds drifting across the sky as the sun sets slowly",
> "model": "ltx-2-5-pro",
> "duration": 8,
> "resolution": "1920x1080"
> }' \
> -o video.mp4

Replace YOUR_IMAGE_URI with a publicly reachable HTTPS URL to your image. You can also upload the image and pass the returned ltx:// URI, or inline it as a base64 data URI — see Input Formats.

Response

Successful requests return:

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

Going to production? Switch to the async API — submit a job, poll for the result. Avoids long-lived connections and timeouts on heavier requests.

Next Steps