demobook

ComfyUI: Generate composite image with Flux 2

Demo summary

The creator demonstrates image-to-image generation by uploading two reference photos and using a text prompt to replace a logo on a coffee can with his own headshot using the Flux model.

Step-by-step

  1. Press R on your keyboard to refresh the ComfyUI interface until the nodes turn white
  2. Drag the base image (e.g., the coffee can) into the top reference image slot
  3. Drag the replacement image (e.g., the headshot) into the bottom reference image slot
  4. Enter a text prompt in the prompt field referencing the images as 'reference image one' and 'reference image two'
  5. Click the blue Run button in the top right-hand corner
  6. Monitor the queue percentage to track generation progress

Watch out for

  • Nodes must be white before proceeding; if they are red, the setup is not correctly loaded or refreshed
  • Processing time is dependent on your specific GPU hardware

Tips

  • Refer to the images specifically as 'reference image one' and 'reference image two' in your prompt to help the model identify which photo is which

Highlights

I find this is an easy way to tell it what photo I'm talking about.

All demos from “ComfyUI in 20 Minutes: Absolute Beginner Guide to Getting Started

  1. 4:150:35Launch ComfyUI on WindowsThe creator demonstrates how to launch the portable version of ComfyUI by running the 'run_nvidia_gpu' batch file and accessing the interface via a web browser.ComfyUIAI Image Generator
  2. 10:071:30Browse and load ComfyUI templatesThe creator demonstrates how to navigate the templates menu, filter for local models, and load a Flux 2 image generation workflow.ComfyUIAI Image Generator
  3. 16:571:43Generate composite image with Flux 2CurrentThe creator demonstrates image-to-image generation by uploading two reference photos and using a text prompt to replace a logo on a coffee can with his own headshot using the Flux model.ComfyUIAI Inpainting
  4. 20:010:28Text-to-image manipulation in ComfyUIThe video shows how to use a text prompt to attempt to rotate an object in an image within a specific node-based workflow.ComfyUIAI Inpainting
  5. Watch “ComfyUI in 20 Minutes: Absolute Beginner Guide to Getting Started” →

AI Inpainting

  1. 16:571:43Generate composite image with Flux 2CurrentThe creator demonstrates image-to-image generation by uploading two reference photos and using a text prompt to replace a logo on a coffee can with his own headshot using the Flux model.WINBUSH
  2. 20:010:28Text-to-image manipulation in ComfyUIThe video shows how to use a text prompt to attempt to rotate an object in an image within a specific node-based workflow.WINBUSH
  3. 1:111:34Configure LTX Latent Anchor Aware nodeThe video shows how to set up the LTX Latent Anchor Aware node in a ComfyUI workflow, explaining how to connect the reference image and adjust strength parameters to prevent identity drift.The AI Girlie
  4. 0:361:56Creative replacement with Flux KontextThe user demonstrates how to change a specific part of an image, such as replacing a building entrance with a glass door, using the Flux Kontext model in ComfyUI while maintaining the original scene context.Urban Decoders
  5. 5:200:53Change season to winter in architectural scenesThe demonstration shows how to use a text prompt to transform a summer architectural shot into a winter scene with snow on rooftops and trees using Flux Kontext.Urban Decoders
  6. 6:471:52Selective inpainting with crop and stitchUsing the 'ComfyUI inpaint crop and stitch' nodes, the user demonstrates masking a specific window area to insert a glowing LED digital facade.Urban Decoders
  7. 12:540:41Editing text on shop frontsThe demonstration shows how to use Flux Kontext to change specific text on a shop sign while maintaining the original font style and position.Urban Decoders
  8. 15:063:12Transform 3D scenes with Qwen2-VL (Qwen-Edit)The creator uses the Qwen-Edit workflow to perform complex scene modifications, such as changing weather to rain or snow, while preserving the original 3D geometry and text.Matt Hallett Visual
  9. 20:221:07Fix text and faces using Crop and StitchA demonstration of a custom 'crop image' node to isolate specific areas like signs or faces, regenerate them at native resolution, and stitch them back into the high-res image.Matt Hallett Visual
  10. 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.pixaroma
  11. 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.pixaroma
  12. 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.pixaroma