Skip to content
Nodes ManualConditioninggligenGLIGEN Text Box Apply

GLIGEN Text Box Apply

comfyUI节点- GLIGEN|文本框应用

Documentation

  • Class name: GLIGENTextBoxApply
  • Category: conditioning/gligen
  • Output node: False

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.

Input types

ParameterComfy dtypeDescription
conditioning_toCONDITIONINGSpecifies 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.
clipCLIPThe 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.
gligen_textbox_modelGLIGENRepresents 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.
textSTRINGThe text content to be encoded and integrated into the conditioning. It provides the semantic information that guides the generative model.
widthINTThe width of the text box in pixels. It defines the spatial dimension of the text box within the generated image.
heightINTThe height of the text box in pixels. Similar to width, it defines the spatial dimension of the text box within the generated image.
xINTThe x-coordinate of the top-left corner of the text box within the generated image. It specifies the text box’s position horizontally.
yINTThe y-coordinate of the top-left corner of the text box within the generated image. It specifies the text box’s position vertically.

Output types

ParameterComfy dtypeDescription
conditioningCONDITIONINGThe 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.