Skip to main content
Glama

submit_video_generation

Submit a video generation task to MiniMax's V2 API and get a task_id immediately. Uses your own API key for pay-per-use billing; errors are reported directly without retries.

Instructions

提交一个异步视频生成任务,立即返回 task_id。BYOK 版:直连官方 POST /v2/video_generation,按 API Key 计费(积分/余额),不走订阅额度。提交失败不要自动重试,如实报告错误。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYes视频模型。MiniMax-H3:质量档,768P/2K,4-15 秒;MiniMax-H3-Max:极速档,480P/768P,5-15 秒。
ratioNo画面比例。纯文生视频必为具体比例(默认 16:9);首尾帧模式恒为 adaptive;参考模式默认 adaptive。
promptYes必填提示词(≤7000 字符)。H3 原生出音:对白、环境音、音效都写在这里。
durationYes时长(秒)。
resolutionNo分辨率,缺省时 H3 默认 2K、H3-Max 默认 768P。
aigc_watermarkNo是否加 AIGC 水印。
reference_typeNoinput_image_path 的角色,默认 first_frame。
input_image_pathNo首帧/尾帧图片:公网 URL、mm_file:// 或本地文件路径。不能与参考素材(reference_*)混用。
last_frame_image_pathNo尾帧图片(首+尾帧模式)。需要同时提供 input_image_path 作为首帧。
reference_audio_pathsNo可选参考音频 1-3 个(须搭配参考图/视频),单段 2-15s。
reference_image_pathsNo多模态参考图 1-9 张(r2v 模式),与首尾帧互斥。
reference_video_pathsNo参考视频 1-3 个,单段 2-15s、总时长 ≤15s。仅支持 H3。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations present, the description carries the full behavioral burden and does a solid job: it discloses the async nature (returns task_id immediately), the exact endpoint being called, the billing model distinction, and the no-auto-retry policy. It doesn't mention rate limits, partial-failure semantics, or response shape, but for a latency-sensitive submission tool the key behaviors are covered.

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?

Three sentences with no filler, logically ordered: core purpose first, then billing/endpoint context, then the retry instruction. Efficient for a tool with 12 parameters. Slight opportunity would be to integrate the workflow link (submit→query) into that space, but nothing is wasted.

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 12 parameters, no output schema, and no annotations, the description covers the essentials: async contract, billing, endpoint, error-handling expectation. The schema handles param semantics thoroughly. The main gap is the lack of an explicit pointer to the query_video_generation sibling for the retrieve-results step of the workflow, which would complete the agent's mental model for this async operation.

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% and the schema itself is exceptionally rich, documenting per-parameter constraints, modes, and mutual exclusions (e.g., '不能与参考素材混用' for input_image_path, defaults per model, maxItem counts). The description adds model-level context (BYOK billing, endpoint) but no per-parameter meaning beyond the schema. Baseline 3 is appropriate given 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 states a specific verb+resource: 'submit an async video generation task, immediately return task_id'. It clearly differentiates from the sole sibling query_video_generation by framing the submission action vs. (implicitly) querying. An agent can immediately grasp what this tool does and how it relates to the sibling.

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 BYOK billing context ('直接官方 POST /v2/video_generation,按 API Key 计费,不走订阅额度') gives clear financial/usage context that helps an agent decide when this tool is appropriate. The explicit '提交失败不要自动重试' instruction adds operational guidance. However, it never explicitly names the query_video_generation sibling as the follow-up step for retrieving results, relying instead on inference from the async + task_id phrasing.

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

Deploy Server

Other Tools