Skip to main content
Glama

Generate Video from Image

veo_generate_video_from_image

Create a video from a still image by using it as the first frame and guiding motion with a text prompt, useful for animating images and maintaining visual style.

Instructions

Generate a video using an image as the first frame reference.

The image guides the visual style and composition of the generated video. This is useful for:

  • Animating still images

  • Creating consistent visual style

  • Extending existing content

Args:

  • prompt (string): Description of the action/motion to apply

  • image_base64 (string): Base64-encoded image data

  • image_mime_type ('image/png' | 'image/jpeg' | 'image/webp'): Image format

  • model (string): Veo model ID (default: 'veo-3.0-generate-001')

  • negative_prompt (string, optional): Elements to exclude

  • aspect_ratio ('16:9' | '9:16'): Should match input image (default: '16:9')

  • duration_seconds (4 | 6 | 8): Video duration (default: 4)

  • resolution ('720p' | '1080p'): Video resolution (default: '720p')

  • person_generation: Controls people generation (model-dependent, see schema)

  • response_format ('markdown' | 'json'): Output format

Returns: Operation name for tracking. Use veo_get_operation_status or veo_wait_for_video to check completion.

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>",
      "image_base64": "<image_base64>"
    },
    "name": "veo_generate_video_from_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoVeo model ID to use for generationveo-3.0-generate-001
promptYesText description of the action/motion to apply to the reference image
resolutionNoVideo resolution: '720p' or '1080p'. Only for Veo 3/3.1 (ignored for Veo 2)
aspect_ratioNoVideo aspect ratio: '16:9' (landscape) or '9:16' (portrait). Should match input image aspect ratio.16:9
image_base64YesBase64-encoded image data to use as the first frame
image_mime_typeNoMIME type of the input imageimage/png
negative_promptNoElements to exclude from the video
response_formatNoOutput format: 'markdown' for human-readable or 'json' for machine-readablemarkdown
duration_secondsNoVideo duration in seconds. Veo 3/3.1: 4, 6, or 8. Veo 2: 5, 6, or 8
person_generationNoControls people generation. For image-to-video: Veo 3/3.1 only supports 'allow_adult'; Veo 2 supports 'allow_adult', 'dont_allow'allow_adult

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true, idempotentHint=false), and the description adds genuinely new context: the call is asynchronous and returns an operation name that must be polled via veo_get_operation_status or veo_wait_for_video. It also flags model-dependent constraints (resolution ignored for Veo 2, person_generation support varying by model), though it does not discuss cost, latency, or quota implications of generation.

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 front-loaded with the core purpose and use cases before the Args/Returns blocks, and the Returns note is short and actionable. The Args list duplicates schema descriptions almost verbatim, which is mild waste but keeps the definition scannable in one place.

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?

With no output schema, the description correctly supplies the return value (an operation name) and the follow-up tools needed to reach a finished video, which is the critical missing piece for an async generation tool. Combined with the 10-parameter schema being fully documented, an agent has enough to invoke and follow through, though cost/latency expectations for generation are unstated.

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% with enums and defaults documented inline, so the Args block largely restates what the schema already provides (defaults for model, aspect_ratio, duration_seconds, resolution). The one added signal, that person_generation is model-dependent and should be checked in the schema, actually defers back to structured data rather than adding meaning.

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?

The description states a specific verb and resource ('Generate a video') plus the key differentiator ('using an image as the first frame reference'), which separates it from the plain text-to-video sibling veo_generate_video. It stops short of naming that sibling, so the differentiation must be inferred from the image-based framing.

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?

It gives concrete use cases ('Animating still images', 'Creating consistent visual style', 'Extending existing content') that tell an agent when this tool is appropriate. It offers no explicit when-not guidance or named alternative for text-only generation, leaving that inference to the agent.

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