Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-KleinRefGrid

ComfyUI Extension: ComfyUI-KleinRefGrid

Repo Name

ComfyUI-KleinRefGrid

Author
xb1n0ry (Account age: 2389 days)
Nodes
View all nodes(1)
Latest Updated
2026-04-20
Github Stars
0.05K

How to Install ComfyUI-KleinRefGrid

Install this extension via the ComfyUI Manager by searching for ComfyUI-KleinRefGrid
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-KleinRefGrid in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

ComfyUI-KleinRefGrid Description

ComfyUI-KleinRefGrid is a custom ComfyUI package that combines up to four reference images into a 2×2 grid, integrating it into Flux Klein 9B conditioning for enhanced image processing.

ComfyUI-KleinRefGrid Introduction

ComfyUI-KleinRefGrid is a powerful extension designed to enhance your AI art creation process by allowing you to incorporate multiple reference images into your workflow seamlessly. This extension is particularly useful for AI artists who want to influence their models with specific visual cues or themes. By transforming up to four reference images into a 2x2 stitched grid, ComfyUI-KleinRefGrid injects these images as reference_latents into the conditioning stream of the Flux Klein 9B model. This process helps in guiding the model's output more closely to your artistic vision, making it an invaluable tool for artists looking to refine their AI-generated art.

How ComfyUI-KleinRefGrid Works

At its core, ComfyUI-KleinRefGrid operates by taking up to four images that you select and arranging them into a 2x2 grid. Imagine a collage where each image is placed in one of the four quadrants. This grid is then encoded and used to influence the AI model's output. The extension simplifies the process by providing an intuitive image gallery interface directly within the node, eliminating the need for external image loading nodes or complex connections. Once the images are uploaded, they are automatically resized to fit into a 1000x1000 pixel tile, ensuring consistency in the final 2000x2000 pixel grid. This grid is then encoded and scaled according to a strength parameter, which determines how much influence the reference images have on the final output.

ComfyUI-KleinRefGrid Features

  • Flux Klein RefGrid Node: Located under the conditioning/flux_klein category, this node is the heart of the extension.
  • In-Node Image Gallery: Easily add images with the Add Images button. The gallery displays thumbnails in a 2x2 layout, allowing you to manage your images with options to remove individual images or clear all images at once.
  • Workflow Integration: The state of your image gallery is saved with your workflow, making it easy to reload and share your setups.
  • Consistent Image Sizing: Each image is normalized to a 1000x1000 pixel tile, ensuring the final grid is always 2000x2000 pixels, regardless of the original image sizes.
  • Strength Adjustment: A strength input allows you to control the influence of the reference images, providing flexibility in how much they affect the model's output.
  • Live Preview: After each run, a live preview of the stitched grid is displayed, similar to the PreviewImage or KSampler mechanisms, allowing you to see the impact of your reference images immediately.

ComfyUI-KleinRefGrid Models

The extension is specifically designed to work with the Flux Klein 9B model and its corresponding VAE (Variational Autoencoder). This model is known for its ability to incorporate complex conditioning inputs, making it ideal for artists who want to leverage multiple reference images to guide their creative process.

What's New with ComfyUI-KleinRefGrid

The latest updates to ComfyUI-KleinRefGrid focus on enhancing user experience and functionality. Key improvements include the integration of a built-in image gallery UI, which streamlines the process of adding and managing reference images. Additionally, the extension now supports live previews of the stitched grid, providing immediate feedback on how your reference images are influencing the model's output.

Troubleshooting ComfyUI-KleinRefGrid

If you encounter issues while using ComfyUI-KleinRefGrid, here are some common problems and solutions:

  • Images Not Uploading: Ensure that the images are in a supported format and that you have selected up to four images. If the problem persists, try restarting ComfyUI.
  • Grid Not Displaying Correctly: Check that each image is correctly resized to 1000x1000 pixels. If the grid appears distorted, verify that the strength parameter is set appropriately.
  • No Influence on Output: If the reference images do not seem to affect the output, adjust the strength parameter to increase their influence.

Learn More about ComfyUI-KleinRefGrid

To further explore the capabilities of ComfyUI-KleinRefGrid, consider visiting community forums and tutorials where AI artists share their experiences and tips. Engaging with these resources can provide valuable insights and inspiration for your projects. Additionally, reviewing the official documentation for ComfyUI and the Flux Klein 9B model can deepen your understanding of how to effectively use this extension in your creative workflow.

ComfyUI-KleinRefGrid Related Nodes

RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

ComfyUI-KleinRefGrid detailed guide | ComfyUI