minimax

Call MiniMax APIs via curl for chat, TTS, and video generation.

76|18|Updated Dec 12, 2025
One-click install
npx skills add https://github.com/vm0-ai/vm0-skills --skill minimax
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minimax
Source: https://github.com/vm0-ai/vm0-skills/tree/main/minimax
Command: npx skills add https://github.com/vm0-ai/vm0-skills --skill minimax

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides curl-based access to the MiniMax API for AI chat, text-to-speech, and video generation, reducing manual API integration effort and enabling automation at scale.

Core Features & Use Cases

  • Chat completion with Chinese-optimized MiniMax models (MiniMax-M1/M2)
  • Text-to-Speech with natural voices and emotion control
  • Text-to-Video generation from prompts, including Image-to-Video
  • Streaming and reasoning model options for real-time or stepwise tasks

Quick Start

Run a basic chat: bash -c 'curl -s "https://api.minimax.io/v1/text/chatcompletion_v2" -X POST -H "Authorization: Bearer ${MINIMAX_API_KEY}" -H "Content-Type: application/json" -d '{"model": "MiniMax-M2","messages":[{"role": "user","content": "Hello"}]}' | jq .'

Frequently Asked Questions about minimax

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate MiniMax AI chat and TTS into my application using curl?

MiniMax API integration uses curl with Bearer authentication and region-specific endpoints: api.minimax.io for China or api.minimaxi.chat for Global. Set the MINIMAX_API_KEY environment variable, then POST JSON requests to the chatcompletion_v2 or TTS endpoints with your model and message parameters.

Can I generate text-to-video content with the MiniMax API?

Yes, MiniMax supports text-to-video and image-to-video generation via its API endpoints. Submit prompts or images with curl POST requests using your API key and model selection to receive video generation results.

Does MiniMax API work with streaming for real-time chat responses?

MiniMax API supports streaming and reasoning model options for real-time chat completion tasks. Enable streaming in your curl request parameters to receive incremental responses from MiniMax-M1 or MiniMax-M2 models.

What authentication do I need to access MiniMax services via curl?

MiniMax requires Bearer token authentication in the Authorization header. Provide your MINIMAX_API_KEY as a Bearer token with each curl request, along with region-appropriate base URLs and Content-Type application/json headers.

How does MiniMax TTS differ from standard text-to-speech implementations?

MiniMax TTS delivers natural-voice synthesis with emotion control parameters, optimized for Chinese language workflows. It integrates via the same curl-based API as chat and video features, enabling unified automation across multiple AI modalities.

Are MiniMax models optimized for Chinese language processing?

Yes, MiniMax-M1 and MiniMax-M2 models are Chinese-language optimized for chat completion tasks. These models handle Chinese-specific linguistic patterns and context better than generic LLMs when accessed through the MiniMax API.