comfyui

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

Updated Jul 10, 2026
One-click install
npx skills add https://github.com/AvaTar-ArTs/.Agent-skills --skill comfyui-avatar-arts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: comfyui
Source: https://github.com/AvaTar-ArTs/.Agent-skills/tree/main/skills/creative/comfyui
Command: npx skills add https://github.com/AvaTar-ArTs/.Agent-skills --skill comfyui-avatar-arts

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Running ComfyUI workflows programmatically requires juggling installation, model management, API-format workflow JSON, parameter injection, and output retrieval across local and cloud servers, which is tedious to do by hand. ## Core Features & Use Cases - Lifecycle Management: Install, launch, and verify ComfyUI locally using the official comfy-cli, with hardware checks that route underpowered machines to Comfy Cloud. - Workflow Execution: Inject parameters (prompt, seed, steps, dimensions) into API-format workflow JSON, submit jobs, monitor progress over WebSocket, and download outputs safely. - Dependency Resolution: Detect missing custom nodes, models, and embeddings in a workflow and auto-install them via comfy-cli. - Use Case: Ask the agent to generate eight variations of an SDXL image with random seeds; it checks dependencies, runs the batch in parallel, and returns the output file paths. ## Quick Start Ask the agent to generate an image of a sunset over mountains using the SDXL text-to-image workflow and save the result to an outputs folder.

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 --workflow sdxl.json --args '{"prompt": "..."}'. The script submits the job to the server, monitors execution, and downloads outputs to your chosen directory.

How do I install ComfyUI with comfy-cli?

Run the comfyui_setup.sh script, which checks your hardware, installs comfy-cli via pipx or uvx, installs ComfyUI with the right GPU flag, and launches the server on port 8188. Alternatively run comfy install --nvidia, --amd, or --m-series manually.

Can I use ComfyUI without a GPU?

Yes, through Comfy Cloud, which hosts workflows on RTX 6000 Pro GPUs and requires only an API key. Local installs need an NVIDIA GPU with at least 6 GB VRAM, AMD with ROCm, or Apple Silicon with 16 GB unified memory.

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 against the workflow to identify missing nodes and models, then auto_fix_deps.py to install them via comfy node install.

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

API format has top-level node IDs each with a class_type field and is directly executable via the /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.

What are the limitations of the Comfy Cloud free tier?

The free tier cannot run workflows via the API; endpoints like /api/prompt, /api/view, and /api/object_info return 403. Paid tiers allow 1 to 5 concurrent jobs depending on the plan, and the scripts route cloud endpoint renames automatically.