MiniMax-DotNet 1.0.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package MiniMax-DotNet --version 1.0.3
                    
NuGet\Install-Package MiniMax-DotNet -Version 1.0.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MiniMax-DotNet" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MiniMax-DotNet" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="MiniMax-DotNet" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MiniMax-DotNet --version 1.0.3
                    
#r "nuget: MiniMax-DotNet, 1.0.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MiniMax-DotNet@1.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MiniMax-DotNet&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=MiniMax-DotNet&version=1.0.3
                    
Install as a Cake Tool

MiniMax-DotNet

MiniMax AI Platform .NET SDK

Installation

dotnet add package MiniMax-DotNet

Usage

using MiniMax;

var client = new MiniMaxClient("your-api-key");

// Chat
var chatResponse = await client.ChatAsync(new ChatReq
{
    Model = ChatModel.Abab6_5SChat,
    Messages = new List<ChatMessage>
    {
        new ChatMessage { Role = "user", Content = "Hello!" }
    }
});

// Text-to-Audio
var audioResponse = await client.TextToAudioAsync(new T2aReq
{
    Model = T2AModel.Speech02Fast,
    Text = "Hello, world!"
});

// Video Generation
var videoResponse = await client.GenerateVideoAsync(new VideoGenerationReq
{
    Model = VideoModel.MiniMaxHailuo23Fast,
    Prompt = "A beautiful sunset"
});

// Image Generation
var imageResponse = await client.GenerateImageAsync(new ImageGenerationReq
{
    Model = ImageModel.Image01,
    Prompt = "A cute cat"
});

Features

  • Chat: 支持 Abab6.5S, Abab6.5G, ChatGLM4 等模型
  • T2A: Text-to-Speech 语音合成
  • T2V: Text-to-Video 文生视频
  • I2V: Image-to-Video 图生视频
  • S2V: Subject-to-Video 主体参考视频
  • FL2V: First-Last-Frame Video 首尾帧视频
  • Music: 音乐生成
  • Voice Clone: 语音克隆

API Documentation

https://platform.minimaxi.com/docs

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net8.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.0 155 5/7/2026
1.0.3 131 5/7/2026
1.0.2 115 5/7/2026