火宝无限画布;支持文生图,图生图,图生视频,多模型切换。兼容 openai标准格式
翻译准备中
媒体JavaScript · VueGitHub @chatfire-AI自行安装运营者未确认
试用过了吗? 点一下就好,无需登录。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
安装型项目无需部署域名也可验证。个人仓库可通过 GitHub 登录验证,组织仓库可使用上方的仓库验证文件。
正在加载完整 README。 以下为已保存的摘录。
🎨 Huobao Canvas - AI Creation Canvas
An open-source, node-based AI creation canvas — chain text, image, and video models from 11 providers on an infinite canvas
🔑 Get a Huobao API Key 👉 Get started
Text, image, and video AI capabilities — one key unlocks everything
Paste the key in "Settings → Huobao Quick Setup" to configure all 11 providers in one click
📥 Download Desktop App (macOS / Windows) · China Mirror (macOS arm64) · China Mirror (Windows) · Live Demo
🌐 Official Website查看完整 README ↗开源的节点式 AI 创作画布:无限画布串联 11 家厂商的文本 / 图像 / 视频生成模型 An open-source, node-based AI creation canvas — chain text, image, and video models from 11 providers on an infinite canvas
中英双语 / Bilingual | 简体中文 | English | 日本語 | 한국어
文本 · 图片 · 视频全部 AI 能力,一个 Key 即可开通 Text, image, and video AI capabilities — one key unlocks everything
打开「设置 → 火宝快捷配置」粘贴 Key,一键写入 11 家厂商配置,开箱即用 Paste the key in "Settings → Huobao Quick Setup" to configure all 11 providers in one click
Huobao Canvas 是一个开源的节点式 AI 创作画布。在无限画布上放置文本 / 图像 / 视频节点,连线即把上游产出作为下游输入——文生图、图生视频、参考生视频自由串联,各家模型即插即用。 Huobao Canvas is an open-source, node-based AI creation canvas. Place text / image / video nodes on an infinite canvas and wire them together — upstream outputs flow into downstream inputs. Text-to-image, image-to-video, reference-to-video: mix and match models freely.
apps/web/ — Vue 3.5 + Vite 5 + Vue Flow + Naive UI + Pinia + vue-i18n + Tailwind
apps/server/ — 零 npm 依赖 Node 服务端(node:sqlite + 内置 fetch),画布存储 + 运行队列 / Zero-dependency Node server (node:sqlite + built-in fetch): canvas storage + run queue
apps/desktop/ — Electron 壳(utilityProcess 内嵌 server,esbuild 打包 + electron-builder 出 dmg/exe) / Electron shell (utilityProcess embeds the server; esbuild + electron-builder → dmg/exe)
docker/ — 单镜像一体化部署(前端产物 + 服务端 bundle,amd64/arm64 多架构) / All-in-one single image (frontend build + server bundle, amd64/arm64)
OpenAI、Anthropic、Gemini、Qwen、火山引擎、DeepSeek、MiniMax、Moonshot、智谱、Vidu、小米 MiMo OpenAI, Anthropic, Gemini, Qwen, Volcengine, DeepSeek, MiniMax, Moonshot, Zhipu, Vidu, Xiaomi MiMo
| 类型Type | 代表模型Notable Models |
|---|---|
| 对话Chat | GPT、Claude、Gemini、Qwen3、DeepSeek、Kimi、GLM、MiMoGPT, Claude, Gemini, Qwen3, DeepSeek, Kimi, GLM, MiMo |
| 图像Image | GPT Image 1.5/2、Gemini 图像、豆包 Seedream、万相GPT Image 1.5/2, Gemini Image, Doubao Seedream, Wan |
| 视频Video | 万相 2.7/3.0(文生/图生/参考生)、Seedance、Vidu、MiniMaxWan 2.7/3.0 (t2v/i2v/reference), Seedance, Vidu, MiniMax |
简体中文 / English / 日本語 / 한국어,界面内一键切换。 简体中文 / English / 日本語 / 한국어 — switch right in the UI.
前往 Releases 下载(海外)· 国内镜像直链(腾讯云,免翻墙,同版本同文件): Download from Releases (overseas) · China mirror direct links (Tencent Cloud, no proxy needed, same files):
macOS arm64 .dmg · macOS Intel .dmg · Windows .exe
| 平台Platform | 文件File |
|---|---|
| macOS Apple Silicon | HuobaoCanvas-<版本>-arm64.dmgHuobaoCanvas-<version>-arm64.dmg |
| macOS Intel | HuobaoCanvas-<版本>.dmgHuobaoCanvas-<version>.dmg |
| Windows x64 | HuobaoCanvas.Setup.<版本>.exeHuobaoCanvas.Setup.<version>.exe |
国内用户建议用镜像直链下载;应用内更新器同样国内源(腾讯 COS)优先、GitHub 兜底。 Users in China should prefer the mirror; the in-app updater likewise tries the China source (Tencent COS) first, falling back to GitHub.
xattr -cr /Applications/HuobaoCanvas.app
Unsigned macOS builds: right-click → Open on first launch, or run xattr -cr /Applications/HuobaoCanvas.appdocker run -d -p 8080:16812 -v canvas-data:/app/data huobao/huobao-canvas:latest
# 打开 http://localhost:8080 / Open http://localhost:8080
镜像发布在 Docker Hub,多架构 linux/amd64 + linux/arm64(Linux 服务器 / Windows / macOS 通用),可指定版本标签(如 huobao/huobao-canvas:1.0.0)锁定版本。或用 compose(附 Watchtower 每日自动更新):
Multi-arch image (linux/amd64 + linux/arm64, works on Linux servers / Windows / macOS) on Docker Hub — pin a version with its tag (e.g. huobao/huobao-canvas:1.0.0). Or use compose (Watchtower auto-updates daily):
cp .env.example .env # 按需修改 WATCHTOWER_TOKEN / edit WATCHTOWER_TOKEN as needed
docker compose up -d
git clone https://github.com/chatfire-AI/huobao-canvas.git
cd huobao-canvas/apps/web
pnpm install && pnpm dev # http://localhost:8022
本地开发如需画布持久化与服务端运行队列,另开终端
pnpm -C apps/server dev(Node ≥ 22.13)。 For canvas persistence and the server-side run queue during local dev, runpnpm -C apps/server devin another terminal (Node ≥ 22.13).
打开页面 → 右上角「设置」: Open the page → "Settings" (top right):
Key 默认保存在浏览器 localStorage;自部署时自动镜像到服务端(换浏览器无缝接管)。 Keys stay in browser localStorage by default; on self-hosted deployments they mirror to the server automatically (switch browsers seamlessly).
从空画布到文生图、图生视频、参考编辑的完整创作流程,5 步走完。 From an empty canvas to text-to-image, image-to-video, and reference-based editing — five steps.
左侧拖入文本 / 图像 / 视频节点,从节点边缘的 + 拉线连接——上游产出自动成为下游输入。文本 → 图片 → 图片编辑 → 视频,一张画布就是一条生产线。左上角可撤回 / 重做 / 自动布局,右下角小地图导航大图。 Drag text / image / video nodes in from the left, then wire them from the + handle on a node's edge — upstream output becomes downstream input automatically. Text → image → image edit → video: one canvas, one production line. Undo / redo / auto-layout live top-left; the minimap bottom-right navigates large graphs.
选中节点后底部弹出 Prompt Dock:已连接的素材自动出现在「参考内容」条(图1、图2…),输入 @ 可在提示词中引用指定素材。连线即生效,无需手动上传。
Select a node and the Prompt Dock opens at the bottom: connected assets appear automatically in the reference strip (图1, 图2…), and typing @ mentions a specific asset in your prompt. Wiring is all it takes — no manual uploads.
设置页「火宝快捷配置」粘贴 API Key 一键写入 11 家厂商;或在左侧「厂商官方直连」逐家填入官方 Key,全部支持连通测试。 Paste your API Key into "Huobao Quick Setup" to configure all 11 providers in one click; or fill in official keys provider-by-provider under "Official Direct" — every entry supports a connectivity test.
图片节点连到视频节点,Dock 中写好提示词(如「开心的大笑」),回车生成。异步视频任务由服务端队列执行并自动轮询——刷新页面、关掉浏览器,任务照样跑完。 Wire an image node into a video node, write the prompt in the Dock (e.g. "laughing happily"), press Enter. Async video tasks run in the server-side queue with automatic polling — refresh the page or close the browser, the task still finishes.
Dock 底部点模型名即可换模型:按厂商分组、支持搜索。双端点模型(如 GPT Image 的文生图 / 图片编辑)旁边还有「生成模式」切换——连了参考图时运行会自动切到正确的模式。 Click the model name at the bottom of the Dock to switch: grouped by provider, with search. Dual-endpoint models (e.g. GPT Image text-to-image / image-edit) also get a generation-mode chip — when a reference image is connected, the correct mode is selected automatically at run time.
cd apps/desktop
pnpm dist # macOS dmg(arm64 + Intel) / macOS dmg (arm64 + Intel)
pnpm dist:win # Windows NSIS 安装器(可在 macOS 上交叉打包) / Windows NSIS installer (cross-builds from macOS)
产物在 apps/desktop/release/。用户数据目录:~/Library/Application Support/HuobaoCanvas/(SQLite、生成结果文件)。
Artifacts land in apps/desktop/release/. User data: ~/Library/Application Support/HuobaoCanvas/ (SQLite + generated result files).
桌面版内置更新器(macOS 目录替换 / Windows 静默安装,本地 sha256 校验)。发布新版流程: The desktop app ships with an updater (macOS directory swap / Windows silent install, local sha256 verification). Release flow:
# 1. 改 apps/desktop/package.json 的 version,然后打包 / 1. Bump version in apps/desktop/package.json, then build
pnpm dist && pnpm dist:win
# 2. 生成版本清单 release/latest.json(含各平台产物 sha256) / 2. Generate release/latest.json (sha256 of every artifact)
pnpm feed
# 3. 上传 latest.json + 安装包 + zip 到 GitHub Release(tag 形如 v1.0.1) / 3. Upload latest.json + installers + zips to a GitHub Release (tag like v1.0.1)
客户端启动后自动检查更新(清单地址可用 CANVAS_UPDATE_FEED 环境变量覆盖)。
Clients check for updates on launch (override the feed URL with the CANVAS_UPDATE_FEED env var).
一行启动(拉取预构建镜像): One-liner (prebuilt image):
docker run -d --name huobao-canvas \
-p 8080:16812 \
-v canvas-data:/app/data \
huobao/huobao-canvas:latest
latest 滚动最新;锁定版本用 huobao/huobao-canvas:1.0.0(与 GitHub Releases 同步)
Version tags: latest tracks the newest build; pin a release with huobao/huobao-canvas:1.0.0 (kept in sync with GitHub Releases)linux/amd64 + linux/arm64,x86 服务器 / ARM 服务器 / Windows / macOS 通用
Multi-arch: linux/amd64 + linux/arm64 — x86 servers, ARM servers, Windows, macOScanvas-data(SQLite 画布 / Key 镜像 / 运行队列 / 生成结果文件),更新镜像不丢数据
Persistence: named volume canvas-data (SQLite canvas / key mirror / run queue / generated files) — image updates keep your data本地构建(不拉镜像,源码构建): Build from source (no prebuilt image):
git clone https://github.com/chatfire-AI/huobao-canvas.git && cd huobao-canvas
docker build -t huobao-canvas:local .
docker run -d -p 8080:16812 -v canvas-data:/app/data huobao-canvas:local
docker compose(应用 + Watchtower 每日自动更新): docker compose (app + Watchtower daily auto-updates):
# 服务器上无需克隆仓库,两个文件即可 / No need to clone the repo — two files are enough
curl -O https://raw.githubusercontent.com/chatfire-AI/huobao-canvas/master/docker-compose.yml
curl -O https://raw.githubusercontent.com/chatfire-AI/huobao-canvas/master/.env.example
mv .env.example .env # 修改 WATCHTOWER_TOKEN(生产环境务必改) / change WATCHTOWER_TOKEN (required in production)
docker compose up -d # http://localhost:8080
Watchtower 每日自检一次,Docker Hub 有新 latest 镜像时自动拉取重建容器(--label-enable 只更新本应用,--cleanup 清理旧镜像)。不用自动更新:删除 compose 里的 watchtower 服务,手动更新执行 docker compose pull && docker compose up -d。
Watchtower checks daily and rebuilds the container when a new latest image lands on Docker Hub (--label-enable updates only this app, --cleanup prunes old images). Don't want auto-updates? Remove the watchtower service and update manually with docker compose pull && docker compose up -d.
| 变量Variable | 默认值Default | 说明Description |
|---|---|---|
UPSTREAM | https://api.firemux.cn | 推理网关默认地址(设置页仍可按用户覆盖)Default inference gateway (users can still override in Settings) |
API_BASE_URL | 空empty | 浏览器侧请求基地址,留空 = 同源(推荐,规避 CORS)Browser-side request base URL; empty = same origin (recommended, avoids CORS) |
WATCHTOWER_TOKEN | please-change-me | Watchtower HTTP API 令牌,生产环境务必修改Watchtower HTTP API token — change it in production |
HUOBAO_VERSION | dev | 构建时注入的版本号(发布镜像时指定,供「关于更新」比对)Version injected at build time (set it when publishing images; used by "About Updates") |
PORT | 16812 | 容器内监听端口(一般不改,改则同步调整 -p 映射)In-container listen port (leave as is; if changed, adjust the -p mapping too) |
| 变量Variable | 默认值Default | 说明Description |
|---|---|---|
VITE_API_BASE_URL | https://api.firemux.cn | 推理端点(任意 OpenAI 兼容网关)Inference endpoint (any OpenAI-compatible gateway) |
VITE_UPSTREAM | https://api.firemux.cn | dev server 代理目标Dev-server proxy target |
更多细节见 docs/configuration.md 与 docs/architecture.md。 See docs/configuration.md and docs/architecture.md for details.
v2 全面重构后首个稳定版(monorepo + 11 家厂商官方适配): First stable release after the v2 rewrite (monorepo + 11 official provider adapters):
v1 旧版代码与文档保留在
legacy/v1分支。 The v1 codebase and docs live on thelegacy/v1branch.
本项目采用 CC BY-NC-SA 4.0(署名-非商业性使用-相同方式共享 4.0 国际)许可证。 Licensed under CC BY-NC-SA 4.0 (Attribution-NonCommercial-ShareAlike 4.0 International).
许可证全文见 LICENSE。 Full text in LICENSE.
欢迎提交 Issue 和 Pull Request! Issues and Pull Requests are welcome!
git checkout -b feature/AmazingFeature)
Create a feature branch (git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')
Commit your changes (git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)
Push to the branch (git push origin feature/AmazingFeature)常用检查命令: Useful checks:
cd apps/web && pnpm test # 厂商预设校验 + 四语消息编译 / provider preset validation + four-language message compilation
扫码加入微信群交流: Scan the QR code to join the WeChat group:
"让 AI 帮我们做更有创造力的事" "Let AI do the creative work with us"