Skip to main content

MiniMax H3 Python SDK

PyPI version License: MIT Python Versions Official Website

Official Python SDK for MiniMax H3 — creating up to 15-second 2K cinematic AI videos with native stereo audio from multimodal references.

🎬 Online Studio & Generator: Experience the web generator directly at https://miniultra.tech.


✨ Features

  • 2K Native Video Generation: High-resolution 2K video output up to 15 continuous seconds.
  • Synchronized Stereo Audio: Dual-channel sound design, ambient Foley, and dialogue generated together.
  • Multimodal Prompts: Combine text instructions with image and video references.
  • Zero Dependencies: Lightweight SDK using only Python standard libraries.
  • Type Hinting: Complete typing for seamless IDE integration.

📦 Installation

pip install minimax-h3

🚀 Quick Start

1. Generate 2K Video with Stereo Audio

from minimax_h3 import MiniMaxH3Client

client = MiniMaxH3Client()

task = client.generate_video(
    prompt="Cinematic neon-lit samurai duel in a rainy alleyway, water splashing, stereo ambient thunder, 2K resolution",
    aspect_ratio="16:9",
    resolution="2k",
    duration=15,
    enable_stereo_audio=True,
)

print(f"Task submitted! ID: {task.get('taskId')}")

2. Check Task Progress

task_status = client.get_task(task_id="YOUR_TASK_ID")
print("Status:", task_status.get("status"))
if task_status.get("videoUrl"):
    print("Download URL:", task_status.get("videoUrl"))


📄 License

MIT © MiniMax H3

Metadata

Release files for minimax-h3 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for minimax-h3 1.0.0
File Size Uploaded
minimax_h3-1.0.0.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for minimax-h3 1.0.0
File Interpreter ABI Platform
minimax_h3-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.9 kB

Release files / minimax_h3-1.0.0.tar.gz

Download URL minimax_h3-1.0.0.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2b99ee5636e003ebffd560681c8820a185f0c7f7d5830054c4c3bb547a809f9d
BLAKE2b-256 checksum
How to use checksums
1e2f1a00491f9822bb909058931d4a0ed040a08ce1ba4f97a7915ae570febd17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.3

Release files / minimax_h3-1.0.0-py3-none-any.whl

Download URL minimax_h3-1.0.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2eb2a21f572c1a324461be84973661e79b9d1e6c14c3780d42239edd4f83cc95
BLAKE2b-256 checksum
How to use checksums
4375b086d8f01a4ba79bc73d262e8814d1304050e30793d859e877292b72bd5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.3

Release history Release notifications | RSS feed

1.0.1

2 release files

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page