Skip to main content
Glama

Generate a video

generate_video

Makes a video from an image the user owns (generation or upload). MOST EXPENSIVE operation: priced per second, charged when the clip completes, purchased credits only. Async: poll get_video. Quote with dry_run:true (free), then confirm the number with the user. PROMOTION until 2026-09-23: every Kling model is billed at a THIRD of the per-second rates listed below. dry_run returns the real discounted number; quote from it, not from this guide. Pick by job (credits per second, std/pro):

  • Bring a still to life: kling-v3, the default. 120/160; sound +40; 4K 600; 3-15s; lands on end_frame_id.

  • Cheapest clip WITH sound: veo-3.1-lite-generate-preview. 4, 6 or 8s; 8s = 280 total (1080p 440); end_frame_id.

  • Keep an existing clip's acting with a new person or scene: kling-v3-omni + reference_video_id (180/240, silent) + up to 3 reference_image_ids. Without a clip: kling-v3 prices, and 6 stills instead of 3.

  • Same at 120/160 when 10s, 1080p and silence are enough: kling-video-o1 + the clip. Without a clip it costs what kling-v3 costs and does less.

  • Copy a dance or gesture from a real clip onto the person in the still: kling-motion-control. 180/240 per second of the clip (3-30s), silent.

  • Edit a finished clip by describing the change, or sound plus reference stills: gemini-omni-1.1-flash. 140 at 720p (1080p 290, 4K 430, upscales); 3-10s chosen by the model, so state the length in the prompt; up to 3 reference_image_ids; end_frame_id. Reference clips are finished video ids (list_generations).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoDefault std (720p-class); pro 1080p-class; 4k where the guide lists it.
audioNoKling 3.0/Omni only, never with a reference clip.
modelNoDefault kling-v3.
promptYesThe motion to depict; for a Gemini Omni edit, the change to make.
dry_runNoQuote only: exact credits_cost, nothing submitted or charged.
durationNoWhole seconds within the model's range. Default 5 (Veo 8); Motion Control uses the clip's.
project_idYes
end_frame_idNoImage the clip lands on (Kling 3.0, Veo, Gemini Omni).
generation_idYesSource image id (generation or upload).
reference_video_idNoA finished video id: the acting to keep (Omni/O1), the movement to copy (Motion Control), the clip to edit (Gemini Omni).
reference_image_idsNoStills to stay faithful to. Omni/O1 up to 6, or 3 beside a reference clip (Kling counts both against one list). Gemini Omni 3.
character_orientationNoMotion Control: whose face, the still's or the clip's. Default video.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and destructiveHint=false, so the description carries the burden of behavioral disclosure. It clearly states this is the MOST EXPENSIVE operation, priced per second, charged on completion, using purchased credits only, and async via poll get_video. It also discloses the promotion discount and instructs the agent to quote from dry_run rather than the guide. This is rich, decision-relevant behavioral context.

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 description is dense and front-loaded with the most critical facts (cost, async, dry_run). It uses compact bullet-like lines and abbreviations to pack a lot of model-specific guidance into a small space. It loses one point because the pricing table is complex and somewhat hard to parse at a glance, but every sentence earns its place and there is no filler.

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?

For a 12-parameter, high-cost, async generation tool with no output schema, the description is remarkably complete. It covers cost model, billing timing, async polling, quoting flow, model selection per job, duration ranges, reference clip semantics, and the promotion. An agent has enough context to invoke the tool correctly and to ask the user for confirmation before spending credits.

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 92%, so the schema already documents most parameters well. The description adds meaningful semantics beyond the schema: it explains how reference_video_id behaves differently per model, how reference_image_ids counts differ per model, what duration defaults apply per model, and how mode maps to resolution tiers. It doesn't exhaustively restate every parameter, but it adds the cross-model constraints that the schema alone cannot express.

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 opens with a specific verb and resource ('Makes a video from an image the user owns') and immediately distinguishes the tool from siblings like generate_image and get_video. It also names the model families and their distinct jobs, so an agent can tell exactly what this tool produces and how it differs from related generation tools.

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?

The description provides explicit when-to-use guidance: it explains the default model, when to choose each alternative (e.g., 'Cheapest clip WITH sound', 'Keep an existing clip's acting', 'Copy a dance or gesture'), and even instructs to quote with dry_run:true and confirm the number with the user. This is far beyond a minimal usage note and directly routes the agent to the correct model per job.

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