
kodelyx/flow-agent 是从 https://github.com/kodelyx/flow-agent. 导入的 MCP 服务器候选
概览
kodelyx/flow-agent 是从 https://github.com/kodelyx/flow-agent. 导入的 MCP 服务器候选
概述(AI 翻译)
通过 CLI、REST API 或您的 AI 助手,从 Google Flow 生成 AI 图片和视频。
它有什么用?
Flow Agent 是一个本地服务器和 CLI,连接 Google Flow 生成高质量的 AI 图片和视频。你只需设置一次,然后可以用三种方式:
| 如何 | 最佳 |
|---|---|
| 🖥️ 终端(CLI) | 快速一次性生成,脚本编写 |
| 🌐 REST API | 连接任何应用——与OpenAI的API完全相同 |
| 🤖 MCP 服务器 | 让 Claude、Cursor 或 AGY 自动为你生成 |
一览 特色
- 🖼️ 图像→文本 — 宽高比:
1:116:99:164:33:4,最多可同时支持4种变体 - 🎬 文本→视频 — 时长:
4s6s8s10s,质量:360p/720p - 🎞️ 图像→视频 — 将任意图像动画化成视频片段
- 👥 多账户 — 添加多个谷歌账户以池化信用
- 🔌 OpenAI 兼容 — 临时替换:更改
base_url,仅此而已 - 📊 历史与统计 — 每一代人都记录到本地SQLite并跟踪信用
- 🩺 自我诊断 —
./bin/flow doctor会告诉你该怎么修正
快速启动
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
What does it do?
Flow Agent is a local server and CLI that connects to Google Flow to generate high-quality AI images and videos. You set it up once, and then you can use it three ways:
| How | Best For |
|---|---|
| 🖥️ Terminal (CLI) | Quick one-off generations, scripting |
| 🌐 REST API | Connecting any app — works exactly like OpenAI’s API |
| 🤖 MCP Server | Letting Claude, Cursor, or AGY generate for you automatically |
Features at a Glance
- 🖼️ Text → Image — aspect ratios:
1:116:99:164:33:4, up to 4 variations at once - 🎬 Text → Video — durations:
4s6s8s10s, quality:360p/720p - 🎞️ Image → Video — animate any image into a video clip
- 👥 Multi-Account — add multiple Google accounts to pool credits
- 🔌 OpenAI Compatible — drop-in replacement: change
base_url, nothing else - 📊 History & Stats — every generation logged to local SQLite with credits tracking
- 🩺 Self-Diagnostics —
./bin/flow doctortells you exactly what to fix
Quick Start
1 — Install
cd flow-agent
python3 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e '.[test]'
2 — Connect Your Google Account
You need the Flow Chrome Extension installed in Chrome first.
Load it from theflow-extension/folder viachrome://extensions → Load unpacked.
# Start the WebSocket bridge (keep this running in a terminal)
./bin/flow bridge
Then open https://labs.google/fx/tools/flow in Chrome while signed in to your Google account. The extension will automatically save your session to cookies/.
3 — Verify Setup
./bin/flow doctor
You should see:
ok version flow-go 0.1.0
ok database data/flow.db
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"flow": {
"command": "python3",
"args": ["/absolute/path/to/flow-agent/main.py", "mcp"]
}
}
}