GLIGENTextBoxApplyBatchCoords

GLIGENTextBoxApplyBatchCoords

This node allows scheduling GLIGEN text box positions in a batch, to be used with AnimateDiff-Evolved. Intended to pair with the Spline Editor -node. GLIGEN model can be downloaded through the Manage's "Install Models" menu. Or directly from here: https://huggingface.co/comfyanonymous/GLIGEN_pruned_safetensors/tree/main Inputs: - **latents** input is used to calculate batch size - **clip** is your standard text encoder, use same as for the main prompt - **gligen_textbox_model** connects to GLIGEN Loader - **coordinates** takes a json string of points, directly compatible with the spline editor node. - **text** is the part of the prompt to set position for - **width** and **height** are the size of the GLIGEN bounding box Outputs: - **conditioning** goes between to clip text encode and the sampler - **coord_preview** is an optional preview of the coordinates and bounding boxes.

Pack: KJNodes for ComfyUI

custom_nodes.ComfyUI-KJNodes

Inputs (9)

NameTypeRequired
conditioning_toCONDITIONINGrequired
latentsLATENTrequired
clipCLIPrequired
gligen_textbox_modelGLIGENrequired
coordinatesSTRINGrequired
textSTRINGrequired
widthINTrequired
heightINTrequired
size_multiplierFLOAToptional

Outputs (2)

NameType
conditioningCONDITIONING
coord_previewIMAGE