Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”‘ Needs an API keyDesign and media

gflow-cli

Lets your AI agent generate Veo videos and Imagen images through your own Google Flow account.

360 stars on GitHubby ffrolivaLicense MITUpdated 18 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add gflow-cli -- uvx gflow-cli mcp run

What to fill in

NameWhat it isRequired
GFLOW_CLI_HOMEWhere gflow keeps its Chrome profile, config and database. Defaults to a per-user directory.No

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Generate a 16:9 video of a slow push-in on a sunlit forest clearing.
Make a photo of a hot air balloon over Tokyo at sunrise.

What it is

gflow-cli is a command-line tool that also ships an MCP server for Google Flow. Your agent can generate images and videos, create reusable characters and run batches. It drives a real browser logged in to your own Google account. It is unofficial, in alpha and not affiliated with Google.

What it can do

  • gflow image t2i: text-to-image
  • gflow video t2v: text-to-video
  • gflow video i2v and r2v: image-to-video and reference-to-video
  • gflow video extend: continue a clip past 8 seconds
  • gflow character create: make a reusable character
  • gflow auth login and gflow auth status: sign in and check the session
  • gflow mcp run --no-spend: run the MCP server without credit-spending tools

When to use

  • β€ΊWhen you want an AI agent to batch-generate images or video clips from a list of prompts.
  • β€ΊWhen you need the same character to appear across several generations.
  • β€ΊWhen you want to script Veo video work from the terminal or an agent.

What you need

Python (installs with uv or pip), Chromium installed through Playwright, Chrome for login, and a Google account with Google Flow access.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it open source and free?

The code is on GitHub and PyPI. Video generation uses credits from your own Google Flow account.

Does it cost credits?

The readme says credits are only spent on Veo video generation; images and composition are free.

Is it official?

No. It is alpha, reverse-engineered and not affiliated with Google. Automation is subject to Google's terms and may break if Flow changes.

Can I stop the agent from spending credits?

Yes. Run the MCP server with gflow mcp run --no-spend so credit-spending tools are never registered.

Does it work headless?

It uses a headed browser profile because Google's login and reCAPTCHA need it. A stale session can renew headlessly with gflow auth renew.

Is my account safe?

The readme points to an account-safety document and says it cannot promise that automation will not be flagged.

If it does not work

  • β€ΊRun gflow auth login --browser chrome once, then gflow auth status to check the session.
  • β€ΊInstall the browser with the Playwright install chromium command before the first run.
  • β€ΊIf a command fails with a selector-drift exit code, Flow's page changed; update gflow with gflow update.

5 new skills a week. 1 minute to read.