π Down the Rabbit-Hole: A New Way to Run ComfyUI
Hi everyone π
I'm excited to introduce Rabbit-Hole, an open-source project designed to make ComfyUI much easier to integrate into real-world, production-like environments.
π― Why Rabbit-Hole?
ComfyUI is a fantastic tool for experimentation β modular, GPU-accelerated, and deeply customizable.
But when I tried to build an actual service or run batch workflows, I hit several walls:
- Workflow graphs are hard to automate
- ComfyUI server wasnβt designed for headless/batch processing
- Scaling across EC2 or dockerized environments was painful
- Node code is often hard to reuse or compose cleanly
So I built Rabbit-Hole β a new abstraction layer on top of ComfyUIβs core logic.
Instead of nodes, we define Tunnels, and instead of full workflows, we compose Executors.
βοΈ How It Works
- Tunnels are modular functions (e.g. SDXL encoding, KSampler, VAE decode...)
- Executors are pre-defined flows (e.g. T2I, IT2I + ControlNet, Upscaling with LoRA...)
- All flows are Pythonic, testable, and work great in headless/batch/Dockerized setups.
You no longer need to send JSON workflows or spin up ComfyUI servers. Just call a class.
from rabbit_hole.executors import T2IExecutor
exe = T2IExecutor()
exe("a photo of a rabbit in a field", output_path="result.png")
π Whatβs Next?
Rabbit-Hole is under active development.
Some recent additions:
- β SDXL + IPAdapter Plus support
- β ControlNet + Hint Image (Canny)
- β Upscaling by Model
- β LoRA composition
Upcoming:
- π RAG + LLM-powered image generation guidance
- π CLI / REST API interface
- π§© Tunnel Auto-generation from ComfyUI workflows
π Try it Out!
GitHub: https://github.com/pupba/Rabbit-Hole
If you're building an AI image generation service, or want to take ComfyUI to the next level β give Rabbit-Hole a try.
Iβd love your feedback, issues, and stars! β
Thanks for reading β see you down the rabbit hole.
Top comments (0)