Skip to main content
Every minimax.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Chat

completion

chat.completion Create a chat completion with a MiniMax text model Risk: read
Input
Output

createResponse

chat.createResponse Create a model response via the Responses API Risk: read
Input
Output

estimateInputTokens

chat.estimateInputTokens Estimate the input token count of a request Risk: read
Input
Output

Files

delete

files.delete Delete an uploaded file permanently [DESTRUCTIVE · IRREVERSIBLE] Risk: destructive · Irreversible
Input Output

list

files.list List uploaded files for a purpose Risk: read
Input Output

retrieve

files.retrieve Retrieve the metadata of an uploaded file Risk: read
Input Output

Image

generate

image.generate Generate images from a prompt, optionally with a subject reference Risk: write
Input
Output

Models

list

models.list List available models (OpenAI-compatible) Risk: read
Input: empty object Output

listAnthropic

models.listAnthropic List available models (Anthropic-compatible) Risk: read
Input Output

retrieve

models.retrieve Retrieve a model (OpenAI-compatible) Risk: read
Input Output

retrieveAnthropic

models.retrieveAnthropic Retrieve a model (Anthropic-compatible) Risk: read
Input Output

Music

coverPreprocess

music.coverPreprocess Preprocess reference audio for two-step music cover generation Risk: write
Input Output

generate

music.generate Generate a song from a prompt and lyrics Risk: write
Input
Output

generateLyrics

music.generateLyrics Generate or edit song lyrics Risk: write
Input Output

Speech

createAsyncTask

speech.createAsyncTask Create an asynchronous long-text speech synthesis task Risk: write
Input
Output

queryAsyncTask

speech.queryAsyncTask Query the status of an asynchronous speech synthesis task Risk: read
Input Output

t2a

speech.t2a Synthesize speech from text (synchronous T2A) Risk: write
Input
Output

Video

cancelOrDeleteV2

video.cancelOrDeleteV2 Cancel a queued task or delete a finished task record permanently [DESTRUCTIVE · IRREVERSIBLE] Risk: destructive · Irreversible
Input Output

contextIr

video.contextIr Create an H3-Context-IR task that enriches a video prompt Risk: write
Input
Output

generate

video.generate Create a Hailuo video generation task (text, image, first/last frame or subject reference) Risk: write
Input
Output

generateV2

video.generateV2 Create an H3 multimodal video generation task Risk: write
Input
Output

listV2

video.listV2 List H3 video tasks from the last 7 days Risk: read
Input Output

query

video.query Query a Hailuo video generation task Risk: read
Input Output

queryV2

video.queryV2 Query an H3 video task by id Risk: read
Input Output

regenerate

video.regenerate Create a 2K video regeneration task Risk: write
Input
Output

templateGenerate

video.templateGenerate Create a Video Agent task from a template Risk: write
Input
Output

templateQuery

video.templateQuery Query a Video Agent template generation task Risk: read
Input Output

Voice

clone

voice.clone Clone a voice from uploaded audio Risk: write
Input
Output

delete

voice.delete Delete a generated voice permanently [DESTRUCTIVE · IRREVERSIBLE] Risk: destructive · Irreversible
Input Output

design

voice.design Design a custom voice from a description Risk: write
Input Output

list

voice.list List system, cloned and generated voices Risk: read
Input Output