by ffroliva
MCP server and CLI for Google Flow: generate Veo 3.1 and Omni video and Nano Banana / Imagen images from Claude Code, Claude Desktop, Cursor, VS Code, Codex or the terminal. Free, MIT, on PyPI. 中文文档: README.zh-CN.md. Independent project, not affiliated with Google.
# Add to your Claude Code skills
git clone https://github.com/ffroliva/gflow-cliLast scanned: 11/29/2026
{
"issues": [
{
"file": "plugins/gflow/skills/gflow-cli/SKILL.md",
"line": 46,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -LsSf https://astral.sh/uv/install.sh | sh\"",
"severity": "medium"
},
{
"file": "skills/gflow-cli/SKILL.md",
"line": 46,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -LsSf https://astral.sh/uv/install.sh | sh\"",
"severity": "medium"
},
{
"file": "skills/llm-council/SKILL.md",
"line": 42,
"type": "dangerous-command",
"message": "Dangerous command (disables permission prompts): \"--dangerously-skip-permissions\"",
"severity": "medium"
}
],
"status": "PASSED",
"scannedAt": "2026-11-29T13:09:25.530Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}gflow-cli is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by ffroliva. MCP server and CLI for Google Flow: generate Veo 3.1 and Omni video and Nano Banana / Imagen images from Claude Code, Claude Desktop, Cursor, VS Code, Codex or the terminal. Free, MIT, on PyPI. 中文文档: README.zh-CN.md. Independent project, not affiliated with Google. It has 1,193 GitHub stars.
Yes. gflow-cli passed AgentsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/ffroliva/gflow-cli" and add it to your Claude Code skills directory (see the Installation section above).
gflow-cli is primarily written in Python. It is open-source under ffroliva on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh gflow-cli against similar tools.
No comments yet. Be the first to share your thoughts!
English | 简体中文
gflow-cli is an open-source MCP server and command-line tool that automates Google Flow. It generates Veo 3.1 and Omni video and Nano Banana and Imagen images from Claude Code, Claude Desktop, Cursor, Codex, VS Code or your terminal, billed to your own Google account's Flow credits. Use it as a Google Flow CLI or a Veo MCP server. Install it from PyPI with
uv tool install gflow-cli(MIT, macOS, Windows and Linux).
Why it exists: automation. gflow-cli lets agents, harnesses and scripts generate images and videos on a user's own Google Flow account, predictably, and spend the credits the user pays for along a correct, accountable path. For these users Flow's web interface is noise. The browser is used only where it is strictly necessary, to mint the reCAPTCHA token each request carries, and it runs headless by default; the measured request shapes then go to Flow over direct HTTP. Which commands use a browser, and how, is listed per command in BROWSER_MODES. The remaining limits are stated under Architecture & current limitations.
Which commands open a browser, with the default GFLOW_CLI_BROWSER_VISIBILITY=auto (copied from BROWSER_MODES, the single source):
Headless (direct HTTP; the browser only mints the reCAPTCHA token)
| Command | Browser mode in v0.108.0 | Why |
|---|---|---|
image t2i |
headless | Text-to-image with nano2 (any aspect, count 1-4), or nano2-lite / nano-pro at 9:16, count 1, no reference: the measured image shapes |
image generate |
headless | Resolves to t2i or i2i; the same rules apply to the resolved command |
image i2i |
headless | With nano2 and exactly one in-project reference, or one saved character passed as --reference-entity with its --reference-entity-name (count 1-4) |
run |
per row | Each image row routes on its own shape; a row with a "ref" or a character takes the UI path, and a run with any UI row launches headed for the whole run |
video t2v |
headless | --model omni-1.2-flash --duration 4 --resolution 360p, 9:16 or 16:9, count 1: the measured text-to-video key. With no --model, the key is built from the model selected in the account's Flow settings, and the command goes direct when that selection forms a measured key |
video i2v |
headless | A local start frame, 9:16, the default model (Veo 3.1 Lite) or --model veo-lite, no --duration / --resolution: the measured image-to-video key. A JPEG whose EXIF orientation is a quarter turn (a phone photo taken upright) takes the UI path |
video generate |
headless | Resolves to t2v / i2v / r2v; the rules of the resolved command apply |
video upscale --scale 1080p |
headless | Only for a clip in the local catalog that is Omni 1.2 Flash, 4 s, 16:9: the measured upscale source |
video chain |
per clip | Direct when every clip is a measured shape; a chain with any UI clip launches headed for the whole chain |
serve |
same rules | The MCP tools and the HTTP endpoint route each request exactly as the CLI does; browser_visibility is the per-call twin of --browser-visibility |
mcp run |
same rules | As serve |
Headless (Flow's UI, measured headless)
| Command | Browser mode | Why |
|---|---|---|
video extend |
headless on flow.google.com; headed on labs.google |
Drives Flow's Extend control; a billed headless extend was measured (#1554). GFLOW_CLI_TRANSPORT=ui_automation keeps it headed |
media trash |
none or headless | Sent with no browser when the direct read is available; otherwise from a flow.google.com page, measured headless (#1554). Also media restore. GFLOW_CLI_TRANSPORT=ui_automation keeps the page fallback headed |
Headed (Flow's UI)
| Command | Browser mode in v0.108.0 | Why |
|---|---|---|
auth login |
headed | Interactive sign-in; needs a display once |
image batch |
headed | The stay-mounted UI batch drives the composer |
image i2i --ref |
headed | A local --ref file is uploaded through the UI |
image upload |
headed | Uploads through the project's UI |
image upscale |
headed | Drives the image's download menu |
movie run |
headed | Scene requests carry no resolution, so no scene forms a measured key; characters and instruction cards are UI surfaces too |
video r2v |
headed | Reference-to-video is not measured over direct HTTP |
video edit |
headed | Not measured over direct HTTP |
video i2v --end-frame |
headed | An end frame, or a start frame that is already in the project, is not a measured shape |
video upscale --scale 4k |
headed | 4K, 720p and the 270p GIF, and 1080p of a clip the local catalog does not hold, drive the download menu |
scene create |
headed | Scenes are built in the UI |
scene show |
headed | Reads the scene in the UI |
character create |
headed | Character creation is a UI surface |
character list |
headed | Reads the project's characters in the UI (also character show and character rm) |
instructions add |
headed | Agent-mode instruction cards are a UI surface (every instructions subcommand) |
project create |
headed | Creates the project in the UI (also project rename) |
data sync |
headed | Reads the project in the profile's browser |
video t2v --max-credits |
headed | Any credit-capped video (--max-credits, GFLOW_CLI_MAX_CREDITS, MCP max_credits) reads Flow's quote in the UI; direct video has no wire quote |
No browser
| Command | Browser mode in v0.108.0 | Why |
|---|---|---|
video assemble |
none | Local ffmpeg processing |
video captions |
none | Local ffmpeg processing |
video transcribe |
none | Calls the configured transcription endpoint |
audio narrate |
none | Calls the configured text-to-speech service |
docs |
none | Bundled documentation |
data list |
none | Local catalog (every data subcommand except data sync) |
telemetry status |
none | Local settings and one weekly upload (every telemetry subcommand) |
update |
none | Runs the installer |
models list |
none | Static model catalog (also models show) |
capabilities |
none | Static capability report |
cancel |
none | Local job queue |
auth renew |
none or headless | Refreshes saved sessions headlessly, with no sign-in |
credits user |
none or headless | Read directly when the saved session is accepted; otherwise in the profile's browser (also credits list) |
A direct submit that Flow refuses as unusual activity is retried once from a new headless browser; a second refusal is final, and a headed window opens only when --browser-visibility headed (or GFLOW_CLI_BROWSER_VISIBILITY=headed) is set. Measured on Windows; macOS and Linux are unmeasured. The route rule and the conditions that force the UI path: BROWSER_MODES.
An independent project, not affiliated with Google. It works on your own signed-in Flow session, so Google's terms apply to your account: read the DISCLAIMER and ACCOUNT_SAFETY.
| What it is | One Python package that is both a CLI (gflow) and an MCP server (gflow mcp run, gflow serve) for Google Flow |
| Agent surface | 29 MCP tools plus resources and prompts, over stdio and Streamable HTTP; listed in the official MCP Registry as io.github.ffroliva/gflow-cli |
| Terminal surface | 70+ commands with typed exit codes, most with --json output; gflow --help --json prints the whole tree for agents |
| Video models | Veo 3.1 Lite, Fast and Quality; Omni Flash and Omni 1.2 Flash (up to 15 s, up to 7 reference images) |
| Image models | Nano Banana 2.1, Nano Banana Pro, Nano Banana 2 Lite, Imagen 4 |
| Works with | Claude Code (plugin), Claude Deskt |