Files
drago87-Dragos-SceneBuilder/README.md
T
2026-02-23 12:27:49 +01:00

2.2 KiB

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.

Compact Scenebuilder Node

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"

Custom Scene builder Node

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.

Compiler Node

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. Promp Loader

You can connect this node to a node that talks to your LLM backend. I Reccomend 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.