comfyui

Generate images, video, and audio by running ComfyUI workflows via REST and WebSocket APIs.

Updated Jun 7, 2026
One-click install
npx skills add https://github.com/Chensihakniroth/ANAKOT-AGENT --skill comfyui-chensihakniroth
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: comfyui
Source: https://github.com/Chensihakniroth/ANAKOT-AGENT/tree/main/skills/creative/comfyui
Command: npx skills add https://github.com/Chensihakniroth/ANAKOT-AGENT --skill comfyui-chensihakniroth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires comfy-cli, requests, websocket-client, and includes scripts (resource) and references (resource) components.

What problem does it solve? Setting up and operating ComfyUI for generative media requires juggling installation, GPU compatibility, custom nodes, model downloads, and workflow execution, which is error-prone when done manually. ## Core Features & Use Cases - Automated Setup & Health Checks: Hardware probing decides between local install and Comfy Cloud, then comfy-cli installs, launches, and verifies the server. - Workflow Execution with Parameter Injection: Extract controllable parameters from API-format workflow JSON, inject prompts/seeds/dimensions, submit jobs, monitor progress over WebSocket, and download outputs. - Dependency Management: Check workflows against a running server for missing custom nodes, models, and embeddings, then auto-install them via comfy-cli. - Use Case: Ask the agent to generate eight variations of an SDXL image with random seeds; it validates dependencies, runs the batch in parallel, and returns the output file paths. ## Quick Start Use the comfyui skill to check my hardware, set up ComfyUI, and generate an image of a sunset over mountains with the SDXL workflow.

Frequently Asked Questions about comfyui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a ComfyUI workflow from the command line?▼

Use run_workflow.py with an API-format workflow JSON and a parameter payload, for example passing prompt, seed, and steps via --args. The script submits the job to the server, monitors execution, and downloads outputs to your chosen directory.

What hardware do I need to run ComfyUI locally?▼

Local ComfyUI needs an NVIDIA GPU with at least 6 GB VRAM (8 GB for SDXL, 12 GB or more for Flux and video), an AMD GPU with ROCm on Linux, or an Apple Silicon Mac with 16 GB unified memory. Machines without a capable GPU should use Comfy Cloud instead.

Can I use ComfyUI without a GPU through Comfy Cloud?▼

Yes, Comfy Cloud hosts workflows on RTX 6000 Pro GPUs with common models preinstalled. Set the COMFY_CLOUD_API_KEY environment variable and pass --host https://cloud.comfy.org; note the free tier cannot run workflows via the API.

Why does my ComfyUI workflow fail with class_type not found?▼

This error means a required custom node is not installed on the server. Run check_deps.py to identify the missing package, then install it with comfy node install, or let auto_fix_deps.py perform the installation automatically.

What is the difference between editor format and API format workflows?▼

API format workflows have top-level node IDs with class_type fields and are directly executable via the /api/prompt endpoint. Editor format contains nodes and links arrays for the visual UI and must be re-exported using Workflow → Export (API) before scripts can run it.

How do I generate multiple image variations with different seeds?▼

Use run_batch.py with --count and --randomize-seed to submit the same workflow repeatedly with fresh seeds. The --parallel flag controls concurrency up to your local capacity or Comfy Cloud tier limit.