Tencent HunyuanVideo · Introduction
Tencent HunyuanVideo 1.5: text-to-video and image / first-last frame video (no reference mode), 5 s only for now. For image / panorama / 3D see the "Tencent Hunyuan Image · 3D" docs. Billed per tier (credits/sec) x duration. Returns a id; poll for the result.
This page has been rewritten for the unified API: create with POST /v1/videos, poll with GET /v1/videos/{id}, authenticate with Authorization: Bearer <key>, errors use the OpenAI format. See the video guide for the common parts. Video guide
How to call
- Create:
POST /v1/videos - Get:
GET /v1/videos/{id} - Download:
GET /v1/videos/{id}/content
Creating returns a video object right away (status: queued). Poll GET /v1/videos/{id} until status is completed or failed; when done, url is the result address, and you can also download it with GET /v1/videos/{id}/content.
Capability map
💰 See the pricing page for prices →
Common errors
Errors use the OpenAI format; decide by the status code and error.code.
| Status | code | When |
|---|---|---|
| 400 | invalid_request | Parameter validation failed; the model-specific validation message is in message. |
| 400 | content_policy_violation | The prompt or material was blocked by content rules. |
| 400 | model_not_found | Not a supported video model. |
| 402 | insufficient_quota | Insufficient balance. |
| 403 | model_not_allowed | The model is not in the key's allowlist. |
| 429 | task_limit_reached | The number of concurrent tasks reached the limit. |
| 404 | not_found | Unknown task id or it belongs to another account; downloading before completion returns video_not_ready. |
If a task fails after it was submitted, the get call returns status: failed with error. Keys on the old-format list receive the old MiniMax response format on the same URL; see the video guide.
Tip: after saving your API Key via Authorize, every capability page supports "Try it".