← all repositories
ffroliva/gflow-cli

Driving Google Flow with a browser, on purpose

gflow-cli wraps your signed-in Flow session in Chrome and exposes it as 27 MCP tools and 70+ terminal commands, so agents can spend your Veo credits for you.

gflow-cli
Too new to rank. Velocity needs a few days of history.
not enough history yet
star history

What it does: gflow-cli is one Python package that is both a CLI (gflow) and an MCP server for Google Flow. It drives your own signed-in Flow session in a real Chrome window to generate Veo 3.1 and Omni video plus Nano Banana and Imagen images, from Claude Code, Claude Desktop, Cursor, VS Code, Codex, any MCP client, or plain shell scripts. Video bills to your own Flow credits; images spend no credits, only a daily image quota. It is an independent MIT project, not affiliated with Google.

The interesting bit: The whole thing is browser automation over a product with no public API, which is both the trick and the risk. Because it runs as your account in real Chrome, Google’s terms apply to you, and the project is unusually honest about that, shipping an account-safety doc and a --no-spend server mode that never registers the credit-spending tools at all.

Key highlights

  • 27 MCP tools over stdio and Streamable HTTP, listed in the official MCP Registry; 70+ CLI commands with typed exit codes and --json output
  • Long-form video past Flow’s 8-second limit: video extend with continuous joins, video chain frame to frame, and free server-side scene stitching
  • Reusable Flow Characters (face, body, voice) referenced as @Name in prompts, for consistency across clips
  • Credit guardrails: --dry-run plans for multi-clip runs, billed requests never retried automatically, and every error reports charged: yes | no | maybe
  • Output routing to local disk, S3, MinIO, or Google Cloud Storage; every release since v0.54.0 is live-verified against real Flow

Caveats

  • It automates a consumer web app, so model availability and retirements follow Flow’s whims: three models (Omni Flash, Veo 3.1 Fast and Quality) retire on 2026-12-05
  • First call takes 30 to 90 seconds while Chromium warms up, and the whole approach depends on Google not changing Flow’s UI out from under it
  • The Claude Code plugin ships disabled by default, because enabling it starts a server that can spend your Veo credits

Verdict: Worth a look if you already pay for Flow credits and want agents or scripts to drive video and image generation with real cost controls. Skip it if you need an official API, SLAs, or anything Google has promised not to break.

Frequently asked

What is ffroliva/gflow-cli?
gflow-cli wraps your signed-in Flow session in Chrome and exposes it as 27 MCP tools and 70+ terminal commands, so agents can spend your Veo credits for you.
Is gflow-cli open source?
Yes — ffroliva/gflow-cli is open source, released under the MIT license.
What language is gflow-cli written in?
ffroliva/gflow-cli is primarily written in Python.
How popular is gflow-cli?
ffroliva/gflow-cli has 735 stars on GitHub.
Where can I find gflow-cli?
ffroliva/gflow-cli is on GitHub at https://github.com/ffroliva/gflow-cli.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.