Skip to main content
Glama

Gerar vídeo no Flow

flow_gerar_video

Generates 8-second Google Flow/Veo videos with audio from a prompt and downloads the MP4; supports image-to-video, references, characters, and voice narration.

Instructions

Gera vídeo curto no Google Flow (Veo 3.1, 8 s com áudio) com os créditos do Google AI Pro e baixa o .mp4. Os arquivos vão SEMPRE para /app/%LOCALAPPDATA%\mcp-google/saidas/flow neste PC, venha o pedido do Claude Code ou do Claude Desktop. Gasta créditos da cota diária (custo na descrição de 'modelo'; padrão veo-3.1-fast). O que passaria do teto diário do mcp-google é recusado antes de enviar. Imagem → vídeo: passe imagem_inicio (e opcionalmente imagem_fim) para o vídeo começar/terminar nessas imagens. Elementos: personagens (mesma aparência entre vídeos), referencias (imagens como ingredientes) e voz (narração/falas). Elementos não combinam com imagem_inicio/imagem_fim (no Flow são modos diferentes). A geração leva ~1-3 min. No Claude Desktop cada chamada dura no máximo ~50 s, então normalmente a resposta vem 'em andamento': chame flow_status (de novo, se preciso) até os arquivos serem salvos. No Claude Code a chamada já espera e baixa.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vozNoVoz do Flow para narração/falas (ex.: Fenrir, Kore, Charon, Aoede; lista com flow_vozes). Escreva as falas no prompt: Tatuzinho diz: "...".
modeloNoModelo. Custo por vídeo (x1): veo-3.1-lite = 10 créditos, veo-3.1-fast = 20, veo-3.1-quality = 100 (todos 8s, 720p, com áudio); omni-1.1-flash = 4 a 15 conforme resolução e duração (4-10s).veo-3.1-fast
promptYesDescrição do vídeo em português: cena, ação, câmera, luz e som. Formato e duração podem vir no texto ('vertical').
duracaoNoSegundos. Só vale para omni-1.1-flash (4, 6, 8 ou 10). Se omitida, é lida do prompt ('10 segundos'). Os Veo 3.1 são sempre 8s (para mais, use flow_estender_video).
projetoNoProjeto do Flow: id, link ou nome exato (veja flow_projetos). Se omitido, usa o projeto padrão (flow_projeto_padrao; de início 'Claude MCP').
proporcaoNoProporção. Se omitida, é deduzida do prompt: 'vertical', 'reels', 'tiktok', 'shorts', '9:16' → 9:16; senão 16:9.
resolucaoNoSó para omni-1.1-flash. Padrão 720p.
estilo_vozNoComo a voz deve soar (ex.: 'animada, ritmo rápido', 'sussurrando').
imagem_fimNoÚltimo quadro do vídeo: id de uma imagem do projeto (de flow_gerar_imagem ou flow_listar) OU caminho completo de um PNG/JPG/WebP do PC (até 20 MB).
quantidadeNoQuantos vídeos gerar com o mesmo prompt (multiplica o custo).
personagensNoNomes de personagens do Flow (criados com flow_personagem_criar; veja flow_personagens) para aparecer com a mesma aparência. Cite o nome no prompt (ex.: 'Tatuzinho acena para a câmera'). Para manter roupa/acessórios, crie o corpo inteiro do personagem e prefira veo-3.1-fast ou quality (no Lite detalhes como chapéu podem sumir).
referenciasNoImagens de referência (até 3): id de uma imagem do projeto (flow_listar) OU caminho completo de PNG/JPG/WebP do PC. O Flow usa como base: editar uma imagem ('a mesma cena à noite'), combinar elementos, manter o estilo ou o produto.
max_creditosNoLimite opcional desta geração: só use se o usuário pedir. O teto diário do mcp-google vale sempre.
imagem_inicioNoPrimeiro quadro do vídeo: id de uma imagem do projeto (de flow_gerar_imagem ou flow_listar) OU caminho completo de um PNG/JPG/WebP do PC (até 20 MB).
qualidade_downloadNooriginal = arquivo 720p como o Flow gerou (recomendado). 1080p = aprimorado pelo Flow (lento; evite no Claude Desktop). gif = GIF 270p.original

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.16.1

TDQS

A4.5/5.0
Behavior5/5

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

With annotations only saying it is a non-read-only, non-destructive open-world call, the description carries real weight: it discloses credit spend per model, that requests exceeding the daily quota are rejected before submission, the 1–3 minute generation time, and the ~50 s Desktop timeout that forces polling. It also fixes the output location. Nothing here contradicts the annotations.

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?

Information is front-loaded: what it produces, where files land, cost, then the mode conflicts and the async caveat. It is dense but nearly every sentence carries operational meaning; the credit-cost sentence partly duplicates the modelo schema entry.

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 15-parameter, long-running, credit-consuming generation tool with no output schema, the description covers cost, timing, async polling, file destination and mode incompatibilities. It stops short of describing the response payload shape in Claude Code (beyond 'waits and downloads'), which would help an agent parse results.

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 still adds semantics the schema lacks, notably that elementos (personagens/referencias) are mutually exclusive with imagem_inicio/imagem_fim because they are different Flow modes. The credit-cost restatement and the default model repeat the schema's own parameter descriptions, which limits the added value.

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?

States a concrete verb and artifact ('Gera vídeo curto no Google Flow (Veo 3.1, 8 s com áudio)') plus the side effect of downloading an .mp4 with AI Pro credits. It distinguishes itself from siblings by naming flow_estender_video for durations beyond 8 s and flow_status for polling, so an agent can place it in the flow_* family immediately.

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?

Gives explicit conditions: image-to-video via imagem_inicio/imagem_fim, elementos for character consistency, and that elementos do not combine with start/end images. It also explains the Claude Desktop vs Claude Code calling pattern. It never explicitly contrasts with flow_video_longo or notebook_gerar_video, which are the neighboring alternatives an agent might pick instead.

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