MiniMax CLI icon

MiniMax CLI

MiniMax CLI is an open-source command-line interface for the MiniMax AI Platform. It lets terminal users and AI agents generate text, images, video, speech, music, and vision outputs, plus search and quota information.

MiniMax CLI

Overview

MiniMax CLI is the official command-line interface for the MiniMax AI Platform. It is designed for AI agents and terminal users who want to generate text, images, video, speech, and music from a single tool.

The repository combines the CLI with documentation for the underlying SDK and error handling. That makes it useful both as an interactive terminal utility and as a reference for programmatic use, including text chat, image generation, video tasks, speech synthesis, music generation, vision, search, quota checks, and configuration.

The CLI supports both Global and CN MiniMax regions, and the docs show authentication through MiniMax OAuth or API key. Installation is available through npm for terminal use, and the repository also provides a skills-based install path for supported AI agent tools.

Core capabilities

Text generation

Run multi-turn chat with streaming responses, system prompts, JSON output, and model selection from the terminal.

Image generation

Create images from prompts, including aspect ratio and batch controls, from either the CLI or SDK.

Video workflows

Generate video synchronously or asynchronously, check task status, and download completed files.

Speech generation

Synthesize speech with multiple voices, speed control, streaming playback, and file output.

Music generation

Generate music with lyrics, instrumental mode, automatic lyric generation, and cover creation from reference audio.

Search and vision

Look up information with MiniMax-powered web search and inspect images with vision prompts.

Typical use cases

  • Terminal-based text generation

    Use the CLI to draft responses, chat interactively, or stream output directly in a terminal session.

  • Prompt-to-image workflows

    Generate still images or create multiple variants for quick creative iteration, then save outputs locally.

  • Asynchronous video generation

    Submit video prompts, poll for task completion, and download finished files when the job is ready.

  • Voice and audio production

    Synthesize speech, choose voices, and stream or save audio for demos, narration, or prototyping.

  • Programmatic integration

    Call the SDK when you need scripted access to the same MiniMax capabilities in a TypeScript application.

Pros and Cons

Pros

  • Covers multiple generation modes in one CLI, including text, image, video, speech, music, vision, and search.
  • Supports both interactive OAuth login and API key authentication.
  • Works in terminal workflows and has a skills install path for AI agents.
  • Documents a matching TypeScript SDK for programmatic use.
  • Supports Global and China endpoints with separate regions.

Cons

  • The source does not publish MiniMax CLI-specific pricing or plan details.
  • Some capabilities, such as video generation, are asynchronous and require follow-up task checks before download.
  • The docs show region-specific setup and authentication choices, which adds a small amount of configuration overhead.

FAQ

What does MiniMax CLI do?

It provides a command-line interface for the MiniMax AI Platform, with commands for text chat, image generation, video generation, speech synthesis, music generation, vision, search, auth, config, quota, and update.

How do you install and authenticate it?

The README shows installation through npm and also a skills-based install for supported AI agents. It requires Node.js 18+ and a MiniMax token.

Does it support both Global and China endpoints?

Yes. The README says the CLI supports both Global (api.minimax.io) and CN (api.minimaxi.com) regions, and the SDK docs show a custom base URL can also be set.

Is the CLI free to use?

The source documents do not describe product-specific paid plans. The repository is MIT licensed, so the CLI itself is open source, while use of the MiniMax service still requires a MiniMax token.

Who is the CLI designed for?

It is built for AI agents and terminal workflows, but it is not limited to agents. The README shows direct terminal commands as well as a skill installation path for agent tools such as OpenClaw, Cursor, and Claude Code.

Quick Facts

Category
Developer Tool
Platform
GitHub repository
License
MIT
Primary interface
Command line
Auth
MiniMax OAuth or API key
Supported regions
Global and CN
MiniMax CLI - AI Tool, Features, Use Cases & Alternatives | UStack