demobook

ComfyUI: Combine two images using Image Stitch

Demo summary

The tutorial demonstrates using the Image Stitch node to combine two separate reference images (a woman and a bunny) into a single scene using Flux Kontext.

Step-by-step

  1. Upload the first reference image into a Load Image node
  2. Upload the second reference image into a second Load Image node
  3. Connect both images to the Image Stitch node
  4. Select the desired layout in the Direction setting
  5. Adjust the Space Width and Space Color if a gap is needed between images
  6. Connect the stitched output to your workflow using an Empty Latent node to control the final dimensions

Options

  • Set Direction to 'right' for side-by-side placement
  • Set Direction to 'down' to place the second image below the first
  • Adjust Space Width to increase the gap between images

Watch out for

  • Use the Image Stitch node from Comfy Core specifically, as others may have similar names
  • Without an Empty Latent node to adjust size, the output will be the combined width of both original images
  • Images may appear darker if lighting details are not specified in the prompt

Tips

  • Mention both subjects in the prompt to help the model place them in the same scene
  • Upscale the final result once you achieve a version you like

Highlights

at least now we can combine images much more easily than before

All demos from “ComfyUI Tutorial Series Ep 52: Master Flux Kontext – Inpainting, Editing & Character Consistency

  1. 2:432:38Generate and upscale images with Flux KontextThe creator demonstrates setting up a basic Flux Kontext workflow in ComfyUI, generating a character image, and then using a KSampler-based upscaler to increase resolution.ComfyUIAI Image Upscaler
  2. 7:201:48Edit image details with Flux KontextThe user shows how to load a reference image and use a text prompt to change specific features, such as changing a cartoon bunny's eye color to red.ComfyUIAI Inpainting
  3. 11:131:26Combine two images using Image StitchCurrentThe tutorial demonstrates using the Image Stitch node to combine two separate reference images (a woman and a bunny) into a single scene using Flux Kontext.ComfyUIAI Image Combiner
  4. 12:481:45Style transformation and line art conversionThe creator demonstrates transforming a portrait into a watercolor painting and converting a 3D-style bunny into a line art illustration using specific style prompts.ComfyUIAI Style Transfer
  5. 15:471:17Product branding and placementThe video shows how to take a logo or a product photo (perfume bottle) and use Flux Kontext to place it into a new, AI-generated environment with realistic reflections.ComfyUIAI Product Photography
  6. 17:062:04Background replacement with Inpaint CropThe user demonstrates a workflow using background removal and the Inpaint Crop node to swap a product's background while attempting to maintain the original item's integrity.ComfyUIAI Background Generator
  7. 19:191:08Modify hairstyles and facial featuresThe creator shows how to change a subject's hair color and style (e.g., to a blunt bob with bangs) while attempting to maintain facial consistency using Flux Kontext.ComfyUIAI Inpainting
  8. 21:030:26Edit text within an imageA demonstration of Flux Kontext's ability to change text on a 3D render from 'Welcome' to 'Pixaroma' while maintaining the original font style and perspective.ComfyUIAI Inpainting
  9. 23:191:55Remove objects using Mask Editor and InpaintingThe user demonstrates precisely removing a necklace from a portrait by painting a mask in the ComfyUI Mask Editor and using an inpainting prompt.ComfyUIAI Inpainting
  10. 25:461:20Apply LoRA models to Flux KontextThe creator shows how to use the Power Lora Loader to apply a 'Glass Prism' LoRA to a product image to transform its visual style.ComfyUIAI Style Transfer
  11. Watch “ComfyUI Tutorial Series Ep 52: Master Flux Kontext – Inpainting, Editing & Character Consistency” →

AI Image Combiner

  1. 11:131:26Combine two images using Image StitchCurrentThe tutorial demonstrates using the Image Stitch node to combine two separate reference images (a woman and a bunny) into a single scene using Flux Kontext.pixaroma
  2. 8:021:24Merging multiple characters with Image ConcatenateThe video demonstrates using an 'Image Concatenate' node to combine two different reference images, allowing Flux Kontext to generate a single scene featuring both characters walking together.Sebastian Kamph
  3. 10:260:54Merging two characters with Kontext Dev Grouped workflowThe video shows the 'grouped' workflow in ComfyUI, where two separate character images are referenced to generate a single composite image of them hugging.AI様の下僕
  4. 3:241:56Combine image references for furniture placementUsing the image stitch node in ComfyUI, the creator demonstrates how to take an empty room and populate it with furniture from a second reference image using Flux Kontext.Urban Decoders