How to access the LTX-2 API documentation
The LTX-2 API documentation can be found at docs.ltx.video and covers everything from authentication to advanced prompting techniques. Whether you're making your first API request or troubleshooting errors, the docs provide technical specifications, code examples, and best practices for integrating LTX-2 into your workflow with ease.
Where to find the API documentation
The official LTX-2 API documentation lives at docs.ltx.video.
What the API documentation covers
Authentication and API keys: Learn how to authenticate your requests using your API key, manage security best practices, and understand how keys are structured. The docs explain where to include your API key in requests and how to keep it secure.
Making your first request: Step-by-step guidance walks you through constructing and sending your first API call, including required parameters, request structure, and what to expect in the response.
Request parameters and options: Detailed breakdowns of all available parameters for video generation requests, including prompt structure, duration settings, aspect ratios, performance modes, and advanced controls like motion and camera movement.
Prompting best practices: Guidance on crafting effective prompts for the LTX-2 model, including tips for describing scenes, specifying motion and camera work, and achieving consistent results. This helps you get the most out of the model's capabilities.
Response handling: Understanding what the API returns, including video URLs, generation metadata, error messages, and status codes. The docs explain how to parse responses and handle different outcome scenarios.
Rate limits and quotas: Information about API usage limits, request throttling, and how credits are consumed. This helps you plan your integration and avoid hitting rate limits in production.
Error handling and debugging: Common error codes, what they mean, and how to resolve them. The docs include troubleshooting workflows for issues like failed generations, timeout errors, and invalid parameters.
Model specifications and capabilities: Technical details about LTX-2's capabilities, including supported resolutions (up to native 4K), frame rates (up to 50fps), synchronized audio generation, and video duration limits.
Additional resources
- API Playground: Try the API Playground in the LTX Platform to test different parameters and see results in real time before writing any code.
- Support: For questions not covered in the documentation or help with your integration, contact LTX Support.