comfyui

Execute ComfyUI API-format workflows for image, video, audio, and 3D generation.

Updated May 16, 2026
One-click install
npx skills add https://github.com/jaredcroxton/hermes-mirror --skill comfyui-jaredcroxton
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: comfyui
Source: https://github.com/jaredcroxton/hermes-mirror/tree/main/agents/skills/creative/comfyui
Command: npx skills add https://github.com/jaredcroxton/hermes-mirror --skill comfyui-jaredcroxton

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you reliably generate high-quality images, video, audio, and related generative outputs with ComfyUI by handling installation, workflow execution, parameter injection, and output downloads across both local ComfyUI and Comfy Cloud.

Core Features & Use Cases

  • Environment-aware setup and lifecycle: Uses the official comfy-cli to install ComfyUI, launch the server, manage nodes and models, and run verification checks.
  • Workflow execution with parameter injection: Runs API-format ComfyUI workflows, injects user parameters (prompt, seed, steps, CFG/denoise, dimensions, model names), optionally uploads input images for img2img/inpaint, and supports batch/sweeps.
  • Operational tooling and guardrails: Validates dependencies (nodes/models/embeddings), monitors progress via WebSocket or polling, streams large outputs without buffering, and downloads files with path-traversal protection.

Quick Start

Tell the Skill to generate an image by instructing it to run an API-format workflow at your running ComfyUI server: "Generate a Flux Dev text-to-image using workflows/flux_dev_txt2img.json with prompt 'a serene mountain landscape at golden hour' and steps 20, saving results to ./outputs."

Frequently Asked Questions about comfyui

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

FAQPage Schema
How do I execute an API-format ComfyUI workflow to generate images?▼

To execute ComfyUI workflows for image generation, the Skill runs API-format JSON files and injects parameters like prompts, seeds, and steps. It routes requests via REST and WebSocket endpoints to local or Comfy Cloud backends for real-time generation.

Can I generate video using AnimateDiff or Hunyuan pipelines with ComfyUI?▼

Yes, you can generate video using AnimateDiff, Hunyuan, Wan, and LTX pipelines. The Skill executes these API-format workflows with user-controlled parameters and monitors progress via WebSocket or polling to stream and download large video outputs safely.

Do I need comfy-cli installed to run ComfyUI workflows?▼

Yes, comfy-cli is required for environment setup and lifecycle management. The Skill uses the official comfy-cli to install ComfyUI, launch the server, manage nodes and models, and run verification checks before executing any API-format workflows.

How do I upload input images for img2img or inpainting in ComfyUI?▼

To perform img2img or inpainting tasks, the Skill optionally uploads input images and injects them into your API-format workflow. It validates dependencies like nodes, models, and embeddings before routing the execution request to the backend.

What is the best way to run batch sweeps and monitor progress in ComfyUI?▼

The best way to run batch sweeps in ComfyUI is by executing API-format workflows with varied parameters while monitoring progress via WebSocket or polling. The Skill streams large outputs without buffering and applies path-traversal protection during downloads.

Why does my ComfyUI workflow execution fail before generating outputs?▼

ComfyUI workflow execution fails if dependencies are missing or paths are unsafe. The Skill applies operational guardrails by validating nodes, models, and embeddings beforehand, and enforces path-traversal protection when downloading generated outputs to prevent security issues.