comfyui

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

Updated Aug 22, 2026
One-click install
npx skills add https://github.com/vivekgoquest/hermes-agent-stable --skill comfyui-vivekgoquest
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: comfyui
Source: https://github.com/vivekgoquest/hermes-agent-stable/tree/main/skills/creative/comfyui
Command: npx skills add https://github.com/vivekgoquest/hermes-agent-stable --skill comfyui-vivekgoquest

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 generative AI workflows in ComfyUI requires manual setup, model management, and workflow execution through a web UI, which blocks automation and headless operation for agents and scripts. ## Core Features & Use Cases - Automated Setup & Health Checks: Hardware detection, one-command ComfyUI installation via comfy-cli, and verification of server, models, and custom nodes. - Workflow Execution: Inject parameters into API-format workflow JSON, submit jobs locally or to Comfy Cloud, monitor progress over WebSocket, and download outputs safely. - Dependency Management: Detect missing custom nodes, models, and embeddings in a workflow and auto-install them with concrete remediation commands. - Use Case: A user asks to generate eight Flux image variations with random seeds; the skill checks dependencies, submits a batch job with parallelism, and returns the output file paths as JSON. ## Quick Start Use the comfyui skill to generate an image of a sunset over mountains with the SDXL text-to-image workflow and save the outputs to a local 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 passing prompt, seed, and steps via --args. The script submits the job to the server, monitors execution, and downloads outputs to your chosen directory.

How do I generate images with ComfyUI without a GPU?▼

Use Comfy Cloud, which 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 to the run scripts; a paid subscription is required to execute workflows.

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 at least 16 GB unified memory. The hardware_check.py script probes your machine and recommends local versus cloud.

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 list missing nodes with install commands, or use auto_fix_deps.py to install them automatically via comfy node install.

Can I use editor-format workflow JSON with the ComfyUI API?▼

No, the /api/prompt endpoint and these scripts require API-format JSON where each node has a class_type field. Re-export from the ComfyUI web UI using Workflow → Export (API) to convert editor format into an executable workflow.

How do I run batch image generation with random seeds in ComfyUI?▼

Use run_batch.py with --count for the number of variations, --randomize-seed for fresh seeds per run, and --parallel to match your cloud tier's concurrency limit. Outputs are saved to the specified directory with per-run JSON metadata.