Skip to main content
Glama

wan_image_to_video

Generate a video from an image using Wan 2.2, with optional text prompts controlling motion and style. Automatically detects installed models and uses sensible defaults for all other parameters.

Instructions

Generate video from an image using Wan 2.2 (local model).

All parameters except prompt and input_image are optional with sensible defaults. Auto-detects installed Wan model and encoder.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cfgNoGuidance scale. Default: 6.0.
seedNoRandom seed. Default: -1 (random).
stepsNoSampling steps. Default: 25.
widthNoVideo width. Default: 832. Must be multiple of 16.
heightNoVideo height. Default: 480. Must be multiple of 16.
lengthNoNumber of frames. Default: 81. Must be n*4+1.
promptYesText description guiding the video motion and style.
samplerNoSampler algorithm. Default: "euler".euler
vae_nameNoVAE model. Default: "wan2.2_vae.safetensors".wan2.2_vae.safetensors
clip_nameNoUMT5-XXL text encoder. Default: "" (auto-detects).
schedulerNoNoise scheduler. Default: "normal".normal
frame_rateNoOutput FPS. Default: 16.0.
input_imageYesFilename in ComfyUI's input directory. Upload first with upload_image if needed.
diffusion_modelNoWan 2.2 GGUF model. Default: "" (auto-detects).
negative_promptNoThings to avoid. Default: "low quality, worst quality, deformed, distorted".low quality, worst quality, deformed, distorted

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description carries the full burden. It discloses local model execution, auto-detection of the Wan model/encoder, and default-driven parameter behavior. However, it omits other behavioral aspects such as output handling, resource requirements, or potential side effects, though the output schema may cover return values.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with no wasted words. It front-loads the primary purpose and then gives a concise, useful note about optionality and auto-detection. Every sentence contributes value.

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 15 parameters and a schema covering all parameter descriptions and defaults, the description is sufficiently complete. It covers the model variant, local execution, and auto-detection behavior. It does not explicitly discuss when to prefer this over generic image_to_video, but the tool name and sibling list provide reasonable context.

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?

Since the schema has 100% coverage with default values and descriptions, the baseline is 3. The description adds meaningful semantic context by explicitly stating that only prompt and input_image are required and that clip_name/diffusion_model auto-detect when left empty, going beyond what the schema individually states.

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+resource: 'Generate video from an image using Wan 2.2 (local model).' This clearly identifies what the tool does and distinguishes it from sibling tools like wan_text_to_video and generic image_to_video by specifying the input type and model variant.

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 description states a clear use case ('from an image') and identifies the model (Wan 2.2 local). It also provides practical guidance about optional parameters and auto-detection. However, it does not explicitly name alternatives or exclusion conditions, so it stops short of full 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/halbert04/comfyui-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server