Nodes/VRGameDevGirl Video Enhancement Nodes/VRGDG LTX IC Ingredients Grid
ComfyUI Node

VRGDG LTX IC Ingredients Grid

The Reference Sheet Builder That Keeps Your Character From Drifting

By vrgamegirl19·Created about a year ago·Updated about 7 hours ago· 718
VRGDG LTX IC Ingredients Grid
  • image1
  • image2
  • image3
  • image4
  • image5
  • image6
  • image7
  • image8
  • image9
  • image10
  • image11
  • image12
  • image13
  • image14
  • image15
  • image16
  • image17
  • image18
  • image19
  • image20
  • image21
  • image22
  • image23
  • image24
  • reference_sheet
image_count6
layoutauto_ltx
output_width768
output_height448
columns0
gutter4
outer_padding4
corner_radius3
fit_modecontain_pad
batch_modefirst_image_only
background_color#000000
cell_background_color#b8b8b8

VRGDG_LTXICIngredientsGrid composes up to 24 images into a single reference sheet built for LTX InContext LoRA conditioning. If you're using LTX's "Ingredients" IC-LoRA - the one that conditions generation on a reference sheet so characters, props, and locations carry across clips - this is the node that builds that sheet.

To get why this exists, you need the wider LTX picture. Character consistency across shots is the model family's sore spot: faces and costumes drift from clip to clip, and the community's fix has been moving from training toward conditioning on references. Lightricks' Ingredients IC-LoRA is exactly that - you give it a sheet of reference images (your character, her outfits, key props, the locations) and it conditions every generated clip on that sheet, keeping the look stable across scenes. That sheet needs to be one carefully arranged image at a specific aspect ratio, which is a fiddly thing to assemble by hand. This node does it for you, and does it dynamically from whatever images are upstream in your graph.

Inputs that matter

  • image1image24 - the ingredient images: character stills, outfit shots, prop close-ups, location frames. The tooltips call each one an "Ingredient image," which tells you exactly what slot it fills.
  • image_count - how many of those 24 sockets to show and compose (default 6). You rarely need all 24; 4–8 ingredients is the sweet spot for a character + outfits + prop sheet.
  • layout - the composition preset. auto_ltx is the default and picks a sensible arrangement; the others (six_panel_story, three_row_reference, uniform_grid, horizontal_strip, …) are preset grids for different sheet styles. uniform_grid with columns set is the one to reach for when you want total control.
  • output_width / output_height - the sheet resolution, default 768×448, which is LTX's native aspect. Feed the IC-LoRA its preferred resolution and it behaves noticeably better.
  • fit_mode - contain_pad (letterbox, keeps whole image) vs cover_crop (fills the cell, crops edges). Default contain_pad; swap to cover_crop if you want no letterbox bars.
  • gutter, outer_padding, corner_radius - spacing and rounded-corner polish between cells.
  • batch_mode - first_image_only (build one sheet from the first frame of each input batch) vs all_images (build a sheet per frame set). Default first_image_only keeps VRAM sane for video inputs.

Output is the single reference_sheet image, which wires into the Ingredients IC-LoRA's conditioning/control input.

Why it's worth having

Making one of these sheets manually is a sub-project: aligning images, matching aspect, saving it, reloading it. Doing it as a node means the sheet rebuilds whenever your upstream images change - swap an outfit still and the whole sheet updates before the next run. In a music video, where the same character needs to look right across dozens of scenes, this is the difference between a coherent video and a cast of unrelated lookalikes.

Install

cd ComfyUI/custom_nodes
git clone https://github.com/vrgamegirl19/comfyui-vrgamedevgirl

Restart ComfyUI; it's under VRGDG/LTX. ComfyUI Manager: search vrgamedev. Image composition here leans on kornia (one of the three packages in requirements.txt), so run pip install -r requirements.txt from the repo folder if imports fail.

Honest note

Two things to know. The sheet only helps if the downstream IC-LoRA setup expects this exact style of reference grid - if your LTX version's Ingredients conditioning wants a different sheet format, match its docs rather than assuming. And more images isn't automatically better: throw 24 cluttered ingredients at it and the IC-LoRA has no idea what to focus on. A clean 4–8 image sheet with one clear subject per cell beats a crowded collage every time.

CategoryVRGDG/LTX

Inputs (36)

NameTypeDefaultDescription
image_countINT61–24How many dynamic image inputs to show and compose.
layoutCOMBOauto_ltx8 options: auto_ltx, aspect_rows, six_panel_story, three_row_reference, wide_bottom, uniform_grid, +2
output_widthINT76864–8192
output_heightINT44864–8192
columnsINT00–12Uniform grid columns. Use 0 for auto. Some presets ignore this.
gutterINT40–128
outer_paddingINT40–128
corner_radiusINT30–96
fit_modeCOMBOcontain_pad2 options: contain_pad, cover_crop
batch_modeCOMBOfirst_image_only2 options: first_image_only, all_images
background_colorSTRING#000000
cell_background_colorSTRING#b8b8b8
image1optIMAGEIngredient image 1.
image2optIMAGEIngredient image 2.
image3optIMAGEIngredient image 3.
image4optIMAGEIngredient image 4.
image5optIMAGEIngredient image 5.
image6optIMAGEIngredient image 6.
image7optIMAGEIngredient image 7.
image8optIMAGEIngredient image 8.
image9optIMAGEIngredient image 9.
image10optIMAGEIngredient image 10.
image11optIMAGEIngredient image 11.
image12optIMAGEIngredient image 12.
image13optIMAGEIngredient image 13.
image14optIMAGEIngredient image 14.
image15optIMAGEIngredient image 15.
image16optIMAGEIngredient image 16.
image17optIMAGEIngredient image 17.
image18optIMAGEIngredient image 18.
image19optIMAGEIngredient image 19.
image20optIMAGEIngredient image 20.
image21optIMAGEIngredient image 21.
image22optIMAGEIngredient image 22.
image23optIMAGEIngredient image 23.
image24optIMAGEIngredient image 24.

Outputs (1)

NameTypeDescription
reference_sheetIMAGE