comfyui-imagegen
Generate images via ComfyUI API (localhost:8188) using Flux2 workflow. Supports prompt/seed/steps customization. Use when user requests AI image generation with ComfyUI (e.g., 'gen…
halr9000
@halr9000
Install
$ openclaw skills install @halr9000/comfyui-imagegenComfyUI ImageGen
Changelog
- [2026-02-10 23:05]: v1.0.2 - Workflow v3: "Image Save with Prompt/Info (WLSH)" (node 85) for improved metadata embedding. Script updated to poll node 85.
- [2026-02-10 23:00]: Added explicit instruction to always send generated image to user post-generation via
messagetool. - [2026-02-10]: Updated to new workflow: JPG output with embedded prompt/metadata via "Image Save with Prompt File (WLSH)". Model changed to
darkBeastFeb0826Latest_dbkBlitzV15.safetensors. Script now polls node 84.
Usage
- Verify ComfyUI runs on
localhost:8188(or override--host). - exec:
python skills/comfyui-imagegen/scripts/generate.py "your prompt here" --output ./my-image.png - Always send generated JPG to user immediately via
messagetool'smedia/path(e.g.,message action=send channel=telegram media=./output.jpg replyTo=<message_id>; infer channel/current replyTo as needed). - Customize:
Arg Default Notes --seedrandom Fix for repro --steps5 Up to 20-50 for quality --hostlocalhost:8188 Remote if needed --outputgen-{seed}.jpg Full path
Workflow Details
- Model: darkBeastFeb0826Latest_dbkBlitzV15.safetensors (Flux2 variant)
- CLIP: qwen_3_8b_fp8mixed.safetensors
- VAE: flux2-vae.safetensors
- Sampler: dpmpp_2m (CFG=1.0)
- Size: 1024x1024
- Template: workflows/flux2.json (edit for advanced changes)
Script handles POST /prompt, polls /history, downloads via /view.
Examples
python skills/comfyui-imagegen/scripts/generate.py "A butler in a library" --steps 10 --output ./butler.jpg
For batch/variants: Loop in bash or spawn sub-agent.
Top skills in this category
Nano Banana Pro
@steipeteGenerate/edit images with Nano Banana Pro (Gemini 3 Pro Image). Use for image create/modify requests incl. edits. Supports text-to-image + image-to-image; 1K/2K/4K; use --input-image.
AdMapix
@fly0pantsAdMapix raw data layer for ad creatives, apps, rankings, downloads/revenue, and market metadata. Returns structured JSON from the AdMapix API; the calling ag...
YouTube Watcher
@michaelgatharaFetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.
SuperDesign
@mpociotExpert frontend design guidelines for creating beautiful, modern UIs. Use when building landing pages, dashboards, or any user interface.
Video Frames
@steipeteExtract frames or short clips from videos using ffmpeg.