Skip to main content
MiniMax logo
  • Category: artificial intelligence
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 35
  • Triggers: 0
  • Slug: MINIMAX
  • Version: 20261101_00
  • Instant: Supported on the latest version. Support varies by tool.

Tools

Slug: MINIMAX_CLONE_VOICECreate a reusable MiniMax cloned voice from an uploaded voice sample, optionally generating paid preview audio.

Input Parameters

string
Optional paid preview text. When supplied, model is also required.
string ("speech-2.8-hd" | "speech-2.8-turbo" | "speech-2.6-hd" | "speech-2.6-turbo" | "speech-02-hd" | "speech-02-turbo" | "speech-01-hd" | "speech-01-turbo")
Speech model for preview audio. Required with text.
string
required
Uploaded voice_clone audio file ID. Audio must be MP3, M4A, or WAV, 10 seconds to 5 minutes, and no larger than 20 MB.
number
ASR similarity threshold from 0 to 1; zero or omission uses provider default 0.7.
string
required
Unique custom voice ID, 8-256 characters, starting with a letter and not ending with ’-’ or ’_’.
object
Optional short prompt sample and exact transcript to improve clone similarity.
boolean
Whether to append an AIGC watermark tone to preview audio.
string ("Chinese" | "Chinese,Yue" | "English" | "Arabic" | "Russian" | "Spanish" | "French" | "Portuguese" | "German" | "Turkish" | "Dutch" | "Ukrainian" | "Vietnamese" | "Indonesian" | "Japanese" | "Italian" | "Korean" | "Thai" | "Polish" | "Romanian" | "Greek" | "Czech" | "Finnish" | "Hindi" | "Bulgarian" | "Danish" | "Hebrew" | "Malay" | "Persian" | "Slovak" | "Swedish" | "Croatian" | "Filipino" | "Hungarian" | "Norwegian" | "Slovenian" | "Catalan" | "Nynorsk" | "Tamil" | "Afrikaans" | "auto")
Documented language or dialect boost, or auto.
string
Expected transcript used for optional ASR similarity validation.
boolean
Whether to apply noise reduction to the cloning sample.
boolean
Whether to normalize cloning-sample volume.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_COUNT_MESSAGE_TOKENSCount input tokens for an Anthropic-compatible message payload without generating content.

Input Parameters

string
required
Text model ID whose tokenizer and request overhead to use. Call MINIMAX_LIST_TEXT_MODELS to discover currently available IDs.
array
Anthropic-compatible tool definitions whose prompt overhead is counted.
string
System prompt text or system content blocks included in the count.
array
required
Messages in Anthropic format, including text or content blocks to count.
object
Thinking configuration included in the token estimate.
object
Tool-selection configuration included in the token estimate.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_CREATE_ASYNC_SPEECHStart a long-form asynchronous MiniMax speech synthesis task from inline text or one uploaded text file.

Input Parameters

string
Inline text to synthesize, up to 50,000 characters. Supply exactly one of text or text_file_id.
string ("speech-2.8-hd" | "speech-2.8-turbo" | "speech-2.6-hd" | "speech-2.6-turbo" | "speech-02-hd" | "speech-02-turbo" | "speech-01-hd" | "speech-01-turbo")
required
Speech synthesis model.
string
Uploaded txt or zip file ID containing up to 1,000,000 characters. Supply exactly one of text_file_id or text.
object
Optional voice effects; supported only for mp3, wav, and flac output.
object
Generated audio encoding settings.
object
required
Voice and delivery settings.
string ("Chinese" | "Chinese,Yue" | "English" | "Arabic" | "Russian" | "Spanish" | "French" | "Portuguese" | "German" | "Turkish" | "Dutch" | "Ukrainian" | "Vietnamese" | "Indonesian" | "Japanese" | "Italian" | "Korean" | "Thai" | "Polish" | "Romanian" | "Greek" | "Czech" | "Finnish" | "Hindi" | "Bulgarian" | "Danish" | "Hebrew" | "Malay" | "Persian" | "Slovak" | "Swedish" | "Croatian" | "Filipino" | "Hungarian" | "Norwegian" | "Slovenian" | "Catalan" | "Nynorsk" | "Tamil" | "Afrikaans" | "auto")
Documented language or dialect boost value, or auto for detection.
object
Custom pronunciation rules.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_CREATE_LEGACY_VIDEOStart a MiniMax v1 Hailuo text, image, first-and-last-frame, or subject-reference video task with mode-specific validation.

Input Parameters

string ("text_to_video" | "image_to_video" | "first_last_frame" | "subject_reference")
required
Generation mode. It selects the required input and valid model family and is not sent to MiniMax.
string ("MiniMax-Hailuo-2.3" | "MiniMax-Hailuo-2.3-Fast" | "MiniMax-Hailuo-02" | "T2V-01-Director" | "T2V-01" | "I2V-01-Director" | "I2V-01-live" | "I2V-01" | "S2V-01")
required
Legacy video model supported by the selected mode.
string
Video prompt. Required for text_to_video and optional for the other modes.
integer ("6" | "10")
Video duration in seconds; supported combinations use 6 or 10.
string ("512P" | "720P" | "768P" | "1080P")
Video resolution supported by the selected model, mode, and duration.
string
HTTPS callback URL for task updates and challenge verification.
string
Public URL or base64 image data URI for the last frame. Used only by first_last_frame.
boolean
Whether MiniMax may optimize the prompt.
boolean
Whether to reduce prompt optimization time; supported only by Hailuo 2.x models.
string
Public URL or base64 image data URI for the first frame. Required by image modes.
array
Character reference used only by subject_reference mode.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_CREATE_RESPONSECall MiniMax through its OpenAI Responses compatibility contract and return one non-streaming response object.

Input Parameters

object
Text output configuration.
string
required
Text input or full Responses-compatible conversation history.
string
required
Model ID for the Responses-compatible request.
array
Available function tools.
number
Nucleus sampling probability.
boolean
Streaming is disabled because this action returns one JSON response.
object
String-valued request metadata.
object
Reasoning configuration.
number
Sampling temperature in the interval (0, 1].
string ("none" | "auto")
Tool selection strategy.
string
System instructions.
string ("standard" | "priority")
Request admission tier.
string
Prompt cache routing identifier.
integer
Maximum output tokens, including reasoning tokens.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_CREATE_TEMPLATE_VIDEOStart a MiniMax Video Agent task using an official template and its ordered text and media inputs.

Input Parameters

string
required
Official MiniMax Video Agent template ID.
array
Text slot values in the order required by the template.
string
HTTPS callback URL for task updates and challenge verification.
array
Media slot values in the order required by the template.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_CREATE_VIDEOStart a MiniMax H3 video v2 generation task from text, optionally using first/last-frame images or reference media. Returns an asynchronous task ID for MINIMAX_GET_VIDEO_TASK.

Input Parameters

object
Advanced MiniMax-H3-Max generation options, currently prompt expansion only.
string ("MiniMax-H3" | "MiniMax-H3-Max")
required
H3-family video model ID. MiniMax-H3 supports 768P and 2K; MiniMax-H3-Max supports 480P and 768P.
string ("adaptive" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16")
Output aspect ratio. Text-only generation requires a concrete ratio; image-to-video uses adaptive; reference generation defaults to adaptive.
array
required
Ordered multimodal content blocks. Include a non-empty text prompt and optionally first/last-frame images or reference image, video, and audio media. Frame and reference modes cannot be mixed.
integer
required
Output duration in seconds. MiniMax-H3 supports 4-15; MiniMax-H3-Max supports 5-15.
string ("480P" | "768P" | "2K")
required
Output resolution. Use 768P or 2K with MiniMax-H3, and 480P or 768P with MiniMax-H3-Max.
string
HTTPS callback URL for task updates. It must answer MiniMax’s challenge verification within three seconds.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_CREATE_VIDEO_PROMPTStart a MiniMax H3 Context-IR task that converts multimodal context into an enhanced video prompt.

Input Parameters

string
required
Context interpretation model; currently MiniMax-H3.
string ("adaptive" | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16")
Intended aspect ratio. Text-only input requires a concrete ratio.
array
required
Prompt plus optional frame or reference media used to produce an enhanced prompt.
integer
required
Intended video duration in seconds, from 4 through 15.
string
HTTPS callback URL for task updates and challenge verification.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_DELETE_FILEPermanently delete one MiniMax file by its exact ID and storage-purpose category. This operation cannot be undone.

Input Parameters

string
required
Exact MiniMax file ID to permanently delete. Numeric IDs are accepted and preserved as strings at the tool boundary.
string ("voice_clone" | "prompt_audio" | "t2a_async" | "t2a_async_input" | "video_generation")
required
Purpose category under which MiniMax stores the file.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_DELETE_VIDEO_TASKCancel a queued MiniMax video v2 task, or permanently delete a completed or failed task record. The operation performed depends on the task’s current state.

Input Parameters

string
required
Video v2 task ID to cancel if the task is queued, or permanently delete if the task has completed or failed.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_DELETE_VOICEPermanently delete an eligible MiniMax cloned or designed voice.

Input Parameters

string
required
ID of the cloned or generated voice to permanently delete.
string ("voice_cloning" | "voice_generation")
required
Deletable voice category: cloned or generated voice.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_DESIGN_VOICEDesign a reusable MiniMax voice from a description and return its paid preview as a downloadable audio file.

Input Parameters

string
required
Natural-language description of the voice to design.
string
Optional custom voice ID; MiniMax generates one when omitted.
string
required
Text spoken in the paid preview audio, up to 500 characters.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_DOWNLOAD_FILEDownload the binary contents of one generated MiniMax file and return a managed file reference. Response headers determine the original name and MIME type when available; downloads larger than 100 MB are rejected.

Input Parameters

string
required
Exact ID of the generated MiniMax file to download. Numeric IDs are accepted and preserved as strings.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_ESTIMATE_RESPONSE_INPUT_TOKENSEstimate input tokens using MiniMax’s OpenAI Responses compatibility contract without generating model output.

Input Parameters

object
Text output configuration included in the estimate.
string
required
Text input or full Responses-compatible conversation history.
string
required
Model ID whose Responses-compatible token accounting to use.
array
Function tools included in the estimate.
object
Reasoning configuration included in the estimate.
string ("none" | "auto")
Tool selection strategy.
string
System instructions included in the estimate.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_GENERATE_ANTHROPIC_MESSAGECall MiniMax through its Anthropic Messages compatibility contract and return one non-streaming message response.

Input Parameters

string ("MiniMax-M3.1-Flash-Preview" | "MiniMax-M3" | "MiniMax-M2.7" | "MiniMax-M2.7-highspeed" | "MiniMax-M2.5" | "MiniMax-M2.5-highspeed" | "MiniMax-M2.1" | "MiniMax-M2.1-highspeed" | "MiniMax-M2")
required
Model ID for the Anthropic-compatible request.
array
Available Anthropic-format tools.
number
Nucleus sampling probability.
boolean
Streaming is disabled because this action returns one JSON response.
string
System prompt.
array
required
Conversation messages in Anthropic format.
object
Request metadata.
object
Thinking configuration.
integer
Maximum generated tokens.
number
Sampling temperature from 0 to 2.
object
Tool selection configuration.
string ("standard" | "priority")
Request admission tier.
object
Output and thinking-depth settings.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_GENERATE_IMAGEGenerate one or more images from a text prompt, optionally guided by a subject reference.Instant: Supported on the latest version.Instant pricing: $0.350 per 100 successfully generated image-01 images.

Input Parameters

integer
Random seed. Reusing a seed with the same parameters helps reproduce an image.
string ("image-01" | "image-01-live")
required
Image generation model ID.
integer
Output width in pixels (512-2,048, divisible by 8). Must be supplied with height.
integer
Output height in pixels (512-2,048, divisible by 8). Must be supplied with width.
string
required
Detailed description of the image to generate (1-1,500 characters).
integer
Number of images to generate (1-9).
string ("1:1" | "16:9" | "4:3" | "3:2" | "2:3" | "3:4" | "9:16" | "21:9")
Preset output aspect ratio. If supplied with width and height, this preset takes priority.
string ("url" | "base64")
Return temporary image URLs or base64-encoded image data. URLs expire after 24 hours.
boolean
Whether MiniMax may automatically optimize the prompt before generation.
array
Character portrait references for image-guided generation.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_GENERATE_NATIVE_CHAT_COMPLETIONCall MiniMax’s native chatcompletion_v2 contract and return one non-streaming completion, including native sensitivity metadata.

Input Parameters

string ("MiniMax-M3.1-Flash-Preview" | "MiniMax-M3" | "MiniMax-M2.7" | "MiniMax-M2.7-highspeed" | "MiniMax-M2.5" | "MiniMax-M2.5-highspeed" | "MiniMax-M2.1" | "MiniMax-M2")
required
Model ID accepted by the native chatcompletion_v2 contract.
array
Available function tools.
number
Nucleus sampling probability in the interval (0, 1].
boolean
Streaming is disabled because this action returns one JSON response.
array
required
Conversation messages in MiniMax’s native chat format.
integer
Deprecated maximum generated tokens.
number
Sampling temperature in the interval (0, 1].
string ("none" | "auto")
Tool selection strategy.
object
Streaming options retained for contract compatibility; stream is forced off.
object
Structured output format for supported models.
boolean
Whether to mask sensitive information in output.
integer
Maximum generated tokens.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_GENERATE_TEXTGenerate one non-streaming OpenAI-compatible chat completion, including optional reasoning and tool calls.

Input Parameters

string
required
Text model ID; use MINIMAX_LIST_TEXT_MODELS to discover currently available IDs.
array
Function tools the model may call, using OpenAI-compatible tool definitions.
number
Nucleus-sampling probability mass from 0 through 1.
array
required
Conversation messages in OpenAI chat format, each with a role and text or multimodal content.
object
Thinking configuration for models that support selecting a mode.
number
Sampling temperature from 0 through 2; higher values increase randomness.
string ("low" | "medium" | "high" | "xhigh" | "max")
Reasoning effort for supported models: low, medium, high, xhigh, or max.
integer
Maximum completion tokens; allow enough room for reasoning because a small value can end before visible output.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_GET_ACCOUNT_BALANCEGet the connected global pay-as-you-go MiniMax account’s available, cash, voucher, credit, owed, and balance-alert amounts.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_GET_ANTHROPIC_MODELRetrieve one MiniMax text model through the Anthropic Models compatibility contract.

Input Parameters

string
required
Anthropic-compatible model identifier.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_GET_ASYNC_SPEECH_TASKGet the status and generated file reference for a MiniMax asynchronous speech synthesis task.

Input Parameters

string
required
Async speech task ID returned by CREATE_ASYNC_SPEECH, as a decimal string.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_GET_FILERetrieve metadata for one MiniMax file by its exact ID, including a temporary download URL when MiniMax provides one for a generated output.

Input Parameters

string
required
Exact MiniMax file ID returned by upload, video generation, or async speech synthesis. Numeric IDs are accepted and preserved as strings.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_GET_LEGACY_VIDEO_TASKGet the status and output file metadata of a MiniMax v1 legacy video task.

Input Parameters

string
required
Legacy task ID returned by MINIMAX_CREATE_LEGACY_VIDEO.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_GET_TEMPLATE_VIDEO_TASKGet the status and temporary result URL of a MiniMax Video Agent template task.

Input Parameters

string
required
Template task ID returned by MINIMAX_CREATE_TEMPLATE_VIDEO.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_GET_TEXT_MODELRetrieve one MiniMax text model through the OpenAI Models compatibility contract.

Input Parameters

string
required
OpenAI-compatible model identifier.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_GET_VIDEO_TASKGet the current state and output of one MiniMax video v2 task created within the last seven days. Failed tasks are returned as task records with error details.

Input Parameters

string
required
Video v2 task ID returned by MINIMAX_CREATE_VIDEO or MINIMAX_LIST_VIDEO_TASKS.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_LIST_ANTHROPIC_MODELSList one page of MiniMax text models through the Anthropic Models compatibility contract, using its after_id or before_id cursors.

Input Parameters

integer
Number of models to return on this page.
string
Return models after this model ID.
string
Return models before this model ID.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_LIST_FILESList MiniMax files for one upload-purpose category. MiniMax documents no pagination for this endpoint.

Input Parameters

string ("voice_clone" | "prompt_audio" | "t2a_async_input" | "video_generation_input")
required
Purpose category whose uploaded files should be returned.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_LIST_TEXT_MODELSList text model IDs currently available to the connected MiniMax API key.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_LIST_VIDEO_TASKSList one page of MiniMax video v2 tasks from the last seven days, optionally filtered by status, task ID, model, or task type.

Input Parameters

string
Return only tasks created with this model ID.
string
Opaque continuation cursor returned by the previous call. Omit for the first page and pass it back unchanged.
string ("queued" | "running" | "succeeded" | "failed" | "cancelled")
Return only tasks in this status.
array
Return only tasks with these task IDs.
integer
Maximum tasks to return in this page.
string ("generation" | "h3_context_ir" | "regeneration")
Return only tasks of this type.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_LIST_VOICESList system, cloned, generated, or all voices that can be used for speech synthesis.

Input Parameters

string ("system" | "voice_cloning" | "voice_generation" | "all")
required
Voice category to return: system for built-in voices, voice_cloning for cloned voices, voice_generation for designed voices, or all to return every category in one list.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_REGENERATE_VIDEORegenerate an eligible MiniMax-H3 768P source video as a 2K video, using either its task ID or the exact original inputs and source video.

Input Parameters

string
required
Regeneration model; currently MiniMax-H3.
array
Final source prompt and original generation inputs, plus exactly one video_url item whose role is base_video. Mutually exclusive with source_task_id.
string
required
Target regeneration resolution; currently 2K.
string
HTTPS callback URL for task updates and challenge verification.
boolean
Whether to add an AIGC label watermark.
string
Succeeded, owned v2 generation task ID from the last seven days. Mutually exclusive with content.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_SYNTHESIZE_SPEECHSynchronously synthesize up to 9,999 characters of text and return the decoded audio as a downloadable file.Instant: Supported on the latest version.Instant pricing: $0.006 per 100 billable characters (speech-2.8-turbo); $0.010 for speech-2.8-hd.

Input Parameters

string
required
Text to synthesize (1-9,999 characters).
string ("speech-2.8-hd" | "speech-2.8-turbo" | "speech-2.6-hd" | "speech-2.6-turbo" | "speech-02-hd" | "speech-02-turbo" | "speech-01-hd" | "speech-01-turbo")
required
Speech synthesis model to use.
object
Optional voice effects supported for non-streaming mp3, wav, and flac output.
object
Generated audio encoding settings.
object
required
Voice identity and delivery settings.
string ("Chinese" | "Chinese,Yue" | "English" | "Arabic" | "Russian" | "Spanish" | "French" | "Portuguese" | "German" | "Turkish" | "Dutch" | "Ukrainian" | "Vietnamese" | "Indonesian" | "Japanese" | "Italian" | "Korean" | "Thai" | "Polish" | "Romanian" | "Greek" | "Czech" | "Finnish" | "Hindi" | "Bulgarian" | "Danish" | "Hebrew" | "Malay" | "Persian" | "Slovak" | "Swedish" | "Croatian" | "Filipino" | "Hungarian" | "Norwegian" | "Slovenian" | "Catalan" | "Nynorsk" | "Tamil" | "Afrikaans" | "auto")
Documented language or dialect boost value, or auto for detection; when omitted, MiniMax applies no language boost.
object
Custom pronunciation rules applied simultaneously during synthesis.
string ("basic" | "quality")
Text normalization mode. Quality mode adds latency and is supported only by selected models.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_TRANSCRIBE_AUDIOTranscribe an uploaded audio file with optional language hints, timestamps, speaker diarization, subtitle output, or assembled streaming output.

Input Parameters

object
required
Audio file to transcribe. Supported containers are WAV, AIFF, FLAC, ALAC/M4A, MP3, AAC, Opus, and OGG; maximum duration is 500 seconds and maximum size is 50 MB.
string
MiniMax speech recognition model.
boolean
Stream incremental transcription events. Streaming supports only response_format=json; the action assembles the deltas into final text.
string ("" | "zh" | "yue" | "en" | "ja" | "ko" | "th" | "vi" | "id" | "ms" | "fil" | "ar" | "tr" | "fr" | "de" | "es" | "it" | "pt" | "pl" | "ru" | "uk")
Optional BCP-47 primary-language hint, such as en, zh, yue, ja, or es. Omit it for mixed-language recognition.
string ("json" | "verbose_json" | "srt" | "vtt")
Result format. json returns text and duration; verbose_json also returns speaker/timestamp segments; srt and vtt return a downloadable subtitle file.
string ("" | "sentence" | "word")
Timestamp granularity for verbose_json, srt, or vtt. Empty or sentence uses sentence/segment timestamps; word uses character-level timestamps for Chinese and word-level timestamps for English. Ignored for json.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MINIMAX_UPLOAD_FILEUpload one file to MiniMax as multipart/form-data for voice cloning, async speech, video understanding, or video generation.

Input Parameters

object
required
File to upload. Its original name and MIME type are preserved in the multipart file part; MiniMax validates purpose-specific format and size limits.
string ("voice_clone" | "prompt_audio" | "t2a_async_input" | "video_understanding" | "video_generation_input")
required
MiniMax ingestion purpose. voice_clone and prompt_audio accept MP3, M4A, or WAV; t2a_async_input accepts TXT or ZIP long-text input; video_understanding accepts MP4, AVI, MOV, or MKV; video_generation_input accepts JPG/JPEG, PNG, WEBP, HEIC, or HEIF images up to 30 MB, MP4 or MOV video up to 50 MB, or WAV or MP3 audio up to 15 MB.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not