ZC

zambav/comfyui-agent-toolkit

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

20 stars 质量 61 趋势 14MIT

用你的AI代理用通俗易懂的英语运行ComfyUI。图像、视频和LoRA工作流程——任何安装、任何模型、任何代理工具。

概览

用你的AI代理用通俗易懂的英语运行ComfyUI。图像、视频和LoRA工作流程——任何安装、任何模型、任何代理工具。 快速入门 ·已完成的示例 ·你可以问什么 ·为什么它有效 ·适用于任何代理 ·何时使用 ·仓库结构 别手动编辑JSON工作流。告诉你的代理你想要什么,它会构建工作流,排队作业,观察它们运行,并反馈。 不做JSON编辑。不做“发射后忘掉”队列。不做无声失败。只要:描述它,运行它,获取文件。 然后开始给你的客服分配ComfyUI任务。就这样。 每个触发器都经过相同的经过验证的执行路径(参见为什么这有效)。 真实会话,简称。代理遵循脚本/api_lib.py和 reference-implementations.md 中的模式。 “把D:/渲染/科幻里的所有东西都变成一个情绪化的赛博朋克电影。用一个好的提示词。输出到D:/渲染/科幻/电影。”

概述(AI 翻译)

用你的AI代理用通俗易懂的语言运行ComfyUI。 图像、视频和LoRA工作流程——任何安装、任何模型、任何代理机束。

快速入门 · 示例 · 你可以问什么· 为什么有效 · 可与任何代理人合作 · 何时使用 · 仓库结构


用自然语言与ComfyUI对话

别手动编辑JSON工作流。告诉你的代理你想要什么,它会构建工作流,排队作业,观察它们运行,并反馈。

不做JSON编辑。不做“发射后忘掉”队列。不做无声失败。只要:描述它,运行它,获取文件。


快速开始

然后开始给你的客服分配ComfyUI任务。就这样。


你可以问什么

触发 发生了什么
“将此文件夹批量分成图片” 运行FLUX 2图像编辑批处理,并根据你给出的提示
“生成X图像” 运行FLUX 2 T2I单次生成
“让这段视频播放得慢” 运行LTX 2.3 I2V(图像到视频)渲染
“将此文件夹转换成短片电影片段” 在您的图像集上运行LTX 2.3批次

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Run ComfyUI in plain English from your AI agent. Image, video, and LoRA workflows — any install, any model, any agent harness.

Quick start · Worked example · What you can ask · Why it works · Works with any agent · When to use · Repo structure


Talk to ComfyUI in natural language

Stop hand-editing JSON workflows. Tell your agent what you want, and it builds the workflow, queues the jobs, watches them run, and reports back.

You:    "batch this entire image folder into cinematic portraits and pick good prompts"
Agent:  "Where are the photos? Where should outputs go? What should I call this batch?"
You:    "D:/photos/portraits, D:/photos/portraits/cinematic, 'portraits_v1'"
Agent:  "47 images found. Running FLUX 2 image edit, one prompt, randomized seed."
         [.. 47 jobs queued, each one blocks on completion, each one verified with /history ..]
Agent:  "Done. 47/47 OK. Output: D:/photos/portraits/cinematic/batch_01/"

No JSON editing. No fire-and-forget queueing. No silent failures. Just: describe it, run it, get the files.


Quick start

# 1. Drop the skill into your agent's environment
git clone https://github.com/Zambav/comfyui-skill-public.git
cd comfyui-skill-public

# 2. Read the right entry point
#    - AI agent       -> AGENTS.md
#    - Human operator -> SKILL.md

# 3. (Optional) Copy the production helper into your project
cp scripts/api_lib.py /path/to/your/project/

# 4. Install runtime dependencies
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add zambav/comfyui-agent-toolkit
新手?先看 mcpskill.org 教程 →