Skip to main content
Glama

generate_video

Generate videos from text, images, or source videos by choosing from 48 AI models for text-to-video, image-to-video, and video-to-video creation.

Instructions

Generate videos from text, images, or other videos. 48 models including Hailuo, Seedance, Kling (1.6/3.0/O1), Sora, Veo 3.1, Runway gen-4.5, WAN (2.2/2.5/2.6), LTX, Luma Ray 2, Mochi, VEED, Vidu, Higgsfield, and more.

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
modelNoModel to use. Options: hailuo: Hailuo 2.3, hailuo-i2v: Hailuo 2.3 I2V, seedance-t2v: Seedance T2V, seedance-i2v: Seedance I2V, seedance-f2v: Seedance Frame2Video, dreamactor-motion: DreamActor Motion Control, kling-3.0-t2v: Kling 3.0 T2V, kling-3.0-i2v: Kling 3.0 I2V, kling-avatar-v2-pro: Kling Avatar v2 Pro, kling-o1-edit-video: Kling O1 Edit Video, kling-o1-frame2video: Kling O1 Frame2Video, kling-o1-ref-i2v: Kling O1 Ref I2V, kling-o1-ref-v2v: Kling O1 Ref V2V, kling-v2.6-motion: Kling v2.6 Motion, kling-1.6-t2v: Kling 1.6 T2V, kling-1.6-i2v: Kling 1.6 I2V, sora-t2v: Sora T2V, sora-i2v: Sora I2V, veo-3.1: Veo 3.1, runway-gen4.5: Runway gen-4.5, ltx-v2-pro: LTX V2 Pro, ltx-2-19b: LTX-2 19B, ltx-2-video: LTX-2 Video, luma-ray2-flash-i2v: Luma Ray 2 Flash I2V, wan-2.6-t2v: WAN 2.6 T2V, wan-2.6-i2v: WAN 2.6 I2V, wan-2.6-i2v-flash: WAN 2.6 I2V Flash, wan-2.2-animate: WAN 2.2 Animate, pixazo-wan-i2v: Pixazo WAN I2V, wan-2.2-i2v: WAN 2.2 I2V, wan-2.2-s2v: WAN 2.2 S2V, wan-2.5-t2v: WAN 2.5 T2V, wan-2.5-i2v: WAN 2.5 I2V, wan-t2v: WAN T2V (Alibaba), wan-i2v-alibaba: WAN I2V (Alibaba), higgsfield-soul: Higgsfield AI Soul, higgsfield-i2v: Higgsfield I2V, omnihuman-v1.5: ByteDance OmniHuman v1.5, decart-lucy: Decart Lucy Edit Video, dreamactor-v2: Dreamactor v2, topaz-upscale-video: Topaz Upscale Video, veed-fabric: VEED Fabric 1.0, veed-bg-remover: VEED Video BG Remover, vidu-q2-pro: Vidu Q2 Pro, p-video: P Video, mochi-v1: Mochi v1, baidu-genflare: Baidu GenFlare 2.0, sd-video: SD Text to Videohailuo
promptYesText description of the video to generate
durationNoVideo duration in seconds
audio_urlNoAudio URL for lip-sync (for wan-2.2-s2v)
image_urlNoSource image URL (for image-to-video models)
video_urlNoSource video URL (for video-to-video models like kling-o1-edit-video)
last_frameNoLast frame image URL (for frame-to-video models)
resolutionNoVideo resolution (e.g. 720P, 1080P)
first_frameNoFirst frame image URL (for frame-to-video models)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds nothing about the traits that matter for a generative tool: whether generation is asynchronous, whether it consumes credits, or how the finished video is delivered, despite no output schema existing to fill that gap.

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 purpose sentence is front-loaded and efficient. The large model-name roll-call largely duplicates the schema enum descriptions and could be trimmed to a few exemplars, which is the only real waste.

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

Completeness2/5

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

For a 9-parameter generation tool with no output schema, the definition never states what is returned (video URL, job ID, status), whether the call blocks or requires polling, or that many parameters only apply to particular model variants. An agent can guess at invocation but not at result handling.

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 enum itself documents every model variant, so the schema carries the parameter semantics. The phrase 'from text, images, or other videos' loosely maps to prompt/image_url/video_url, but adds no constraint detail (per-model input requirements, duration limits, resolution support) beyond the schema.

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 first sentence names a specific verb and resource plus the three supported input modalities ('text, images, or other videos'), which cleanly separates it from siblings such as generate_image or generate_3d_model without needing their schemas.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no explanation of how to choose among the 48 models, and no mention of prerequisites such as required inputs per model family or expected cost/latency. The model enumeration hints at options but gives no selection criteria.

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