Skip to content

MiniMax API and MCP

MiniMax provides text, speech, music and video generation through hosted model APIs. An agent can generate text, images and speech for content production. Add your MiniMax key once in Longwave settings; calls run on your vendor account.

Add to Longwave

Add MiniMax to your agent

Paste this into Claude Code or a terminal. Then run /mcp to sign in.

functions
8
lowest price
$0.28/call
access
Your key
tasks
3

Use MiniMax on Longwave

  1. Download Longwave or open app.longwave.run.
  2. Add your MiniMax API key once in Longwave settings. Calls run on your MiniMax account at MiniMax's price.
  3. Ask for the result in any thread, for example: “Generate speech from a prepared script”. The agent picks the MiniMax function and calls it.

Use MiniMax in Claude Code, Codex, Cursor or ChatGPT

Add the Longwave MCP server once. It carries 2,593 functions across 103 tools, including MiniMax, and asks you to sign in on first use.

Why call MiniMax through Longwave

  • Your MiniMax key is stored once, encrypted, and used by every harness and device you use.
  • One MCP server for 103 tools, so your agent setup does not grow a key and a server per vendor.
  • Spending limits per key and per account, checked before a paid call is made.
  • Each call is recorded with the provider, the cost and the result, and can be read again from another device.

MiniMax functions

MiniMax 5

Function Price
Generate a response with MiniMax Accepts a model name, conversation messages and an output token limit and returns a text response to the supplied conversation. minimax.chat.complete
The selected model and usage determine the charge; no single per-call price applies to this function.
Get a MiniMax video task status Accepts a video task ID and returns its generation status and, when successful, the output file ID and video dimensions. minimax.video.status
See vendor pricing.
Get MiniMax file information Accepts an account group ID and a file ID and returns file information for the requested file. minimax.openapi.get.v1.files.retrieve
The selected model and usage determine the charge; no single per-call price applies to this function.
List MiniMax voices Accepts a voice type and returns available voices of the requested type. minimax.openapi.post.v1.get_voice
The selected model and usage determine the charge; no single per-call price applies to this function.
Get a MiniMax video template task status Accepts a task ID and returns video template generation status and output. minimax.openapi.get.v1.query.video_template_generation
The selected model and usage determine the charge; no single per-call price applies to this function.

Image generation 1

Function Price
Generate an image from text Accepts a text prompt and returns images generated from the supplied prompt. minimax.image.generate
$0.0035 per image image-01 model; one generated image.

Audio generation 1

Function Price
Generate speech from text Accepts text to convert to speech and a voice ID and returns speech audio generated from text with the chosen voice. minimax.speech.generate
$0.10 per 1k characters speech-2.8-hd model: $100 per million billed characters.

Video generation 1

Function Price
Generate a video with MiniMax Accepts a text prompt and returns a task ID for generating a six-second video at 768P with MiniMax Hailuo 2.3. minimax.video.submit
$0.28 per call MiniMax Hailuo 2.3: one six-second video at 768P.

Prices are MiniMax's published rates. Source: MiniMax pricing.

Use cases

Questions people ask

How do I get a MiniMax API key?

Sign in to MiniMax and create a key at platform.minimax.io/user-center/basic-information/interface-key. Add it once in Longwave settings and your agents' MiniMax calls run on your own account. MiniMax API keys

How much does MiniMax speech generation cost?

The published speech-2.8-hd rate is $100 per million billed characters, equivalent to $0.10 per 1,000. Other models have their own published rates. MiniMax documentation

Do I need a MiniMax account?

Yes. Create a key at https://platform.minimax.io/user-center/basic-information/interface-key and add it in Longwave settings. Longwave stores it encrypted and uses it only for your calls.

What does a MiniMax API call cost through Longwave?

The same as calling MiniMax directly. For example, “Generate an image from text” costs $0.0035 per image. Longwave adds no markup. MiniMax pricing

How do I use MiniMax in Claude Code?

Add the Longwave MCP server once with claude mcp add --transport http longwave https://api.longwave.run/v1/mcp/tasks, sign in, and ask for what you need. Claude finds the right MiniMax function and calls it.

Use MiniMax in Longwave

Ask any Longwave thread for the result, or add Longwave to Claude Code, Codex, Cursor or ChatGPT.

Add to Longwave