Skip to main content
Glama

generate_video

Generate a video from a still image using AI. Models: seedance (Seedance 2.5, 20 credits, default), kling (Kling 3.0 Pro, 25 credits), flux (FLUX 3 Max, 15 credits), h3-max (H3 Max, 20 credits). Default duration is 5 seconds. If this tool times out, use get_render_status to check if the video was saved. IMPORTANT: The image should have a good video generation prompt: use enhance_prompt first if the prompt is generic.

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": {
      "imageUrl": "<imageUrl>"
    },
    "name": "generate_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoVideo model: seedance (Seedance 2.5), kling (Kling 3.0 Pro), flux (FLUX 3 Max), h3-max (H3 Max). Legacy: draft/standard/best also accepted.
titleNoTitle for the saved video asset
promptNoMotion/action prompt
durationNoDuration in seconds (default 5)
imageUrlYesInput image URL to animate
resolutionNoOutput resolution (e.g. '720p')
workspaceIdNoWorkspace (product/brand) id from list_workspaces. Omit to use the default workspace (set_default_workspace), else the newest one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / workspaceId
      Added value: +{
      +  "description": "Workspace (product/brand) id from list_workspaces. Omit to use the default workspace (set_default_workspace), else the newest one.",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / model / description
      Previous value: -"Video model: draft (fast/cheap), standard (balanced), best (highest quality)"New value: +"Video model: seedance (Seedance 2.5), kling (Kling 3.0 Pro), flux (FLUX 3 Max), h3-max (H3 Max). Legacy: draft/standard/best also accepted."
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "draft",
      -  "standard",
      -  "best"
      -]New value: +[
      +  "seedance",
      +  "kling",
      +  "flux",
      +  "h3-max",
      +  "draft",
      +  "standard",
      +  "best"
      +]
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the safety/mutation burden and does disclose key traits: per-model credit costs, the 5-second default duration, and the possibility of a timeout with a recovery path. It stops short of saying what is returned on success (asset id vs. job id) or whether the operation is reversible, which matters for a paid, mutating tool.

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 the model/credit table is compact given the information density. The trailing IMPORTANT prompt-quality note is placed last, which is reasonable, though the model list is repeated almost verbatim from the schema enum.

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?

For a 7-parameter generation tool with no output schema, the description covers models, cost, default duration, the timeout workflow, and prompt preparation. The main remaining gap is what a successful call yields and whether the result is sync or async beyond the timeout hint.

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 100%, so the baseline is 3; the description adds value beyond the schema by attaching credit costs to each model value and by flagging legacy alias values. It does not clarify the semantics of resolution, title, or workspaceId beyond what the schema already states.

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?

States a specific verb and resource ('Generate a video from a still image using AI') and names the exact models available, which makes the capability unambiguous. It does not explicitly distinguish itself from adjacent siblings like edit_video, render_video, or revise_video, so an agent must infer the boundary from 'from a still image'.

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?

Provides two concrete conditional routings: use enhance_prompt first when the prompt is generic, and use get_render_status if the call times out. That is real when-to-use guidance for the pre- and post-steps, though it offers no guidance on when to pick this tool over edit_video or render_video.

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