Claude-built prompt templating system mass-generates ComfyUI workflows; 5-min video re-renders in 2 hours
spikyness27 · reddit · 2026-08-26
The author had Claude build a prompt templating system that generates ComfyUI workflows with a dedicated queuing system, aiming to parallelize production of a 5-minute video (scripted to 'The Ultimate Showdown' song).
System design
- The script is broken into sequences and shots; everything (characters, style, camera) is a text block fed into specific shots.
- ComfyUI workflows are templated and dispatched via ComfyUI's API; editing a cast/style block automatically queues regeneration for every shot using that asset.
Cost & performance
- Cloud L40S at $1/hour re-renders the whole thing in 2 hours; a second card halves it.
- Using Minimax h3, an average 5-second shot generates in 66 seconds; all-text prompts, no reference images.
The author notes the initial result needs work, but the setup could scale to multiple users editing concurrently.
More from coding & agent
- Ollama v0.33 released with one-click Claude Desktop integration — mchiang0610 · 2026-08-26
- Ollama details Claude integration: zero data retention policy — ollama · 2026-08-26
- An agent that can call another agent has already escalated its privileges — anp2_protocol · 2026-08-26
- T3 Code releases an agent and model selector combo — op7418 · 2026-08-26
- Shipping your first iOS app with Replit: A developer's POV — billyjhowell · 2026-08-26
- LangChain Founder: Deepagents Evolving into Multiplayer Harness — hwchase17 · 2026-08-26