ComfyUI Controller Pro

# SKILL.md - ComfyUI Controller

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ComfyUI Controller Pro" with this command: npx skills add yun520-1/comfyui-controller

SKILL.md - ComfyUI Controller

Skill Description

Advanced ComfyUI batch video and image generation system with LTX-2.3 support, browser automation, workflow execution, and model download capabilities.

Features

  • 🎬 Batch Video Generation: Generate 10-100 videos in batch
  • 🖼️ LTX2 Model Support: Multi-version LTX2 video generator (v1/v2/v3)
  • 🌐 Browser Automation: Browser-based video generation
  • Workflow Execution: Run ComfyUI workflows via HTTP API
  • ⬇️ Model Download: Auto-download model weights from URLs
  • 🚀 Turbo Z Generation: Fast image generation
  • 🎵 Batch Scene Generation: Music video multi-scene rendering
  • 🔧 Workflow Management: Automatic workflow execution

Installation

pip install -r requirements.txt

System Requirements:

  • Python 3.8+
  • ComfyUI installed at ~/ComfyUI
  • GPU ≥24GB VRAM (recommended for LTX2)
  • playwright, requests

Usage

Batch Generate 10 Videos

python auto_generate_10_videos.py

Batch Generate 100 Xianxia News

python auto_run_100_xiuxian.py

LTX2 Video Generation (Recommended)

python generate_xiuxian_ltx2_v2.py

Recommended Settings:

  • Steps: 15 (best balance, ~57 min)
  • Frames: 72 (3s test) or 480 (20s final)
  • Mode: I2V + LoRA

Run ComfyUI Workflow

# Edit workflow JSON first, then run
~/ComfyUI/venv/bin/python scripts/comfyui_run.py \
  --workflow assets/tmp-workflow.json

Download Model Weights

# Download from URL
echo "https://example.com/model.safetensors" | \
~/ComfyUI/venv/bin/python scripts/download_weights.py \
  --base ~/ComfyUI

# Specify subfolder
~/ComfyUI/venv/bin/python scripts/download_weights.py \
  --base ~/ComfyUI --subfolder loras \
  https://example.com/lora.safetensors

Browser Video Generation

python browser_video_gen.py

Turbo Z Image Generation

python z_turbo_generate.py

Batch Scene Generation (Music Video)

Use scripts/batch_scenes.js for automation:

// Run in browser console
const scenes = [
  {
    name: "scene_01",
    prompt: "A lonely girl running through rain at night",
    image: "unified_ref.png",
    steps: 15,
    frames: 72
  }
];

for (const scene of scenes) {
  await comfyui_batch.configureScene(scene);
  // Click Run button
}

File Structure

comfyui-controller/
├── auto_generate_10_videos.py      # Batch generate 10 videos
├── auto_run_100_xiuxian.py         # Auto run 100 xianxia news
├── batch_xiuxian_videos.py         # Batch process xianxia videos
├── browser_video_gen.py            # Browser video generator
├── generate_xiuxian_ltx2_v2.py     # LTX2 v2 generator
├── z_turbo_generate.py             # Turbo Z generator
├── comfyui_smart_controller.py     # Smart controller main
├── scripts/
│   ├── comfyui_run.py              # Workflow execution
│   ├── download_weights.py         # Model weight downloader
│   └── batch_scenes.js             # Batch scene automation
├── assets/
│   ├── default-workflow.json       # Default workflow
│   └── tmp-workflow.json           # Temporary workflow
└── LTX2_VIDEO_GUIDE.md             # LTX2 best practices

Performance Reference

TaskSpeedDescription
10 videos~5 minBatch processing
100 news~15 minBatch processing
LTX2 video (15 steps)~57 min/sceneI2V + LoRA
LTX2 video (25 steps)~1h45m/sceneFinal quality
Turbo Z image~10 sec/imageFast generation
Workflow execution~30-60 secSingle image

Best Practices

  1. 15 steps is the sweet spot - I2V converges at 15-20 steps
  2. Unified reference image - Same input for all scenes
  3. Reload workflow every time - Avoid VAEDecode failures
  4. Never reload during execution - Current run will fail
  5. Frame selection - 72 frames (3s) for testing, 480 frames (20s) for final

Troubleshooting

Q: ComfyUI server not reachable? A: Check if ~/ComfyUI/main.py exists and server is running on 127.0.0.1:8188

Q: VAEDecode validation failed? A: Reload entire workflow, wait for models to fully load

Q: Output video not saved? A: Check for VAEDecode errors in log, then re-run

Q: How to download models? A: Use scripts/download_weights.py with URLs

License

MIT License

Author

yun520-1

GitHub

https://github.com/yun520-1/ComfyUI-Controller-Little-bug

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Task Automation Workflows

Automate repetitive tasks with scripts, workflows, and schedules. Create efficient automation for file operations, data processing, API calls, and scheduled...

Registry SourceRecently Updated
00Profile unavailable
Coding

Video Multi-Platform Publish

One-stop multi-platform video publishing workflow. From video clipping to multi-platform publishing, full process automation. Supports automatic clipping for...

Registry SourceRecently Updated
550Profile unavailable
Coding

Soul Weaver

AI Soul Weaver - 12 Curated Celebrity Templates + Custom Generation. Generate OpenClaw agent configurations through dialog or select from 12 world-famous tec...

Registry SourceRecently Updated
1550Profile unavailable
Coding

SoulFlow — Agent Teams Workflow Skill

General-purpose AI workflow framework for OpenClaw. Build custom multi-step workflows for any task — dev, ops, research, content, or automation. Ships with dev workflow examples.

Registry SourceRecently Updated
6610Profile unavailable