Quick Start
Get your API Key
Sign in to the Developer Console to create your API key.
Make your first request
Video generation runs as a background job: you submit a request, check its status until it finishes, then download the video.
1. Submit a job
The API responds with 202 Accepted and a job ID:
2. Check the job status
Use the job ID to check the status:
While the job runs, status is pending or processing. Wait at least 5 seconds between checks. When status is completed, the response includes the video URL:
If status is failed, the error field explains why.
3. Download the video
Replace VIDEO_URL with result.video_url from the previous step. The URL expires, so download the video as soon as the job completes. Other endpoints may return different keys in result; see Result format.
For a complete script that submits, checks the status, and downloads in Python, TypeScript, or cURL, see Async Jobs.
Image-to-Video
To animate a still image, submit to /v2/image-to-video and check the status at /v2/image-to-video/YOUR_JOB_ID. The other steps are the same.
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.