Skip to main content
Glama

generate_video

Generate videos from text or image prompts using 86+ AI models, including cinematic, fast, budget, and specialized options like lip-sync or motion control.

Instructions

Generate a video using kie.ai (86+ models). Downloads to kie/assets/raw/. MODEL GUIDE: Best cinematic→veo-3/text-to-video (50cr/s, audio). Fast+cheap→grok-imagine-video-1-5-preview (1.6-3cr/s, audio, NEW), wan/flash-image-to-video (2cr/s). Budget cinematic→hailuo-standard (4cr/s). Budget multimodal refs→bytedance/seedance-2-mini (9.5cr/s @480p). 30s single takes→bytedance/seedance-2-5 (NEW). Budget all-rounder w/ audio+templates+extend→pixverse-v6 family (4-9.6cr/s, NEW; I2V is its strength; transition=first/last-frame morph). Multilingual lip-synced dialogue→happyhorse-1-1 T2V/I2V/R2V (NEW). Fast Kling→kling/v3-turbo (18cr/s, audio, NEW). Image-to-video→veo-3/image-to-video, kling/image-to-video. Avatar/talking head→omnihuman-1-5 (premium, NEW), kling/ai-avatar-pro, infinitalk/from-audio. Re-dub existing footage→volcengine/video-to-video-lip-sync (8cr/s, NEW). Motion control→kling/motion-control, wan/animate-move. Extend video→use veo_extend or runway_extend tools. NOTE: Sora 2 family is paused upstream by kie.ai (June 2026) — not usable. Use list_models filter="use-case" to explore.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
waitNoSet false to submit and return immediately with the task_id (async mode) — then poll with check_task and fetch with download_result. Recommended for long generations to avoid client-side watchdog timeouts.
modelNoModel ID (e.g. "veo-3/text-to-video", "sora/text-to-video", "kling/image-to-video")veo-3/text-to-video
promptYesVideo description prompt
filenameNoOutput filename (saved to kie/assets/raw/). Auto-generated if omitted.
image_urlsNoInput image URLs for image-to-video models
aspect_ratioNoAspect ratio: 16:9, 9:16, or 1:116:9
download_dirNoAbsolute directory to save the file(s) into (created if missing). Defaults to the server's kie/assets/raw/. Must be absolute — the MCP server's working directory is not the caller's.
model_optionsNoModel-specific options (duration, resolution, mode, etc.)
max_wait_secondsNoOverride the blocking-mode polling budget in seconds (defaults: image 600, video 900, audio 300, speech 300). Ignored when wait=false.
Behavior5/5

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

With no annotations, the description carries full burden. It discloses download destination (kie/assets/raw/), explains async behavior via wait parameter, polling with check_task/download_result, and download_dir semantics. It also mentions the polling budget default and that Sora 2 is paused. This is thorough behavioral disclosure.

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 lengthy but well-structured with a MODEL GUIDE section and notes. It is front-loaded with the core purpose and each sentence earns its place. While some redundancy exists (e.g., repeated 'NEW' markers), it remains efficient given the complexity. A slight trim could improve, but currently it's well-organized.

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?

Given 9 parameters, no output schema, and complex model selection, the description is remarkably complete. It covers model choice, async mode, file handling, polling settings, and even upstream issues (Sora 2 paused). It also references sibling tools for extension. The agent has all necessary context to invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. However, the description adds significant value: model guide explains usage of model parameter, wait parameter async mode, download_dir absolute path requirement, and model_options for model-specific settings. It also clarifies max_wait_seconds defaults. This far exceeds baseline.

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 clearly states 'Generate a video using kie.ai (86+ models). Downloads to kie/assets/raw/.' It specifies the verb (generate), resource (video), and provider. The detailed model guide with use-case recommendations distinguishes it from sibling tools like generate_image or generate_music.

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 extensive guidance: MODEL GUIDE with model recommendations for cinematic, fast, budget, avatar, etc. It explicitly mentions when to use image-to-video, avatar models, and extend tools. It also notes alternatives like veo_extend and suggests using list_models to explore. This fully addresses when and when not to use the tool.

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/elibarnett/kie-mcp'

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