How to use GLIGEN textbox model? #540
-
Hello everyone! One of the last additions is the feature to use a GLIGEN textbox model. This seems really interesting, but I can’t find any infos about how to use it or integrate in a workflow. Has someone already used this and can provide some Info about how to use it, or, even better, provide a example workflow? Thank you and best regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
model files are here: https://huggingface.co/comfyanonymous/GLIGEN_pruned_safetensors/tree/main The textbox gligen model is to control the generation by giving hints where to place objects/etc... I'll add it to the examples page soon. |
Beta Was this translation helpful? Give feedback.
-
today I start use gligen and Follow the prompts to prepare the required configuration. Setting up MemoryEfficientCrossAttention. Query dim is 320, context_dim is 320 and using 8 heads. |
Beta Was this translation helpful? Give feedback.
model files are here: https://huggingface.co/comfyanonymous/GLIGEN_pruned_safetensors/tree/main
put them in: models/gligen
Here's an example workflow:
The textbox gligen model is to control the generation by giving hints where to place objects/etc...
You write your prompt with everything.
Then you make some GLIGENTextBoxApply with where you want certain objects to be.
I'll add it to the examples page soon.