Skip to main content

MiniMax H3 API

Generate MP4 videos with native stereo audio using MiniMax H3 through PiAPI. Start from a text prompt or a first-frame image, choose 512p or 768p, and test the same API contract in the playground.

Est. $0.15

MiniMax H3 API Pricing

Billed per generated second. Compare the per-second rate and common 5s, 10s, and 15s totals.

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

MiniMax H3 · 768pHigher quality

$0.05 /second

  • 5s $0.25 · 10s $0.50 · 15s $0.75
  • Higher-resolution video output
  • Native stereo audio included

Build with MiniMax H3

Text-to-video, image-to-video, native audio, and an asynchronous production API.

Text-to-video

Create a complete video from a text prompt with the MiniMax H3 API.

Image-to-video

Upload a first-frame image and add a prompt to guide the generated motion and scene.

Native stereo audio

Completed MP4 outputs include a generated stereo audio track synchronized with the video.

512p and 768p output

Choose 512p for lower-cost generation or 768p for higher-resolution output.

5–15 second clips

Set the requested duration from 5 to 15 seconds for supported text-to-video and image-to-video tasks.

Asynchronous API workflow

Create a task, poll the returned task ID, and read the completed video URL from the output.

Use the MiniMax H3 API

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/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" }

MiniMax H3 API Frequently Asked Questions

What is MiniMax H3 API?

MiniMax H3 API creates MP4 videos with native stereo audio from text prompts or a first-frame image.

Does MiniMax H3 support image-to-video?

Yes. Choose image-to-video mode, upload a public JPG or PNG first-frame image, and provide a prompt.

Which resolutions and durations are supported?

The PiAPI MiniMax H3 integration supports 512p and 768p output with requested durations from 5 to 15 seconds.

How do I call MiniMax H3 through PiAPI?

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.

Our blog

MiniMax H3 API