comfyui-workflow

Generates importable ComfyUI workflow JSON files from natural language descriptions.

411|61|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/LingyiChen-AI/comfyui-workflow-skill --skill comfyui-workflow-lingyichen-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: comfyui-workflow
Source: https://github.com/LingyiChen-AI/comfyui-workflow-skill
Command: npx skills add https://github.com/LingyiChen-AI/comfyui-workflow-skill --skill comfyui-workflow-lingyichen-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building ComfyUI workflows requires manually wiring nodes, checking parameter ranges, and looking up model files, which is slow and error-prone. This Skill turns a plain-language request into a valid LiteGraph-format workflow JSON that imports directly into ComfyUI. ## Core Features & Use Cases - 34 built-in templates: Covers txt2img, img2img, inpaint, ControlNet, LoRA, upscale, video generation (Wan 2.2, HunyuanVideo, LTXV, Mochi, Cosmos), Stable Audio, and Hunyuan3D across SD 1.5, SDXL, SD3, and FLUX. - 360+ node definitions on demand: A categorized node registry (42 files) ensures correct input types, widget values, and min/max constraints without loading everything into context. - Automatic model download metadata: Every generated workflow includes a top-level models array with HuggingFace URLs so ComfyUI prompts downloads for missing models on import. - LLM integration: Supports comfyui_LLM_party nodes (OpenAI, Claude, Gemini, DeepSeek, Ollama) for script-to-video and prompt-enhancement pipelines. - Use Case: Ask for a FLUX text-to-image plus Wan 2.2 image-to-video pipeline, receive a complete JSON file, drag it into ComfyUI, and run it after the auto-prompted model downloads finish. ## Quick Start Ask the AI to generate a ComfyUI workflow for your task, for example by saying: create a Wan 2.2 image-to-video workflow with camera control at 720p.

Frequently Asked Questions about comfyui-workflow

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

FAQPage Schema
How do I generate a ComfyUI workflow from a text description?

Describe the task type, model, and parameters in natural language, such as asking for a FLUX text-to-image workflow. The Skill selects a matching template, customizes nodes and parameters, and outputs a complete JSON file you can drag into ComfyUI.

What models and tasks does this ComfyUI workflow generator support?

It ships 34 templates covering SD 1.5, SDXL, SD3, and FLUX for images; Wan 2.2, HunyuanVideo, LTXV, Mochi, and Cosmos for video; plus Stable Audio, Hunyuan3D v2, upscaling, inpainting, ControlNet, and LoRA workflows.

Does the generated ComfyUI workflow download missing models automatically?

Yes. Every generated workflow includes a top-level models array with filenames, HuggingFace URLs, and target directories. ComfyUI detects missing models on import and prompts you to download them.

Can I use LLM nodes like OpenAI or Ollama inside a ComfyUI workflow?

Yes, through the comfyui_LLM_party custom node package installed in ComfyUI. The Skill supports LLM_api_loader and aisuite_loader nodes for OpenAI, Claude, Gemini, DeepSeek, Ollama, and OpenAI-compatible APIs.

Why does my generated workflow show a widgets_values error in ComfyUI?

Errors like Value not in list usually mean a COMBO widget value is not in the allowed list, a seed is missing the following randomize control value, or a number is outside its min/max range. The Skill's node registry defines valid values to prevent this.

What if no local template matches my requested workflow?

The Skill falls back to the official Comfy-Org workflow_templates repository, which contains 443 templates across 9 categories. It reads the index, finds a matching template, and uses it as the base for generation.