Skip to content

Commit e7fcd93

Browse files
Add GLIGEN example.
1 parent 8a74526 commit e7fcd93

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ Here are some more advanced examples:
2626

2727
[ControlNets and T2I-Adapter](controlnet)
2828

29+
[GLIGEN](gligen)
30+
2931
[unCLIP](unclip)
3032

3133
#### You might also want to check out the: [Frequently Asked Questions](faq)
@@ -38,3 +40,4 @@ Here are some more advanced examples:
3840
[https://github.com/atlasunified/Templates-ComfyUI-](https://github.com/atlasunified/Templates-ComfyUI-)
3941

4042

43+
#### [Custom nodes, extensions and other ComfyUI related things](custom)

gligen/README.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# GLIGEN Examples
2+
3+
Here is a link [to download pruned versions of the supported GLIGEN model files](https://huggingface.co/comfyanonymous/GLIGEN_pruned_safetensors/tree/main)
4+
5+
Put the GLIGEN model files in the ComfyUI/models/gligen directory.
6+
7+
### Text box GLIGEN
8+
9+
The text box GLIGEN model lets you specify the location and size of multiple objects in the image. To use it properly you should write your prompt normally then use the GLIGEN Textbox Apply nodes to specify where you want certain objects/concepts in your prompts to be in the image.
10+
11+
![Example](gligen_textbox_example.png)
12+
13+
Is an example how to use it. You can load this image in [ComfyUI](https://github.com/comfyanonymous/ComfyUI) to get the workflow.
14+

gligen/gligen_textbox_example.png

811 KB
Loading

0 commit comments

Comments
 (0)