cli  by MiniMax-AI

CLI for multimodal AI generation and interaction

Created 1 month ago
1,601 stars

Top 25.6% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

The MiniMax AI CLI offers a unified command-line interface for the MiniMax AI Platform, empowering AI agents and users to generate diverse content including text, images, video, speech, and music directly from terminals or agent workflows. It provides a powerful, integrated toolset for creative and functional AI tasks, streamlining access to advanced generative models.

How It Works

This CLI acts as a client, translating user commands into API requests for the MiniMax Platform. It supports multi-modal generation, featuring advanced text chat capabilities (multi-turn, streaming, system prompts, JSON output), text-to-image generation with aspect ratio and batch controls, asynchronous video creation, text-to-speech with numerous voices and speed options, and text-to-music generation including lyric support and instrumental modes. It also integrates vision for image understanding and web search functionalities.

Quick Start & Requirements

  • Installation: Add as a skill for AI agents using npx skills add MiniMax-AI/cli -y -g, or install globally for terminal use with npm install -g mmx-cli.
  • Prerequisites: Requires Node.js 18+ and a MiniMax Token Plan.
  • Authentication: Log in via mmx auth login --api-key sk-xxxxx or use the OAuth browser flow.
  • Quick Start: Initiate with mmx text chat --message "What is MiniMax?" or explore other modalities like mmx image "A cat in a spacesuit".
  • Documentation: Mentions Global (api.minimax.io) and CN (api.minimaxi.com) platform features, but specific CLI documentation links are not provided.

Highlighted Details

  • Multi-Modal Generation: Seamlessly generates text, images, video, speech, and music from a single interface.
  • Advanced Text Features: Supports multi-turn chat, streaming responses, system prompts, JSON output, and model selection.
  • Music Generation: Includes capabilities for generating music with lyrics, optimizing lyrics, creating instrumental tracks, and producing cover versions from reference audio.
  • Dual Region Support: Offers flexible connectivity to both the Global and China MiniMax platforms.

Maintenance & Community

The provided README does not contain information regarding notable contributors, community channels (e.g., Discord, Slack), roadmaps, or sponsorships.

Licensing & Compatibility

  • License: MIT License.
  • Compatibility: The MIT license generally permits commercial use and integration into closed-source projects, though users should verify specific terms.

Limitations & Caveats

The README does not specify known limitations, unsupported platforms, or potential bugs. Users must acquire a MiniMax Token Plan to utilize the CLI. Authentication credentials are stored locally in ~/.mmx/config.json (API key) or ~/.mmx/credentials.json (OAuth).

Health Check
Last Commit

2 days ago

Responsiveness

Inactive

Pull Requests (30d)
75
Issues (30d)
36
Star History
1,620 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.