comfyui
Drive ComfyUI (local Stable Diffusion / image-gen pipeline) via its HTTP API to generate and edit images. Use when the user has ComfyUI running and wants…
от metaspartan★ 41 звезда на GitHub
Установить comfyui в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
ComfyUI
ComfyUI is a node-based Stable Diffusion pipeline with an HTTP API. Generate images by posting a workflow (prompt graph) and polling for results.
When to use
- "generate an image of … (via ComfyUI)"
- img2img, inpainting, upscaling, or custom SDXL/Flux workflows.
- The user references ComfyUI explicitly or has it installed.
How it works
- Build a workflow graph as JSON (
promptAPI). Each node has aclass_typeandinputs. A minimal txt2img graph: CheckpointLoader → CLIPTextEncode (pos/neg) → EmptyLatentImage → KSampler → VAEDecode → SaveImage. - Submit:
POST /promptwith{"prompt": <graph>, "client_id": <id>}. Returns aprompt_id. - Poll history:
GET /history/<prompt_id>until the output image(s) appear, then fetch from/view?filename=…. - Save outputs to the workspace and state their paths.
Minimal node template (txt2img)
{
"3": { "class_type": "KSampler", "inputs": {
"seed": 42, "steps": 25, "cfg": 7, "sampler_name": "euler", "scheduler": "normal",
"denoise": 1, "model": ["4",0], "positive": ["6",0], "negative": ["7",0],
"latent_image": ["5",0] } },
"4": { "class_type": "CheckpointLoaderSimple", "inputs": { "ckpt_name": "sdxl_base.safetensors" } },
"5": { "class_type": "EmptyLatentImage", "inputs": { "width": 1024, "height": 1024, "batch_size": 1 } },
"6": { "class_type": "CLIPTextEncode", "inputs": { "text": "<prompt>", "clip": ["4",1] } },
"7": { "class_type": "CLIPTextEncode", "inputs": { "text": "<negative>", "clip": ["4",1] } },
"8": { "class_type": "VAEDecode", "inputs": { "samples": ["3",0], "vae": ["4",2] } },
"9": { "class_type": "SaveImage", "inputs": { "filename_prefix": "cybara", "images": ["8",0] } }
}
Notes
- Default server:
http://127.0.0.1:8188(override via the request URL). - Use the
httptool to submit/poll; you don't need rawfetch. - For img2img/inpaint, add
LoadImage+ replaceEmptyLatentImage; lowerdenoise(~0.5–0.75) to keep structure. - Always state the server URL and output path in your response.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл comfyui?
Drive ComfyUI (local Stable Diffusion / image-gen pipeline) via its HTTP API to generate and edit images. Use when the user has ComfyUI running and wants image generation/upscale/img2img workflows.
Как установить скилл comfyui?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл comfyui запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…