热度观测:等待有效的新观测。

← 返回内容列表
GGitHub采集材料

gflow-cli:批量调用 Google Flow

发布时间未知 · 北京时间

AI 编程

有实践材料可继续查看

代码仓库安装说明使用说明示例代码演示线索

原文与观测指标

1 个来源
GGitHub

gflow-cli:批量调用 Google Flow

ffroliva
查看原文
星标344采集时的累计值
每小时增长待观察星标 / 小时 · 观测区间平均值
最近提交10-28 03:38提交时间不是项目发布时间

发布时间:未知 · 首次发现 10-28 08:32 · 北京时间

指标采集:10-28 08:32 · 指标已取得

项目文档有线索安装说明有线索使用说明有线索示例有线索

仅反映文档与示例线索,未实际运行项目。

摘要

gflow-cli 用 Python CLI 和 MCP 驱动 Google Flow 的 Veo 视频与 Imagen 图片生成,支持脚本批处理、视频续写和角色参考。材料给出读取提示词文件并循环生成图片的命令示例。

摘要由 AI 生成,请以原文为准。
观测历史 · 最近 1 条 展开 / 收起

缺失不计为零;增长只比较同一指标来源的有效记录,按实际间隔折算每小时。上游缓存可能延迟数值更新。

采集时间 · 北京时间指标数值来源状态
10-28 08:32:18Star344GitHub 公开页面已取得
采集原文 展开 / 收起

gflow-cli

Drive Google Flow from the command line: Veo video and Imagen images, scripted, batched and pipeline-ready. Ships an MCP server so coding…
项目说明 展开 / 收起
gflow-cli Python CLI and MCP server for Google Flow. Drive Veo (image-to-video, text-to-video) and Imagen (text-to-image) from your terminal: scripted, batched, pipeline-ready. ⚠️ Read this before you install. gflow-cli is alpha and reverse-engineered — not affiliated with Google. It drives a headed browser on your own Google Flow session, so treat it as your own account risk: automation is subject to Google's ToS, and endpoints or UI can change without notice. It works with any Google account that has Flow access, and every generation bills against your account's Flow credit allowance. Read the full DISCLAIMER. 🛡️ "Will this get my account flagged?" The honest, specific answer — what the tool does to stay unremarkable (headed real Chrome, randomised interaction timing, paced submissions), what it deliberately does not do (no proxies, no fingerprint spoofing, no pretending it isn't automation), what you can tune, and what we cannot promise — is in docs/ACCOUNT_SAFETY.md. 💳 What failure costs you. Credits are only spent on Veo video generation — images and composition ops are free, so most breakage costs nothing. When Flow's UI drifts mid-run, the CLI fails fast and loudly with distinct exit codes (e.g. selector drift = exit 23) instead of resubmitting, and batch items are recorded locally before submission so a broken run never silently burns credits on a stale state. See KNOWN_ISSUES for the current risk list. 🌐 Headed browser today. gflow drives Flow through a persistent Playwright Chromium profile, because Google's auth and reCAPTCHA gates require it. The Architecture section shows where you can help. Why gflow-cli? You have a Google account with Flow access, you have Veo credits, and you run real batch work. gflow-cli gives you: Batch generation. Loop prompts straight from the shell: for p in $(cat prompts.txt); do gflow image t2i "$p"; done. Image batching plus gflow video t2v / i2v / r2v all ship today, and gflow video extend continues an existing clip past Flow's 8s ceiling. Consistent subjects. gflow character create mints a Flow Character (face and body reference) so the same person appears from one generation to the next. Prompt tools. --tool creative-director rewrites a terse prompt into a vivid one (Google's 5-component formula) before generating — on any command. Bring your own with My Tools. Pipelines. Wire Veo into your content automation, AI-video stack, or batch experiments. Terminal-native. After one gflow auth login, you stay in the shell. No clicking through dialogs. A stale session renews headlessly with gflow auth renew. Same Veo and Imagen models, same quality, same billing against your own Google account, now programmatic. 60-second quick start # 1 · Install (uv recommended; also: pip install gflow-cli) uv tool install gflow-cli uv tool run --from gflow-cli playwright install chromium # one-time, ~150 MB # later: `gflow update` upgrades in place (every command shows a banner when a newer release is out) # 2 · Authenticate (one-time, opens a real Chrome window) # Behind a proxy (e.g. Clash)? Set GFLOW_CLI_BROWSER_PROXY=http://127.0.0.1:7897 first (docs/CONFIGURATION.md) gflow auth login --browser chrome # Check the session (spends nothing) gflow auth status gflow credits user # Veo credit balance (opens Flow in the browser; spends nothing) # 3 · Generate gflow image t2i "a hot air balloon over Tokyo at sunrise" # or: gflow video t2v "Slow cinematic push-in on a sunlit forest clearing" --aspect 16:9 # or mint a reusable Character (face + body reference): gflow character create --project <id> --name "Aria" --face-prompt "..." --body-prompt "..." Outputs land under $GFLOW_CLI_OUTPUT_DIR, or you can route them to S3, MinIO, or Google Cloud Storage with GFLOW_CLI_STORAGE_URI. The first call takes 30 to 90 seconds while Chromium warms up; later calls reuse the warm session. Why --browser chrome? It is the only strategy that marks the profile as a real-Chrome profile, which is what later generation runs open it with. The default auto picks it whenever Chrome is installed — see docs/AUTHENTICATION.md. Installing from a local checkout? uv tool install <path> ignores uv.lock and resolves dependencies from the pyproject.toml ranges, so it can hand you a Playwright build this project has never tested. Playwright ships the browser driver, and an untested minor can wedge a generation silently. Carry the locked version explicitly: uv tool install --force --with playwright==1.59.0 . Installing from PyPI (uv tool install gflow-cli) is unaffected — the published range is upper-bounded. Check what you actually have with uv tool run --from gflow-cli python -c "import importlib.metadata as m; print(m.version('playwright'))". For the full 10-minute walkthrough with troubleshooting and multi-account setup, see USER_GUIDE: Journey 1. Examples One command in, real Flow output back. Left: gflow image t2i generating a photorealistic scene in your library. Right: a frame-to-frame transform. Demo A single gflow image t2i "..." --aspect 9:16 --model nano2 call against a logged-in Flow profile. The terminal streams the run's structlog JSON, then lists the written PNG. Chromium drives the Flow editor silently in the background. Reproduce the recording with scripts/record_demo.ps1 (Windows, OBS, ffmpeg, gifski). More formats, including the side-by-side split-screen: docs/DEMOS.md. Documentation docs/INDEX.md is the master routing layer. Quick links: Topic Read 🎯 Getting started User Guide · Usage · Configuration Storage & catalog External Storage · Data Layer 🎭 Characters Characters, reusable subjects (gflow character) 🤖 Agentic & automation Instructions (gflow instructions, persistent brief cards) · Movie (gflow movie, multi-scene manifests) · Tools (--tool, prompt rewriting) · MCP server (gflow mcp run / gflow serve) 🔐 Auth & sessions Authentication · Known issues 📣 Where to install from Marketplaces (every channel and what each actually delivers) · Container (why the image introspects but canno