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.1

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.1
File Size Uploaded
minimax_h3-1.0.1.tar.gz 4.6 kB Details

Built distribution (wheel)

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

Total release size: 9.8 kB

Release files / minimax_h3-1.0.1.tar.gz

Download URL minimax_h3-1.0.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c96c28a596bef31c6a72ef16ea641a9c00748c3c11ef549fd28200d741b2e696
BLAKE2b-256 checksum
How to use checksums
baa963c9fe0eecc2f65c3dd72cddbf49cddacd8d0608f37eaafb497f116e6e94
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.1-py3-none-any.whl

Download URL minimax_h3-1.0.1-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1d7bdfb65378f1ac11497787cc3dc8f22739f10ac966132ddd6c5cd04e11e42
BLAKE2b-256 checksum
How to use checksums
3af9d175fecb3b9ca3bc14299b8f6a4273462c85268f6c2175571912dce1ca28
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

This release

1.0.1 This release

2 release files

1.0.0

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