ComfyUI: Edit image details with Flux Kontext

Demo summary
The 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.
Step-by-step
- Add a Load Image node and upload your reference image
- Connect the Load Image node to a Flux Kontext Image Scale node
- Add a Preview Image node to verify the scaled output
- Edit the prompt by stating the change first, followed by the subject and final image details
- Connect the encoded image to the Reference Latent node
- Run the workflow to generate the edited image
Options
- Paste a screenshot directly into the workflow instead of loading a file
- Adjust the image size and ratio within the Image Scale node
Watch out for
- The Image Scale node may output a size slightly larger than the original to reach optimum dimensions
- Avoid using too many instructions on what to change in a single prompt
Tips
- If you want to change multiple elements (bunny, background, etc.), do them one at a time and iterate on the results
- Mention the subject immediately after the requested change in your prompt
- Provide more details about how you want the final image to look, similar to standard Flux prompting
All demos from “ComfyUI Tutorial Series Ep 52: Master Flux Kontext – Inpainting, Editing & Character Consistency”
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.ComfyUI· AI Image Upscaler
7:201:48Edit image details with Flux KontextCurrentThe 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.ComfyUI· AI Inpainting
11:131:26Combine two images using Image StitchThe 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.ComfyUI· AI Image Combiner
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.ComfyUI· AI Style Transfer
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.ComfyUI· AI Product Photography
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.ComfyUI· AI Background Generator
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.ComfyUI· AI Inpainting
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.ComfyUI· AI Inpainting
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.ComfyUI· AI Inpainting
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.ComfyUI· AI Style Transfer- Watch “ComfyUI Tutorial Series Ep 52: Master Flux Kontext – Inpainting, Editing & Character Consistency” →
AI Inpainting
1:02:141:23Landscape composition control with Canny ControlNetShows how to use the Canny edge pre-processor to maintain the shape of mountains while changing the lighting to a sunset.AI Search
6:360:29Adjust mask expansion settingsThe user demonstrates adjusting the 'Grow Mask with Blur' node's expand value to accommodate larger replacement characters.MDMZ
3:120:44Anime character replacement with MochaA demonstration of replacing one anime character with another using a reference image, highlighting the tool's performance on complex outfits and hair.AI Search
7:201:48Edit image details with Flux KontextCurrentThe 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
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
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
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.pixaroma
16:571:43Generate composite image with Flux 2The 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
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
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
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
8:230:24Change hairstyles with AIA demonstration of using an outfit change system to apply a new haircut to a character by using a hairstyle image as a reference.Yaroflasher
ComfyUI