Skip to main content
Glama

minimax_generate_video_from_audio

Generate a MiniMax H3 video from audio and reference images. Use a prompt to guide scene and rhythm, with options for ratio, resolution, and duration.

Instructions

Generate a MiniMax H3 video guided by audio and reference images.

Audio-guided generation uses reference mode exclusively (reference_audio
forces the entire content into reference-to-video mode per the H3 v2 contract).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asyncNoReturn a task_id immediately for minimax_get_task polling.
modelNoMiniMax H3 model name.MiniMax-H3
ratioNoOutput aspect ratio.16:9
promptYesRequired scene and rhythm guidance.
durationNoInteger output duration from 4 to 15 seconds.
audio_urlsYesPublic audio URLs.
image_urlsYesRequired reference images.
resolutionNoOutput resolution: 768P or 2K.2K
callback_urlNoOptional public webhook URL for the final result.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed21 schema fields changedv0.1.1
    • addedInput schema / properties / async
      Added value: +{
      +  "default": true,
      +  "description": "Return a task_id immediately for minimax_get_task polling.",
      +  "title": "Async",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / audio_urls / description
      Previous value: -"One to three public reference audio URLs."New value: +"Public audio URLs."
    • removedInput schema / properties / audio_urls / maxItems
      Removed value: -3
    • removedInput schema / properties / image_urls / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "maxItems": 9,
      -    "minItems": 1,
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / image_urls / default
      Removed value: -null
    • changedInput schema / properties / image_urls / description
      Previous value: -"Optional one to nine public reference image URLs."New value: +"Required reference images."
    • addedInput schema / properties / image_urls / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / image_urls / minItems
      Added value: +1
    • addedInput schema / properties / image_urls / type
      Added value: +"array"
    • changedInput schema / properties / model / const
      Previous value: -"minimax-h3"New value: +"MiniMax-H3"
    • changedInput schema / properties / model / default
      Previous value: -"minimax-h3"New value: +"MiniMax-H3"
    • removedInput schema / properties / prompt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / prompt / default
      Removed value: -null
    • changedInput schema / properties / prompt / description
      Previous value: -"Optional scene, motion, camera, and style guidance."New value: +"Required scene and rhythm guidance."
    • addedInput schema / properties / prompt / maxLength
      Added value: +7000
    • addedInput schema / properties / prompt / minLength
      Added value: +1
    • addedInput schema / properties / prompt / type
      Added value: +"string"
    • changedInput schema / properties / ratio / description
      Previous value: -"Output aspect ratio: 16:9 or 9:16."New value: +"Output aspect ratio."
    • changedInput schema / properties / ratio / enum
      Previous value: -[
      -  "16:9",
      -  "9:16"
      -]New value: +[
      +  "adaptive",
      +  "21:9",
      +  "16:9",
      +  "4:3",
      +  "1:1",
      +  "3:4",
      +  "9:16"
      +]
    • addedInput schema / properties / resolution
      Added value: +{
      +  "default": "2K",
      +  "description": "Output resolution: 768P or 2K.",
      +  "enum": [
      +    "768P",
      +    "2K"
      +  ],
      +  "title": "Resolution",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "audio_urls"
      -]New value: +[
      +  "audio_urls",
      +  "image_urls",
      +  "prompt"
      +]
  2. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the transparency burden. It reveals the reference-mode behavior and mentions a contract, but omits side effects, permissions, rate limits, or async processing details. The note about exclusive reference mode adds some transparency but not comprehensive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, concise, and without fluff. It delivers the essential purpose and a key behavioral nuance efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given that an output schema exists, return values need not be explained. The description explains the audio-guided mode and is clear about inputs, but it does not cover edge cases like missing audio or validation rules. Overall, it is suitably complete for the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% with each parameter already described. The tool description adds no parameter-specific semantics beyond reiterating the reference-mode behavior, so it meets the baseline for full schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool generates a video guided by audio and reference images, and explicitly notes the exclusive reference mode for audio-guided generation. This distinguishes it from siblings like generate_video_from_text and generate_video_from_images.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The purpose implies usage when audio and reference images are available, but it does not explicitly contrast with alternatives. The reference-mode detail provides context, but a direct 'use this when you have audio' guideline is absent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.