MiniMax H3 · 512pBest value
$0.03 /second
- 5s $0.15 · 10s $0.30 · 15s $0.45
- Text-to-video and image-to-video included
- Native stereo audio included
Billed per generated second. Compare the per-second rate and common 5s, 10s, and 15s totals.
$0.03 /second
$0.05 /second
Text-to-video, image-to-video, native audio, and an asynchronous production API.
Create a complete video from a text prompt with the MiniMax H3 API.
Upload a first-frame image and add a prompt to guide the generated motion and scene.
Completed MP4 outputs include a generated stereo audio track synchronized with the video.
Choose 512p for lower-cost generation or 768p for higher-resolution output.
Set the requested duration from 5 to 15 seconds for supported text-to-video and image-to-video tasks.
Create a task, poll the returned task ID, and read the completed video URL from the output.
Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.
Add credits on the billing page when you are ready to scale beyond the free tier.
POST your first task following the API docs, then poll the task until the result is ready.
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/minimax-h3",
"task_type": "txt2video",
"input": {
"prompt": "A golden retriever puppy running across a sunny grass lawn toward the camera, cinematic",
"resolution": "512p",
"duration": 5,
"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": "https://img.theapi.app/ephemeral/…"
}
}
}$ npm install -g piapi-cli $ piapi run minimax-h3 \ prompt="A golden retriever puppy running across a sunny grass lawn toward the camera, cinematic" \ resolution=512p \ duration=5 \ aspect_ratio=16:9 ✓ Task completed! https://img.theapi.app/ephemeral/…
MiniMax H3 API creates MP4 videos with native stereo audio from text prompts or a first-frame image.
Yes. Choose image-to-video mode, upload a public JPG or PNG first-frame image, and provide a prompt.
The PiAPI MiniMax H3 integration supports 512p and 768p output with requested durations from 5 to 15 seconds.
Create a txt2video or img2video task, poll its task ID until completion, and read the generated video URL from the response output.
More questions? See the API docs.
MiniMax H3 API