Skip to main content
The GLIGENTextBoxApply node is designed to integrate text-based conditioning into a generative model’s input, specifically by applying text box parameters and encoding them using a CLIP model. This process enriches the conditioning with spatial and textual information, facilitating more precise and context-aware generation.

Inputs

ParameterDescriptionComfy dtype
conditioning_toSpecifies the initial conditioning input to which the text box parameters and encoded text information will be appended. It plays a crucial role in determining the final output by integrating new conditioning data.CONDITIONING
clipThe CLIP model used for encoding the provided text into a format that can be utilized by the generative model. It’s essential for converting textual information into a compatible conditioning format.CLIP
gligen_textbox_modelRepresents the specific GLIGEN model configuration to be used for generating the text box. It’s crucial for ensuring that the text box is generated according to the desired specifications.GLIGEN
textThe text content to be encoded and integrated into the conditioning. It provides the semantic information that guides the generative model.STRING
widthThe width of the text box in pixels. It defines the spatial dimension of the text box within the generated image.INT
heightThe height of the text box in pixels. Similar to width, it defines the spatial dimension of the text box within the generated image.INT
xThe x-coordinate of the top-left corner of the text box within the generated image. It specifies the text box’s position horizontally.INT
yThe y-coordinate of the top-left corner of the text box within the generated image. It specifies the text box’s position vertically.INT

Outputs

ParameterDescriptionComfy dtype
conditioningThe enriched conditioning output, which includes the original conditioning data along with the newly appended text box parameters and encoded text information. It’s used to guide the generative model in producing context-aware outputs.CONDITIONING
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub