Kokon
一款免费的本地化方案,可替代 Nano Banana 和 Generative Fill。涂抹区域,输入更改,由您自己的 GPU 进行编辑。提供 Windows、Mac 和 Linux 的单一安装程序。
AI 翻译
ComfyUI template workflows
翻译准备中
设计GitHub @Comfy-Org自行安装运营者未确认
试用过了吗? 点一下就好,无需登录。
尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗This repo hosts the official ComfyUI workflow templates and subgraph blueprints.
| Content | Description | Location |
|---|---|---|
| Workflow Templates | Full standalone workflows for the template picker | templates/, packages/ |
| Subgraph Blueprints | Reusable node components that appear in the node palette | blueprints/, packages/blueprints/ |
| Template Site | Astro SSG that showcases templates at comfy.org/workflows | site/ |
The repository uses a package-per-media structure for Python distribution:
packages/core – manifest + loader helpers shipped as comfyui-workflow-templates-corepackages/media_* – workflow template JSON + preview assets for each media typepackages/blueprints – subgraph blueprint JSON + preview assets as comfyui-subgraph-blueprintspackages/meta and the root pyproject.toml – the comfyui-workflow-templates meta packagesite/)The site/ directory contains an independent Astro static site that provides a browsable, searchable interface for all workflow templates. It includes AI-generated descriptions, i18n support (12 languages), SEO optimization, and automated content pipelines. See site/AGENTS.md for full documentation.
cd site
pnpm install
pnpm run dev # Start dev server at localhost:4321
pnpm run build # Production build (runs prebuild pipeline automatically)
The template site is deployed to four environments via GitHub Actions:
main merge (version bump)
└─ PyPI publish ─► deploy-site.yml ─► Production (approved only)
Once per day (00:00 UTC)
└─ cron-rebuild-site.yml ─► Production (prod API, approved only)
Once per day (00:00 UTC)
└─ preview-cron.yml
├─ main (prod API) ─► Preview Prod (prod API, all workflows)
└─ main (test API) ─► Preview Test (test API, all workflows)
PR opened/updated
├─ preview-site.yml ─► PR Preview (one-off)
└─ preview-cron.yml (label) ─► PR Preview (daily, requires "preview-cron" label)
| Environment | Workflow | API | Status Filter | Vercel Flag | Alias Secret | Trigger |
|---|---|---|---|---|---|---|
| Production | deploy-site.yml | Production | approved only | --prod | — | PyPI publish / manual |
| Production | cron-rebuild-site.yml | Production | approved only | --prod | — | Once per day (00:00 UTC) |
| Preview Prod | preview-cron.yml (main, prod) | Production | None (all) | preview | VERCEL_PREVIEW_ALIAS | Once per day (00:00 UTC) |
| Preview Test | preview-cron.yml (main, test) | Test | None (all) | preview | VERCEL_PREVIEW_TEST_ALIAS | Once per day (00:00 UTC) |
| PR Preview | preview-site.yml | Configurable | None (all) | preview | — | PR changes |
| PR Preview | preview-cron.yml (PR) | Test | None (all) | preview | — | Once per day (00:00 UTC) |
Status filtering is controlled by the PUBLIC_APPROVED_ONLY environment variable at build time. When set to 'true', only workflows with status: 'approved' from the hub API index endpoint are included in the build. Preview environments omit this flag to show all workflows (pending, approved, rejected, deprecated) for internal review.
| Task | Commands |
|---|---|
| Add a workflow template | Edit templates/ + bundles.json (assign a bundle). Manifest sync is optional on template-only PRs — required on version-bump/release |
| Add a subgraph blueprint | Edit blueprints/, blueprints_bundles.json, then python scripts/sync/sync_blueprints.py |
| Import external blueprints | Copy JSONs to blueprints/, then python scripts/blueprints/import_blueprints.py |
| Check node compatibility | npm run validate:comfyui-nodes (local ComfyUI) or see scripts/README.md |
I will demonstrate how to add a new template by walking through the process of adding the Wan text to video template.
Set up ComfyUI_frontend dev environment. In the ComfyUI_frontend/.env file, add the line DISABLE_TEMPLATES_PROXY=true then start the dev server with npm run dev.
Copy the templates folder from this repository to the ComfyUI_frontend/public folder.
Either
Save => ExportI will get my workflow from the ComfyUI_examples Wan 2.1 page. To get the workflow from the video on that page, I'll drag the video into comfyui-embedded-workflow-editor. Then I'll copy and paste it into a new json file on my computer.
[!IMPORTANT]
Make sure you start ComfyUI with
--disable-all-custom-nodeswhen creating the workflow file (to prevent custom extensions adding metadata into the saved workflow file)
Ideally, the thumbnail is simply the output produced by the workflow on first execution. As an example, see the output of the Mixing ControlNets template:
以上为 README 的开头部分。其余内容请阅读原文。 查看完整 README ↗