Gflow Cli logo

Gflow Cli

Drive Google Flow's Veo and Imagen generation workflows from AI agents through a Python CLI and MCP server.

Install Gflow Cli

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "gflow-cli": {
      "command": "uvx",
      "args": [
        "gflow-cli"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

gflow-cli MCP server connects AI agents to Google Flow through a persistent, headed Playwright Chromium session. It supports Veo text-to-video, image-to-video, reference-to-video, and video extension workflows, along with Imagen text-to-image generation and reusable Flow Characters. Install the Python package, authenticate with a Google account that has Flow access, then run the MCP entry point or use the CLI for scripted and batched jobs. Reach for it when an agent needs terminal-native access to Flow generation rather than manual browser interaction.

Use cases

  • Generate Veo clips from prompts in a shell pipeline
  • Batch-create Imagen images from a prompt list
  • Extend existing Flow videos beyond eight seconds
  • Maintain recurring subjects with reusable Flow Characters
  • Route generated media to S3, MinIO, or Google Cloud Storage

Key features

  • Veo text-to-video, image-to-video, and reference-to-video generation
  • Imagen text-to-image generation
  • Video extension workflows
  • Reusable Flow Characters
  • Prompt rewriting with the creative-director tool
  • Local and external media output

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

14/14 checks healthy over the last 30d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · gflow-cli (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars379Stargazers on the source repository.
Last commit1d agoMost recent push to the default branch.
Directory activity8 viewsConfig copies, upvotes, and views on AllMCPs.

How Gflow Cli works

What gflow-cli does

gflow-cli exposes Google Flow generation workflows through both a Python command-line interface and an MCP server. It drives Veo for text-to-video, image-to-video, reference-to-video, and clip-extension tasks, and uses Imagen for text-to-image generation. The CLI also supports creating reusable Flow Characters with face and body references, which can help maintain a subject across generations.

The package is intended for scripted, batched, and pipeline-based work. Prompts can be submitted from shell loops, and a creative-director tool can rewrite concise prompts before generation. Generated files are written locally by default, with support for routing output to S3, MinIO, or Google Cloud Storage through the storage configuration.

How it works

Authentication and generation use a persistent Playwright Chromium profile connected to the user's own Google Flow session. The initial login opens a real Chrome window, while later commands reuse the stored session. gflow auth renew can refresh a stale session without requiring the normal interactive flow.

MCP operation is available through gflow mcp run or gflow serve. The browser is headed because Google authentication and reCAPTCHA checks require that mode. The first generation can take 30 to 90 seconds while Chromium starts; subsequent calls reuse the warmed session.

Veo video generation consumes the Flow credits associated with the Google account. Image generation and composition operations are free according to the project’s usage notes. Batch records are saved locally before submission, and the CLI reports distinct failures instead of silently resubmitting after interface changes.

Setup and configuration

Install the package with either of these approaches:

bash
uv tool install gflow-cli
# or
pip install gflow-cli

Install Chromium once with Playwright:

bash
uv tool run --from gflow-cli playwright install chromium

Authenticate the browser profile, then check the session and credit balance:

bash
gflow auth login --browser chrome
gflow auth status
gflow credits user

Set GFLOW_CLI_BROWSER_PROXY when the browser must use a proxy. Generated files go under GFLOW_CLI_OUTPUT_DIR unless GFLOW_CLI_STORAGE_URI routes them to S3, MinIO, or Google Cloud Storage. The package accepts Google accounts with Flow access, and each generation remains subject to that account’s credit allowance.

Tools and capabilities

  • Generate images from text with Imagen using gflow image t2i.
  • Generate Veo clips from text, images, or references with gflow video t2v, i2v, and r2v.
  • Extend an existing video beyond Flow’s eight-second clip limit with gflow video extend.
  • Create reusable face-and-body subject references with gflow character create.
  • Rewrite prompts with the creative-director tool or supply custom tools through the project’s My Tools system.
  • Run generation jobs from shell scripts, batches, and larger content pipelines.

Limitations and notes

gflow-cli is alpha software and reverse-engineered rather than an official Google product. It automates a browser session, so Google’s terms, account policies, interface changes, and authentication behavior remain relevant. The project does not use proxies or fingerprint spoofing to disguise automation, and it cannot guarantee account outcomes.

Google Flow UI changes can break selectors or workflows. Video submissions can spend credits, so batch operations should be tested with care. The browser profile and account session are central to operation; this is not a direct Google API client. Playwright and Chromium must be available, and installations from a local checkout may resolve dependency versions that differ from the project’s tested environment.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Gflow Cli

gflow-cli is an MCP server that connects AI agents to Google Flow through a headed Playwright Chromium session. Its main tools cover Veo text-to-video, image-to-video, reference-to-video, and video extension, plus Imagen text-to-image generation and reusable Flow Characters.

Install it with `uv tool install gflow-cli` or `pip install gflow-cli`, then install Chromium with Playwright. Authenticate using `gflow auth login --browser chrome`; MCP operation is available through `gflow mcp run` or `gflow serve`.

Yes. Generation runs through your own Google Flow session, so the account must have Flow access. Veo video generations use that account’s Flow credit allowance, while the browser session handles authentication and later command reuse.

Yes. Set `GFLOW_CLI_STORAGE_URI` to route outputs to S3, MinIO, or Google Cloud Storage. Without that setting, outputs are written under the directory configured by `GFLOW_CLI_OUTPUT_DIR`.

Yes. gflow-cli provides an MCP server entry point, so it can be configured in MCP-compatible clients such as Cursor. The server still requires its Python installation, Chromium, and an authenticated Google Flow browser profile.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGflow Cli AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gflow-cli?style=directory)](https://allmcps.com/mcp/gflow-cli)
HTML Embed
<a href="https://allmcps.com/mcp/gflow-cli"><img src="https://allmcps.com/api/badge/gflow-cli?style=directory" alt="Gflow Cli on AllMCPs" /></a>