Documentation Index
Fetch the complete documentation index at: https://apixo.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/v1/generateTask/ltx-2-19b | Create generation task |
| GET | /api/v1/statusTask/ltx-2-19b | Query task status |
Authentication
All requests require an API Key in the header:Request Body
Parameters
async (polling) or callback (webhook)
Callback URL, required when request_type=callback (conditional)
Routing strategy: auto, value, or official
Model input parameters
text-to-video— Generate video from textimage-to-video— Generate video from imagetext-to-video-LoRA— Text-to-video with LoRAimage-to-video-LoRA— Image-to-video with LoRA
Example
Text-to-VideoResponse
POST /api/v1/generateTask/ltx-2-19b
ReturnstaskId on success for subsequent status queries.
Success:
GET /api/v1/statusTask/ltx-2-19b
Query task execution status and results viataskId.
Status Response Fields
Unique task identifier.
Current task state:
pending, processing, success, or failed.JSON string containing
resultUrls array. Only present on success. Parse with JSON.parse().Error code. Only present when
state is failed. See Error Codes.Human-readable error message. Only present when
state is failed.Task creation timestamp (Unix milliseconds).
Task completion timestamp (Unix milliseconds).
Processing duration in milliseconds.
Error Codes
| Code | Description |
|---|---|
| 400 | Invalid parameters or request error |
| 401 | Invalid or missing API Key |
| 429 | Rate limit exceeded |
| Fail Code | Description |
|---|---|
CONTENT_VIOLATION | Content violates safety guidelines |
INVALID_IMAGE_URL | Cannot access provided image URL |
INVALID_LORA_URL | Cannot download LoRA model |
Rate Limits
| Limit | Value |
|---|---|
| Requests | 10000 / minute |
| Concurrent tasks | 1000 |
429 error. Wait and retry.
Tips
- Generation time:
- 480p: ~40-60 seconds
- 720p: ~60-90 seconds
- 1080p: ~90-120 seconds
- LoRA mode adds 10-20 seconds for loading
- Submit task, wait 60 seconds, then poll every 5 seconds
- Callback mode: Video generation takes time, strongly recommend using
callbackmode. - Video expiration: Result URLs are valid for 15 days. Download promptly.
- Content moderation: Prompts must comply with content safety guidelines.
- LoRA fine-tuning:
- Load custom LoRA models for specific styles or characters
- LoRA URL must be publicly downloadable (HuggingFace, Civitai, etc.)
- URL should include
?download=trueor similar download parameters - Max 3 LoRA models simultaneously
scaleparameter controls LoRA influence, recommended: 0.5-2.0
- Resolution selection:
480p: Fast generation, for previews720p: Balanced quality and speed1080p: Highest quality, for final output
- Duration: Supports flexible 5-20 second duration, billed per second.
- Seed reproduction: Same
seed+prompt+ parameters reproduces identical results. - Image formats:
image_urlssupports JPG, PNG, WebP, max 10MB per image. - LoRA compatibility: Use video-trained LoRAs; image LoRAs may not work well.