GLIGEN Examples: Textbox and Grounding Workflows in ComfyUI
ComfyUI Wiki
GLIGEN workflow examples in ComfyUI: download pruned GLIGEN models, use the Textbox Apply node to position objects, and run grounding workflows.
Here is a link to download the pruned versions of the supported GLIGEN model files
Place the GLIGEN model files in the ComfyUI/models/gligen directory.
Text box GLIGEN
The GLIGEN text box model allows you to specify the location and size of multiple objects in the image. To use it properly, you should write your prompt as usual, then use the GLIGEN Textbox Apply nodes to specify where you want certain objects/concepts from your prompts to appear in the image.
<PhotoView src="https://s.comfyui-wiki.com/examples/gligen/gligen_textbox_example.png">
<img src="https://s.comfyui-wiki.com/examples/gligen/gligen_textbox_example.png" alt="Example" className='rounded-lg' priority/>
</PhotoView>Here is an example of its usage. You can load this image into ComfyUI to get the workflow.
Comments
Sign in with GitHub to join the discussion.