ComfyUI Extension: Dragos Scene Builder
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
This node pack offers various ways to build json strings that is ment to be used with a LLM to generate Prompts. It also have a node that can load different prompts so that a LLM can use the json string to make the Image Prompt.
Looking for a different extension?
Custom Nodes (5)
README
Dragos-SceneBuilder
ComfyUI node for structured scene building
With these nodes you can easaly build a scene by selecting what you want from a list using the "Dragos Structured Builder". The list have these pre build for you camera character (female and male) enviroment style
If you want to add your own you can do that by building a .json file and put it in the Dragos-SceneBuilder\web\schema folder You can also modify the existing files.
<img width="938" height="788" alt="Compact Scenebuilder Node" src="https://github.com/user-attachments/assets/e92256f5-949f-4e79-a65d-3e62712d2c7b" />If you want to build the json from the ground up you can do that with the Custom scene nodes "Dragos Variable" and "Dragos Object"
<img width="914" height="528" alt="Custom Scene builder Node" src="https://github.com/user-attachments/assets/1404b4f2-0c2a-4a41-894a-681e60911b0c" />to make the json string and see it beeing built use the "Dragos Scene Compiler" node as this will compile and convert it to a string you can use with outher nodes.
<img width="496" height="652" alt="Compiler Node" src="https://github.com/user-attachments/assets/cbba933d-5b7c-4fea-b6d8-809854a508cc" />To get a proper Image prompt you can use to generate a image you need a way to convert the json string to a proper Image prompt for your type of model. To do that the easiest way is to use a LLM with a prompt to convert the json string.
I have a node that lets you select a prompt to use with the LLM to convert it to the right format. <img width="477" height="392" alt="Promp Loader" src="https://github.com/user-attachments/assets/d7103b96-b29e-4d68-ae76-717e65cec329" />
You can connect this node to a node that talks to your LLM backend. I Recommend Comfyui-Z-Image-Utilities as the prompts are build for it.
The LLM model i use to convert the json to an Image prompt is Llama-Joycaption-Beta-One-Hf-Llava-Q4_K. Small enugh to fit on the CPU freeing up the GPU for your Image Models. Or if you use smaller Image models and have a GPU with more Vram you can fith both on the GPU for more speed.
Here is an example on how to connect my nodes to the Comfyui-Z-Image-Utilities nodes <img width="1264" height="868" alt="mVf1HITU0P" src="https://github.com/user-attachments/assets/dd587db0-328e-47ce-bf36-da34930067cb" />
- It is important to connect the Compilers output to the first text box on the node
- It is important to set the
prompt_templatestocustom - It is important to connect to Prompt loader to the bottom text box (or to copy the prompt from the node into it)
The prompts are designed to allow NSFW, and not to prevent NSFW, so it is recommended to use a local model that allows it. Using a public model sutch as ChatGPT may result in you being banned or at least using up your tokens.
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.