minimax.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
Chat
completion
chat.completion
Create a chat completion with a MiniMax text model
Risk: read
messages full type
messages full type
tools full type
tools full type
response_format full type
response_format full type
choices full type
choices full type
usage full type
usage full type
base_resp full type
base_resp full type
createResponse
chat.createResponse
Create a model response via the Responses API
Risk: read
input full type
input full type
tools full type
tools full type
metadata full type
metadata full type
text full type
text full type
reasoning full type
reasoning full type
output full type
output full type
usage full type
usage full type
error full type
error full type
incomplete_details full type
incomplete_details full type
estimateInputTokens
chat.estimateInputTokens
Estimate the input token count of a request
Risk: read
input full type
input full type
tools full type
tools full type
text full type
text full type
reasoning full type
reasoning full type
Files
delete
files.delete
Delete an uploaded file permanently [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
base_resp full type
base_resp full type
list
files.list
List uploaded files for a purpose
Risk: read
files full type
files full type
base_resp full type
base_resp full type
retrieve
files.retrieve
Retrieve the metadata of an uploaded file
Risk: read
file full type
file full type
base_resp full type
base_resp full type
Image
generate
image.generate
Generate images from a prompt, optionally with a subject reference
Risk: write
subject_reference full type
subject_reference full type
data full type
data full type
metadata full type
metadata full type
base_resp full type
base_resp full type
Models
list
models.list
List available models (OpenAI-compatible)
Risk: read
data full type
data full type
listAnthropic
models.listAnthropic
List available models (Anthropic-compatible)
Risk: read
data full type
data full type
retrieve
models.retrieve
Retrieve a model (OpenAI-compatible)
Risk: read
retrieveAnthropic
models.retrieveAnthropic
Retrieve a model (Anthropic-compatible)
Risk: read
Music
coverPreprocess
music.coverPreprocess
Preprocess reference audio for two-step music cover generation
Risk: write
base_resp full type
base_resp full type
generate
music.generate
Generate a song from a prompt and lyrics
Risk: write
audio_setting full type
audio_setting full type
data full type
data full type
base_resp full type
base_resp full type
generateLyrics
music.generateLyrics
Generate or edit song lyrics
Risk: write
base_resp full type
base_resp full type
Speech
createAsyncTask
speech.createAsyncTask
Create an asynchronous long-text speech synthesis task
Risk: write
voice_setting full type
voice_setting full type
audio_setting full type
audio_setting full type
pronunciation_dict full type
pronunciation_dict full type
voice_modify full type
voice_modify full type
base_resp full type
base_resp full type
queryAsyncTask
speech.queryAsyncTask
Query the status of an asynchronous speech synthesis task
Risk: read
base_resp full type
base_resp full type
t2a
speech.t2a
Synthesize speech from text (synchronous T2A)
Risk: write
voice_setting full type
voice_setting full type
audio_setting full type
audio_setting full type
pronunciation_dict full type
pronunciation_dict full type
timbre_weights full type
timbre_weights full type
voice_modify full type
voice_modify full type
data full type
data full type
extra_info full type
extra_info full type
base_resp full type
base_resp full type
Video
cancelOrDeleteV2
video.cancelOrDeleteV2
Cancel a queued task or delete a finished task record permanently [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
contextIr
video.contextIr
Create an H3-Context-IR task that enriches a video prompt
Risk: write
content full type
content full type
generate
video.generate
Create a Hailuo video generation task (text, image, first/last frame or subject reference)
Risk: write
subject_reference full type
subject_reference full type
base_resp full type
base_resp full type
generateV2
video.generateV2
Create an H3 multimodal video generation task
Risk: write
content full type
content full type
extra full type
extra full type
listV2
video.listV2
List H3 video tasks from the last 7 days
Risk: read
items full type
items full type
query
video.query
Query a Hailuo video generation task
Risk: read
base_resp full type
base_resp full type
queryV2
video.queryV2
Query an H3 video task by id
Risk: read
task full type
task full type
regenerate
video.regenerate
Create a 2K video regeneration task
Risk: write
content full type
content full type
templateGenerate
video.templateGenerate
Create a Video Agent task from a template
Risk: write
text_inputs full type
text_inputs full type
media_inputs full type
media_inputs full type
base_resp full type
base_resp full type
templateQuery
video.templateQuery
Query a Video Agent template generation task
Risk: read
base_resp full type
base_resp full type
Voice
clone
voice.clone
Clone a voice from uploaded audio
Risk: write
clone_prompt full type
clone_prompt full type
input_sensitive full type
input_sensitive full type
extra_info full type
extra_info full type
base_resp full type
base_resp full type
delete
voice.delete
Delete a generated voice permanently [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
base_resp full type
base_resp full type
design
voice.design
Design a custom voice from a description
Risk: write
base_resp full type
base_resp full type
list
voice.list
List system, cloned and generated voices
Risk: read
system_voice full type
system_voice full type
voice_cloning full type
voice_cloning full type
voice_generation full type
voice_generation full type
base_resp full type
base_resp full type