Skip to main content
Glama

Create a MiniMax H3 clip (up to 15 s)

create_minimax_h3_video

Create a short AI video from one photo: animate it with generated sound or lip-sync, and use reference files to keep people or products consistent.

Instructions

Start a minimax-h3 generation from one photo. mode='basic': user_prompt (scene description) + requested_duration_s (5-15); the model animates the photo and generates the soundtrack itself. mode='reference': the reference model. With audio_clip_id the clip is lip-synced to it (first 15 s billed) and user_prompt is optional. Without audio_clip_id, pass requested_duration_s and a user_prompt with the spoken line in quotes: the model voices it and generates the soundtrack. Either way up to 8 extra image / 3 video / 2 audio reference_files with reference_captions keep a second person, a product or a background consistent. Output is 768 px on the short side, orientation follows the photo. Cost 3.3 credits per billed second, charged on create. Returns the job id; call wait_for_job(model='minimax-h3') until done (1-3 min).

Input Schema

NameRequiredDescriptionDefault
modeYes
nameNo
image_urlNo
image_pathNo
user_promptNoScene / motion description (required in basic mode)
audio_clip_idNoReference mode: the clip that drives the video; leave out to have the lines in user_prompt voiced
reference_filesNoReference mode: local paths of extra reference images/videos/audio
reference_captionsNoOne caption per reference file, same order
requested_duration_sNoClip length when there is no audio (basic mode, or reference mode without audio_clip_id); default 8

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.4
    • changedInput schema / properties / audio_clip_id / description
      Previous value: -"Reference mode: the clip that drives the video"New value: +"Reference mode: the clip that drives the video; leave out to have the lines in user_prompt voiced"
    • changedInput schema / properties / requested_duration_s / description
      Previous value: -"Clip length in basic mode (default 8)"New value: +"Clip length when there is no audio (basic mode, or reference mode without audio_clip_id); default 8"
  2. First observedv0.1.2

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations (non-readOnly, openWorld, non-idempotent, non-destructive) by disclosing cost (3.3 credits per billed second, charged on create, first 15 s billed for audio), async job semantics, output resolution and orientation behavior. That billing-on-create detail is exactly the kind of behavioral trait annotations cannot express.

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

Conciseness4/5

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

Front-loaded with the core action and mode split, then progressively adds conditional detail; nearly every clause carries operational information. It is a dense single block rather than cleanly structured, but there is little filler to cut.

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

Completeness5/5

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

With no output schema, the description supplies the return contract itself (job id) and the polling path to completion, plus cost, duration expectations, and output geometry. For a 9-parameter async generation tool, an agent has everything needed to call it and interpret the result.

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

Parameters4/5

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

Schema coverage is only 56%, and the description compensates well for the undocumented parameters: it explains the mode-dependent meaning of user_prompt and audio_clip_id, the 5-15 s range and default 8 for requested_duration_s, and the caps on reference_files (8 image / 3 video / 2 audio) plus reference_captions ordering. It leaves name, image_url and image_path entirely unexplained, and 'mode=reference: the reference model' is a vague gloss rather than a real definition, so it stops short of full 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?

States a specific verb+resource ('Start a minimax-h3 generation from one photo') and enumerates the two operating modes, which is enough to separate it from siblings like create_craftstory2_video and upscale_video. The scope constraint (up to 15 s, 768 px short side) further pins down what is being created.

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

Usage Guidelines5/5

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

Explicitly branches on mode ('basic' vs 'reference') and on the presence of audio_clip_id, telling the agent exactly which parameter set to supply in each case. It also names the required follow-up call (wait_for_job with model='minimax-h3') and its expected 1-3 min runtime, so the agent knows the full workflow, not just the trigger.

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