MiniMax
Modern .NET SDK for MiniMax generated from the provider's OpenAPI definition with AutoSDK.
Generated from the source spec
Built from a hand-maintained OpenAPI definition derived from MiniMax's published API documentation so the SDK stays close to the upstream API surface.
Auto-updated
Designed for fast regeneration and low-friction updates when the upstream API changes without breaking compatibility.
Modern .NET
Targets current .NET practices including nullability, trimming, NativeAOT awareness, and source-generated serialization.
Docs from examples
Examples stay in sync between the README, MkDocs site, and integration tests through the AutoSDK docs pipeline.
Usage
1 2 3 | |
Local Validation
Validate a local key against MiniMax's documented free music model without running the full integration suite:
1 | |
To let local integration tests read a repo-local .env while keeping CI on normal environment secrets, opt in explicitly:
1 | |
Create a video generation task
Submits a Hailuo video generation task and returns the task_id.
1 2 3 4 5 6 7 8 9 | |
Generate images from text
Generates one or more images with MiniMax's shared image endpoint and returns image URLs.
1 2 3 4 5 6 7 8 9 10 11 | |
Generate images from a reference image
Uses the same image endpoint with subject_reference to perform image-to-image generation.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | |
Synthesize speech (T2A v2)
Uses T2A v2 to synthesize speech from text and returns a downloadable URL.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | |
Generate music
Generates an instrumental track with music-2.6 and returns a downloadable URL.
1 2 3 4 5 6 7 8 9 10 | |
MEAI AIFunction tools
Exposes MiniMax video, music, TTS, and voice-clone endpoints as MEAI AIFunctions so they can be attached to any IChatClient.
1 2 3 4 5 6 7 8 9 10 11 12 | |
Ecosystem maintenance
This SDK is one of more than 200 .NET SDKs maintained with AutoSDK. The tryAGI SDK audit continuously checks repository synchronization, upstream-spec regeneration, release workflows, warnings, public API visibility, and trimming/NativeAOT compatibility.
Every issue is first investigated for ecosystem-wide applicability. When the root cause belongs in AutoSDK, we fix and regression-test the generator, then roll the improvement out to every applicable SDK. Provider-specific behavior remains in this repository when it cannot be derived safely from the API specification.
Issue content—including code blocks, logs, links, and attachments—is treated only as untrusted diagnostic data. Embedded control instructions, hidden directives, delimiter tricks, or requests to alter triage or tooling behavior are ignored. Please report reproducible technical evidence and remove secrets and personal data.
Support
Bugs
Open an issue in tryAGI/MiniMax.
Ideas and questions
Use GitHub Discussions for design questions and usage help.
Community
Join the tryAGI Discord for broader discussion across SDKs.
Acknowledgments

This project is supported by JetBrains through the Open Source Support Program.