Skip to main content
Glama

Generate video from images (frames / ingredients)

flow_image_to_video

Converts local images into videos by uploading them to Google Flow as start/end frames or ingredient references, then generating a clip from your prompt.

Instructions

Uploads local images to Flow as Start Frame, End Frame and/or ingredient references (character/scenery), then generates a video. Uses Frames-to-Video when frames are given, Ingredients-to-Video for references. Consumes Flow credits.

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": "flow_image_to_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
waitNotrue = wait for the result (up to wait_timeout_seconds). false = return job_id immediately.
modelNoOptional model name as shown in Flow (e.g. 'Veo 3.1 - Fast', 'Veo 3.1 - Quality', 'Nano Banana Pro'). Omit to keep Flow's current default.
promptYesPrompt text (any language; English often gives the best Veo results).
scene_idNoScene id. Numbers are zero-padded: 1 -> Scene_01.
end_frameNoAbsolute path to a local .png/.jpg/.webp used as the END (last) frame.
overwriteNoOverwrite existing files with the same name. Default false appends _alt2, _alt3...
output_dirNoAbsolute root folder for projects. Default: /root/Projetos
resolutionNoVideo resolution as offered by Flow, e.g. '720p' or '360p' (cheaper). Omit to keep Flow's current setting.
ask_optionsNoIf true (default when the client supports it), unspecified options (quantity, and for video: format, length) are asked to the user in a dialog showing the credit cost before generating. Set false to skip the dialog and use defaults.
max_retriesNoRetries with exponential backoff on rate limit / server errors (default 3).
start_frameNoAbsolute path to a local .png/.jpg/.webp used as the START (first) frame.
take_numberNoTake number: 2 -> Take_02.
aspect_ratioNoVideo format: 9:16 = vertical (TikTok, Reels, Shorts); 16:9 = horizontal (YouTube). Omit to keep Flow's current setting.
project_nameNoProject name. Files go to <output_dir>/<project_name>/Assets_Flow/ and manifest.json to <output_dir>/<project_name>/.Flow_Project
camera_motionNoCamera movement. Applied via Flow's camera control when present, otherwise as a cinematic prompt directive. Aliases: pan=pan_right, tilt=tilt_up, zoom=zoom_in, dolly=dolly_in, orbit=orbit_right.
outputs_countNoHow many variations to generate (1-4). DEFAULT 1: only set this when the user explicitly asks for more. Multiple outputs are saved as _v1.._v4.
timeout_secondsNoMax seconds to wait for Flow to render (default 600).
duration_secondsNoVideo length in seconds. Flow's allowed range depends on the model (e.g. Omni 1.2 Flash: 3-15 s) and is checked live; omit to keep Flow's current length.
flow_project_urlNoOptional existing Flow project URL to generate inside. Default: most recent project (worker 1) or a new project (extra workers).
reference_imagesNoAbsolute paths to local images used as ingredients (character / scenery / style references).
wait_timeout_secondsNoMax seconds this tool call blocks before returning a job_id to poll.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true. The description adds genuinely useful context beyond those: it discloses that local images are uploaded to Flow (external side effect) and that the operation consumes Flow credits, letting the agent weigh cost before invoking. It stops short of describing return values or failure handling, so not a 5.

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?

Three sentences, each earning its place: purpose first, mode routing second, cost caveat last. No repetition of schema details and no filler.

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?

For a 21-parameter tool, the description covers purpose, mode selection, and cost, while the schema richly documents every parameter. With no output schema, it could have said more about what is produced (output files, manifest, job_id polling), though the wait/wait_timeout parameters hint at this.

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?

Schema coverage is 100%, so the baseline is 3. The description adds conceptual meaning above the schema by mapping parameters onto Flow's own Concepts: start_frame/end_frame become Start/End Frame, reference_images become ingredient references, which is not obvious from individual parameter descriptions alone.

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?

States a specific verb chain (upload images, then generate video) and resource, and distinguishes two internal Flow modes: Frames-to-Video when start/end frames are supplied, Ingredients-to-Video when character/scenery references are supplied. It does not explicitly differentiate itself from sibling flow_generate_video (presumably text-only generation), which keeps it from a 5.

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?

It gives conditional routing guidance ('uses Frames-to-Video when frames are given, Ingredients-to-Video for references'), which helps an agent pick the right mode. However, it never states when to choose this tool over flow_generate_video or flow_generate_batch, nor lists prerequisites or exclusions, so guidance is implied rather than explicit.

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