comfyui

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

5|2|Updated May 26, 2026
One-click install
npx skills add https://github.com/perasyudha/Nyxora --skill comfyui-perasyudha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: comfyui
Source: https://github.com/perasyudha/Nyxora/tree/main/packages/core/playbooks/creative/comfyui
Command: npx skills add https://github.com/perasyudha/Nyxora --skill comfyui-perasyudha

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 ComfyUI and executing its workflows programmatically is error-prone: hardware requirements vary, workflows must be in API format, dependencies (custom nodes, models, embeddings) are often missing, and the official CLI lacks execution support. This Skill automates the full lifecycle from hardware detection and installation to parameterized workflow execution and output retrieval. ## Core Features & Use Cases - Automated Setup & Health Checks: Detect GPU/VRAM, choose local vs Comfy Cloud, install via comfy-cli, and verify with a one-line health check. - Workflow Execution with Parameter Injection: Inspect any API-format workflow for controllable parameters, inject prompts/seeds/dimensions, submit jobs, monitor progress over WebSocket, and download outputs safely. - Dependency Management: Check workflows against a running server for missing custom nodes, models, and embeddings, then auto-install them with comfy-cli. - Use Case: A user asks to generate 8 variations of an SDXL image with random seeds; the Skill validates the workflow, confirms the checkpoint is installed, runs a parallel batch, and returns the output file paths as JSON. ## Quick Start Ask the agent to generate an image with a prompt using the SDXL example workflow, and it will check the server, inject your prompt, run the job, and return the output files.

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, passing parameters via --args and an output directory. The script injects your values, submits the job to the server, monitors execution, and downloads the generated files.

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, runs comfy install with the right GPU flag, and launches the server in the background. Manual install uses pipx install comfy-cli followed by comfy install --nvidia.

Can I use ComfyUI without a GPU?

Local ComfyUI requires an NVIDIA GPU with at least 6 GB VRAM, AMD with ROCm, or Apple Silicon with 16 GB unified memory. Machines without a capable GPU should use Comfy Cloud, which runs hosted workflows through an API key.

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 get the exact comfy node install command, or use auto_fix_deps.py to install them automatically.

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

API format workflows have top-level node IDs with class_type fields and are directly executable via the REST API. Editor format contains nodes and links arrays for the visual UI and must be re-exported using Workflow → Export (API) before programmatic execution.

How do I run ComfyUI workflows on Comfy Cloud?

Set the COMFY_CLOUD_API_KEY environment variable and pass --host https://cloud.comfy.org to the scripts. Note that the free tier cannot run workflows via the API; a paid subscription is required for prompt submission and output download.