Hunyuan Video Generation / text and image to video with Hunyuan AI and Hunyuan Video API
Released by Tencent, Hunyuan Video is an excellent cinematic video generation model. Turn your imagination into high-quality, high-fidelity videos. Start creating with PiAPItoday!
Hunyuan Video API Pricing
Simple per-generation pricing across Hunyuan text-to-video and image-to-video models.
Hunyuan FastFast
$0.03
- Fast text-to-video generation
Hunyuan Video
$0.09
- Text-to-video and image-to-video
- Production-ready API
Features
Capabilities from the production model page.
Industry Leading Video Model
Hunyuan Video surpasses commercial models in the industry with cinematic videos like never before.
Ultra Large Parameters Model
Built on 13 billion parameters, the Hunyuan Video model is richly architected to generate videos across a wide variety of content, styles, and ideas.
Rich Semantic Expression
Our Hunyuan API excels in generating smooth videos with complete continuous actions in one go.
High Physical Accuracy
Hunyuan Video API complies with physical law, creating high physical dynamics videos that mimic the natural world.
Artistic Shots
Hunyuan API delivers seamless integration of direction-level camera work, producing smooth special effects combined with native cuts for a smoother video experience.
Concept Generalization
Hunyuan AI API supports rich combinations of ideas, including Chinese-style creation and broader Eastern culture themes.
Video Dubbing
Hunyuan Video supports video dubbing and sound generation within AI generated videos, enabling richer storytelling with synchronized audio.
Get started
Create your API key
Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.
Top up credits
Add credits on the billing page when you are ready to scale beyond the free tier.
Call the API
POST your first task following the API docs, then poll the task until the result is ready.
Iterate in the playground
Prototype prompts and settings in the the playground above before wiring them into your product.
curl -X POST 'https://api.piapi.ai/api/v1/task' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "Qubico/hunyuan",
"task_type": "txt2video",
"input": {
"prompt": "A cat walks on the grass, realistic style.",
"aspect_ratio": "16:9"
}
}'
# → { "task_id": "9d5a…", "status": "pending" }curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'
# poll until status = completed
{
"data": {
"status": "completed",
"output": {
"video_url": "https://img.theapi.app/ephemeral/…"
}
}
}$ npm install -g piapi-cli $ piapi run hunyuan \ prompt="A cat walks on the grass, realistic style." \ aspect_ratio=16:9 ✓ Task completed! https://img.theapi.app/ephemeral/…
Frequently asked questions
What is Hunyuan Video?
Hunyuan Video is a video-generation model from Tencent'sHunyuan family designed for high-quality text-to-video and image-to-video synthesis. Through PiAPI, you can integrate Hunyuan Video API into your products and workflows.
How do I access Hunyuan Video via PiAPI?
You can access Hunyuan Video by creating an account in the PiAPI workspaceand generating an API key. Then follow our Hunyuan Video API docsto create tasks and retrieve generated videos.
What generations does Hunyuan Video support?
Hunyuan Video supports both I2V and T2V generation. You can start from a purely textual prompt or supply a reference frame to guide motion, style, and layout.
How is Hunyuan Video priced on PiAPI?
Pricing is per generation and varies by model type (txt2video, fast-txt2video, image-to-video, and LoRA variants). See the Hunyuan pricing table above on this page or our main pricing pagefor the latest details.
More questions? See the API docs.
Our Blog
Check out our blog for related contents!


