Skip to main content
Glama

Reelfinery

generate_video

Read-only

AI 视频生成(文生/图生),15 档引擎任选。计价=每输出秒×档位费率(720p 基准;480p×0.6 / 1080p×1.8 / 4k×3.5)。费率 cr/s:draft 9|grok 15|veo-lite 15|kling-flash 29|standard 30(Wan3.0 默认,最长30s 原生音频)|flash 39(Gemini Omni 3-10s)|grok-v1.5 42|pro 47(Kling v4 4K/HDR/尾帧)|veo 45|flux3 51|hailuo-fast 57|hailuo 84|ultra 108(Seedance 2.5 4K+参考图/音/视频)|veo-pro 120|hailuo-pro 147。例:standard 720p 5s=150cr($1.50)。先按时长报价再调用;长档生成 5-10 分钟请提前告知。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "prompt": "<prompt>"
    },
    "name": "generate_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNot2v=纯文字生成(默认)| i2v=图片驱动(需 image;draft/hailuo-fast 无 t2v,draft 不支持 i2v)
seedNo
tierNo默认 standard;最便宜 draft 9cr/s、grok/veo-lite 15cr/s;旗舰 veo-pro/hailuo-pro
imageNoi2v 首帧图公开 URL
aspectNo16:9/9:16/1:1/4:3/3:4/21:9(hailuo 系固定输出不支持该参数)
promptYes画面/动作/镜头/氛围描述(英文效果更佳)
durationNo秒数:veo 系 4/6/8;hailuo/grok 系 6/10;standard 2-30;flash 3-10;kling-flash 3-20;flux3 3-10;pro 3-30;ultra 4-30
lastImageNo尾帧图 URL(仅 pro/ultra)
resolutionNoveo: 720p/1080p/4k;grok: 480p/720p;flux3: 720p/1080p;standard: 480p-1080p;pro/ultra: 含 4k;hailuo/kling-flash 固定
nativeAudioNostandard/ultra/veo/flux3 支持原生环境音,默认 true

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the description does not need to repeat the safety profile. It adds real behavioral context that the annotations do not cover: per-second credit pricing with resolution multipliers, a worked cost example, and expected generation latency. It does not disclose the return format or whether generation is asynchronous, which matters for a 5-10 minute operation.

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?

The core facts are front-loaded: what the tool does, then pricing, then the pre-call workflow. The 15-tier rate list is long but each entry carries decision-relevant cost data. Dense semicolon-separated packing makes it slightly harder to scan than it could be.

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

Completeness3/5

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

This is a complex 10-parameter tool with no output schema. The description covers pricing, modes, tiers, durations and resolutions well. It does not say what the call returns (a video URL? a job ID?) or how to retrieve results, so the agent cannot predict the response for a long-running generation.

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 90%, so the schema already documents the parameters. The description goes beyond it by attaching a credit rate to each tier value and a resolution multiplier to each resolution value, which gives the enum values an economic meaning the schema does not. It still leaves seed and lastImage semantics to the schema.

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

Purpose4/5

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

The description states a specific verb and resource: 'AI 视频生成(文生/图生)' with 15 engine tiers. That immediately separates it from editing tools such as edit_video or extend_video. It never names a sibling, however, so the agent gets no help telling it apart from create_video_job or the other generate_* tools.

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?

It gives clear operational guidance: quote the price by duration before calling, and warn users in advance that long-tier generation takes 5-10 minutes. The guidance covers when to call and how to prepare, but it never says when to use a sibling such as create_video_job or edit_video instead.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources