Skip to main content
Glama

generate_video

Generate a video from a text prompt using AI models like Hailuo, Kling, or Runway. Optionally start from an image and control duration and aspect ratio.

Instructions

Generate a video using Krea AI. Returns a job_id - use get_job to check status and get the result URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoModel: hailuo (default), kling, runway, pika, veo-3, wan, sora, lumahailuo
promptYesText description of the video to generate
durationNoVideo duration in seconds
image_urlNoOptional image URL for image-to-video generation
aspect_ratioNoAspect ratio (16:9, 9:16, 1:1)16:9
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses async behavior (returns job_id, use get_job for result), which is critical. However, it lacks details on safety, rate limits, or error handling.

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?

Single sentence, front-loaded with purpose, no wasted words. Efficiently conveys the core function and the follow-up action needed.

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

Completeness3/5

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

With 5 parameters and no output schema or annotations, the description is minimal. It explains the async pattern but lacks detail on return format, error cases, or parameter interactions. Adequate but not comprehensive.

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%, so baseline is 3. The description does not add significant meaning beyond the schema; it only mentions the async workflow but no parameter-specific context.

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?

Description clearly states the tool generates a video using Krea AI, with a specific verb and resource. It distinguishes from sibling tools like generate_image (different output) and get_job (status checking).

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

Usage Guidelines3/5

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

The description implies usage for video generation and mentions using get_job for status, but does not explicitly state when to use or avoid this tool, nor provide alternatives or prerequisites beyond the siblings list.

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/keugenek/krea-mcp'

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