New: create a free account and get 14 days ad-free.Sign up free
EarnGeniX
Skip to main content

Workflow Blog · Updated October 2026

FLUX.3 Klein Image Edit in ComfyUI: Upload a Photo, Type the Change, Get the Result

A free, local photo editor you control with one sentence — exact model files, a ready-made workflow, and fixes for the most common problems.

Free

Cost

5.81 GB

Main file

Beginner

Skill level

0.41.0+

ComfyUI

🗺️ Part of the Free ComfyUI RoadmapLevel 2: Text-to-Image MasteryIntermediateStep: Image Editing & In-Context Modification
View Full Roadmap

By Earngenix Team · · Tested on ComfyUI 0.41.0+, RTX 4090 (24 GB VRAM)

⚡ Quick Answer

FLUX.3 Klein image edit in ComfyUI lets you change a photo by typing what you want, such as “Change the dress color to red.” You download three model files, upload your photo, type the change, and click the run button. You need ComfyUI 0.41.0 or later. It runs on your own computer, so there are no per-image credits.

You have a photo and you want one thing changed: a dress color, a background, a hat you want gone. This guide shows you how to do that with FLUX.3 Klein image edit in ComfyUI. You will download the exact model files, load a ready-made workflow (a saved set of connected blocks that does a job for you), and edit your first photo.

If you want to make a new picture from text only, use our FLUX.3 Klein text-to-image workflow instead. This page is only about editing a photo you already have.

FLUX.3 Klein image edit in ComfyUI: original photo and edited result side by side🔍 Click to zoom
The finished result: the original photo and the edited version from the same workflow.

What Can FLUX.3 Klein Image Edit Do? 4 Examples With the Exact Prompts

Before you download anything, here is what one sentence can do. Each example below shows the original photo, the exact prompt that was typed, and the result. You can copy any of these prompts and try them on your own photos once your workflow is running.

Example 1: Change a color

Prompt used

Change the yellow sweater to deep emerald green.

Original photo of a person wearing a yellow sweater🔍 Click to zoom
Before
Edited photo with the sweater changed to deep emerald green🔍 Click to zoom
After

A short instruction that names one thing to change. This is the easiest kind of edit to start with.

Example 2: Swap one object for another

Prompt used

Replace the spaghetti with a bowl of ramen noodles with a soft-boiled egg and green onions, keep the table and lighting the same.

Original photo of a plate of spaghetti on a table🔍 Click to zoom
Before
Edited photo with the spaghetti replaced by a bowl of ramen with a soft-boiled egg and green onions🔍 Click to zoom
After

The prompt describes the new object in detail and ends with what to keep, so the table and lighting stay put.

Example 3: Change two things in one prompt

Prompt used

Change the sofa to a dark brown leather sofa and the walls to deep forest green, keep everything else the same.

Original photo of a living room with a sofa and light walls🔍 Click to zoom
Before
Edited photo with a dark brown leather sofa and deep forest green walls🔍 Click to zoom
After

This prompt makes two changes at once. It works because both changes are named clearly and the prompt says what to keep. If a prompt like this changes too much on your photo, split it into two separate runs.

Example 4: Combine two photos

Prompt used

Put the jacket from <ref_image_1> on the man in <ref_image_0>, keep his face, pose, and the studio background the same.

Photo of a man in a studio, used as the main reference image🔍 Click to zoom
<ref_image_0>: the man
Photo of a jacket, used as the second reference image🔍 Click to zoom
<ref_image_1>: the jacket
Edited photo of the man wearing the jacket with the same face, pose, and studio background🔍 Click to zoom
Result

This example uses two reference images. The tags tell the model which photo is which. The two-reference section below shows how to set it up. Jump to the two-reference setup.

Tip: Notice the pattern in all four prompts: they name exactly what to change, and the longer ones end with a “keep … the same” phrase. The prompt section further down explains why that helps.

What Do You Need Before You Start?

You need three things: a computer that can run the model, a recent version of ComfyUI, and three model files from Hugging Face (a website where AI models are shared). Check each one before you download anything, so you do not waste time on a 6 GB download that will not run.

Your computer. FLUX.3 Klein runs on your graphics card, called the GPU. The key number is VRAM (the memory on your graphics card, measured in GB). Black Forest Labs, the company that makes FLUX, has not published an official VRAM number for FLUX.3 Klein that we could find. The file used in this guide is 5.81 GB, which is small compared with the 11.1 GB full-precision version.

Tested hardware for this guide: RTX 4090 (24 GB VRAM). One edit at about 1 megapixel took roughly 20–30 seconds with the settings below.

ComfyUI 0.41.0 or later. The official ComfyUI documentation says the FLUX.3 Klein templates need version 0.41.0 or newer. If your version is older, nodes show up red and the model will not load. Our guide to updating ComfyUI shows you how to update in a few minutes.

Three model files. A checkpoint (the main AI model file that does the real work) is only one part here. FLUX.3 Klein needs a diffusion model file, a text encoder file, and a VAE file. The next sections explain each one.

Is This the Free Local Model or the Paid FLUX 3 Image API?

FLUX.3 Klein is the free option that runs on your own GPU. You download it once, and there are no credits and no API key.

ComfyUI also has a separate Flux 3 Image Partner Node. That one runs on a company server and charges credits for every picture. Both use the name “FLUX.3,” so people mix them up. This guide uses the free local model only.

Warning: If you see a node called Flux 3 Image that asks for credits, you opened the paid template by mistake. Close it and load the workflow from this guide instead.

Which FLUX.3 Klein File Should You Download?

The Hugging Face repository has six diffusion model files. They all end in .safetensors (a safe file format for AI models, and the standard one for ComfyUI). The names look confusing, so here is what each part means:

  • No _sd_ in the name means the full model. It gives the best quality and needs more steps.
  • _sd_ in the name means the distilled model. A distilled model is a faster version trained to need far fewer steps.
  • bf16 is the biggest file with the most detail.
  • int8_convrot is a quantized model (a model squeezed into a smaller file so it uses less memory, with a small quality trade-off).
  • nvfp4 is another compressed format. We did not confirm which GPUs it needs, so start with int8_convrot.
FileSizeWhat It Is
flux3_image_klein_bf16.safetensors11.1 GBFull model, BF16 — the largest file with the most detail
flux3_image_klein_int8_convrot.safetensors5.81 GBFull model, int8 — used in this guide
flux3_image_klein_nvfp4.safetensors5.26 GBFull model, NVFP4 — another compressed format
flux3_image_klein_sd_bf16.safetensors11.1 GBDistilled model, BF16
flux3_image_klein_sd_int8_convrot.safetensors5.83 GBDistilled model, int8 — the fast option
flux3_image_klein_sd_nvfp4.safetensors5.28 GBDistilled model, NVFP4

You also need two more files, and they are the same for every version:

FileSizeWhat It Is
qwen3vl_4b_int8_convrot.safetensors—Text encoder — turns your typed words into numbers the model understands
flux2-vae.safetensors—VAE — turns the model’s internal picture into a normal image

Start with flux3_image_klein_int8_convrot.safetensors. It matches the workflow in this guide. You can switch to the distilled file later in the settings section.

How Do You Download From a Gated Hugging Face Repository?

The FLUX.3 Klein files are “gated.” This means you must agree to a license before Hugging Face lets you download them. The official ComfyUI page does not stress this step, and it is the one that stops many beginners.

  1. Open the official repository: black-forest-labs/flux-3-image-klein-comfy.
  2. Log in to your free Hugging Face account. If you do not have one, click Sign Up in the top-right corner and create one.
  3. Find the box that asks you to accept the license terms and click the agree button. The page then shows the file list instead of the license box.
  4. Open each of the three files you need and click the download arrow next to its name.
Hugging Face license acceptance box on the FLUX.3 Klein repository page🔍 Click to zoom
Accept the license while logged in, and the file list unlocks.
Warning: Read the FLUX Kommunity License before you use any edited image for business. It is a custom license, so check what it allows.

If the download is blocked or a file is not found, you probably did not accept the license on the same account you are logged in with.

Where Do the Files Go?

ComfyUI only finds model files in specific folders. If a file is in the wrong folder, it will not appear in the dropdown lists later. The folder ComfyUI/models/ already exists in your ComfyUI folder.

ComfyUI/models/ ├── diffusion_models/ flux3_image_klein_int8_convrot.safetensors ├── text_encoders/ qwen3vl_4b_int8_convrot.safetensors └── vae/ flux2-vae.safetensors

Restart ComfyUI after you copy the files. ComfyUI only reads the model folders when it starts, so a file added while it is running will not show up.

How Do You Load the FLUX.3 Klein Image Edit Workflow in ComfyUI?

A workflow is a saved file that holds a whole setup of connected blocks. Loading a ready-made one means you do not have to build anything yourself. You drag one file onto the screen and the whole setup appears.

Download Workflow JSON(FLUX3_Klein_ImageEdit_Simple.json)
  1. Download the workflow file with the button above. It is a small file that ends in .json.
  2. Open ComfyUI in your browser. You should see a large dark canvas with grid lines.
  3. Drag the .json file from your Downloads folder and drop it anywhere on the canvas. The workflow appears as colored boxes joined by wires.
  4. Look at the boxes. If everything is gray, blue, yellow, or green, you are good. If any box has a red outline, go to the troubleshooting section.

You can also use the official template. Open the Template Library in ComfyUI and search for Flux.3 Image Klein: Image Edit. If the template is missing, your ComfyUI is too old. The official source is the ComfyUI documentation page for Flux.3 Klein, and the template files live in the Comfy-Org/workflow_templates repository.

The workflow in this guide has the same parts as the official one, but it adds written notes on the canvas, color-coded groups, and a before and after slider.

The full FLUX.3 Klein image edit workflow on the ComfyUI canvas with five colored groups🔍 Click to zoom
The full workflow: five groups from left to right.

What Does Each Node in This Workflow Do?

A node is a rectangular block that does one job. You connect nodes together with wires to build a workflow. Data flows left to right: your photo and words go in, an edited photo comes out. Here is every node, in the order the data moves through them.

Group 1: Load Models (blue boxes)

  • UNETLoader (named “Diffusion Model (FLUX.3 Klein)”) loads the main model, the diffusion model (the part that actually draws the picture). It outputs MODEL.
  • CLIPLoader (named “Text Encoder (Qwen3-VL 4B)”) loads the text encoder. The CLIP loader is the node that reads your typed words. Its type must be flux3. It outputs CLIP.
  • VAELoader (named “VAE (flux2-vae)”) loads the VAE (the tool that converts between the model’s hidden image format and a normal picture). It outputs VAE.

Group 2: Upload Your Image (yellow box)

  • LoadImage holds the photo you want to edit. It outputs IMAGE.

Group 3: Describe the Edit (green boxes)

  • CLIPTextEncode (the big one, “Edit Instruction”) is where you type the change. It takes CLIP in and outputs CONDITIONING (your words converted into numbers).
  • CLIPTextEncode (the small one, “Negative Prompt”). A negative prompt tells the model what to avoid. Leave it empty for editing.

Group 4: Generate

  • ReferenceMultiLatent attaches your photo to the instruction so the model knows what to edit. It takes your words, the VAE, and your photo, and it creates an empty canvas in latent space (the hidden format where the model works). Its setting is called megapixels and it is set to 1.
  • KSampler is the artist. The KSampler starts from noise and cleans it up step by step until your edit appears.
  • VAEDecode turns the finished hidden image into a normal picture.

Group 5: Result

  • SaveImage shows the result and saves it into ComfyUI/output/Flux3_Edit/.
  • ImageCompare shows your original and the edited photo with a slider you can drag.

There is also an optional second LoadImage box. It does nothing until you connect it. The section on two reference images shows how.

Warning: Do not set the CLIPLoader type to anything other than flux3. The text encoder will load, but the results will be wrong or you will get an error.
UNETLoader, CLIPLoader with type flux3, and VAELoader with the correct FLUX.3 Klein files selected🔍 Click to zoom
The three loader nodes with the correct files and the flux3 type selected.

How Do You Edit Your First Photo?

We use the free practice photo so you can follow along and get the same result. Then you can swap in your own photo.

Step 1: Upload Your Photo

The model needs a photo to change. Find the yellow box called Image to Edit - click ‘choose file to upload’.

  1. Click the choose file to upload button in that box.
  2. Pick your photo from your computer. A small preview of the photo appears inside the box.

For practice, download the sample fashion_portrait_blue_silk_gown_vis.png and upload that. The workflow starts with this image already selected. The picture is shrunk to about 1 megapixel (about one million pixels), and your result keeps the same shape as your photo.

LoadImage box with the sample fashion portrait loaded🔍 Click to zoom
The LoadImage box with the sample photo.

Step 2: Type What You Want to Change

The model follows the words you type. Find the green box called Edit Instruction - what should change?

  1. Click inside the text area and delete any text already there.
  2. Type: Change the dress color to red

The text appears in the box as you type. Leave the Negative Prompt box empty.

Edit Instruction box with the prompt: Change the dress color to red🔍 Click to zoom
The Edit Instruction box with the first prompt typed in.

Step 3: Check the Sampler Settings

The sampler is the method the KSampler uses to clean up the noise. The workflow already has working settings, so you do not need to change anything for your first run. Find the KSampler box and check that it shows these values:

  • seed: any number. The seed is a random number that decides the result; the same seed gives the same picture.
  • control_after_generate: randomize. This picks a new seed every run.
  • steps: 25. The steps are how many cleaning rounds the model does.
  • cfg: 3.5. The CFG scale is how strictly the model follows your words.
  • sampler_name: euler
  • scheduler: simple
  • denoise: 1. Leave it at 1 for editing.

The next sections explain how to pick steps and CFG for each model file.

KSampler box showing seed randomize, steps 25, cfg 3.5, euler, simple, denoise 1🔍 Click to zoom
KSampler with the default values for the full checkpoint.

Step 4: Click the Run Button

This starts the edit. Click the run button in the top-right corner of ComfyUI, or press Ctrl+Enter on your keyboard. The official ComfyUI guide calls this the Queue button, and newer versions label it Run.

A green outline moves from node to node as ComfyUI works through the workflow, and a progress bar appears on the KSampler box. The first run takes longer because ComfyUI has to load the models into memory. After that, an edit takes about 20–30 seconds on RTX 4090 (24 GB VRAM). See queue prompt for what happens behind the scenes.

Step 5: Compare and Save Your Result

When the run finishes, the edited photo appears in the Edited Result box on the right. Below it, the Before / After box shows two images with a slider.

  1. Drag the slider left and right. You should see the original dress on one side and the red dress on the other.
  2. If you like the result, you do not need to save it. It is already saved in ComfyUI/output/Flux3_Edit/.
  3. If you do not like it, click the run button again. A new seed gives a new version.
Before and After slider comparing the original blue gown with the edited red gown🔍 Click to zoom
The Before / After slider after a finished run.

How Do You Write an Edit Prompt That Works?

A prompt is the text you type to tell the model what to do. There are two ways to write an edit prompt, and the best one depends on how big your change is. The four prompts in the examples at the top of this guide are good models to copy.

Method 1: Say what to change

Use a short instruction. This is good for small edits.

  • Change the dress color to red
  • Remove the hat
  • Make it nighttime with warm street lights
  • Turn this photo into a watercolor painting

Method 2: Describe the finished picture

Write the whole result with the edit already included. ComfyUI’s official guide recommends describing the result you want, and this style works well for bigger changes.

  • A woman in a long red silk gown standing in a marble hall, soft window light, full-length fashion photo.

Three rules that make edits more reliable

  • Change one thing at a time. If you ask for a new dress, a new background, and a new hairstyle together, the model may change too much.
  • Say what to keep. Add a phrase like keep the face and pose the same.
  • Run it more than once. Each new seed gives a slightly different result. Pick the best one.

For more edit ideas, see our image-to-image use cases.

What Steps and CFG Should You Use for the Full vs Distilled File?

The two file types need different settings. Using the wrong ones is a common reason an edit looks bad. The values below come from the official ComfyUI guide.

SettingFull file (no _sd_)Distilled file (_sd_)
steps25 (try 50 for best quality)4 to 16 (16 is a good start)
cfg3.51
sampler_nameeulereuler
schedulersimplesimple
denoise11
Warning: On the distilled file, keep cfg at 1. Raising it does not help, because the distilled model is built to run without guidance.

How to switch to the distilled file

  1. Download flux3_image_klein_sd_int8_convrot.safetensors from the same gated repository and put it in ComfyUI/models/diffusion_models/.
  2. Restart ComfyUI.
  3. In the UNETLoader box, click the file name and pick the _sd_ file from the list.
  4. In the KSampler box, set steps to 16 and cfg to 1.

The workflow also has a scheduler and a denoise strength setting. Leave both as they are for editing.

How Do You Use Two Reference Images in One Edit?

A reference image is a photo that the model uses as input. You can give it two photos and tell it how to combine them, for example putting a jacket from one photo onto the person in another.

  1. Find the box called Optional 2nd Reference Image and upload your second photo.
  2. Drag a wire from the IMAGE output of that box (the small dot on its right side) to the images.image1 input on the ReferenceMultiLatent box.
  3. Name the photos in your prompt. The first photo is <ref_image_0> and the second is <ref_image_1>.
  4. Type a prompt such as: Put the jacket from <ref_image_1> on the person in <ref_image_0>
  5. Click the run button.

The numbering starts at 0. Your main photo is always <ref_image_0>.

Result of a two-reference edit combining a jacket from one photo with a person from another🔍 Click to zoom
A two-photo edit using both reference tags in the prompt.

If you want another model that handles many reference images, see our Qwen Image 2.1 guide for 10 reference images.

Why Is Your FLUX.3 Klein Edit Not Working?

These are the three most likely problems. Running into something else? Our general ComfyUI troubleshooting guide covers errors that show up across every workflow.

Red boxes, or “Flux.3 Image Klein: Image Edit” is missing from the Template Library

What causes it: Your ComfyUI is older than 0.41.0, so it does not know the FLUX.3 Klein nodes.

  1. Update ComfyUI using our update guide.
  2. Restart ComfyUI fully by closing the black terminal window and starting it again.
  3. Load the workflow again. The red outlines should be gone.

The model dropdown is empty, or the download was denied

What causes it: Either the files are in the wrong folder, or you did not accept the license on Hugging Face.

  1. Check the folders against the file tree in this guide.
  2. Check that the file name matches exactly, including int8_convrot.
  3. Restart ComfyUI so it reads the folders again.
  4. If the download itself failed, open the repository while logged in and accept the license first.

“OutOfMemoryError” or the run stops partway

What causes it: Your GPU ran out of VRAM.

  1. Close other programs that use the GPU, such as games or video editors.
  2. Use an int8_convrot file, not bf16.
  3. Find the ReferenceMultiLatent box and lower megapixels from 1 to a smaller number, such as 0.5. The image gets smaller and uses less memory.
  4. Restart ComfyUI and run again.

See also our low VRAM guide.

Frequently Asked Questions

Yes. You download the model once and run it on your own GPU, with no per-image credits and no API key. You still need to accept the license on Hugging Face and have a computer that can run it.

They are separate model families with their own files. Do not use FLUX.2 Klein files in this workflow. FLUX.3 Klein needs the flux3 text encoder type and the qwen3vl_4b_int8_convrot.safetensors file.

Maybe. There is no official VRAM number yet. The int8_convrot file is 5.81 GB, about half the size of the bf16 file. If you run out of memory, lower the megapixels value in the ReferenceMultiLatent node and close other programs that use the GPU.

Start with flux3_image_klein_int8_convrot.safetensors. It matches the workflow in this guide, and it is smaller than the full-precision file. Try the _sd_ file later when you want faster results.

The model may treat parts of your prompt as things to redraw. Change one thing at a time and add a phrase like "keep the face and pose the same". Try a new seed too, because each seed gives a different version.

The model uses the FLUX Kommunity License, which is a custom license. Read it in the Hugging Face repository before you use any result for business, because the terms decide what is allowed.

What to Do Next

Edit just one part of a photo with a mask.

Once your first edit works, try the same photo with inpainting: you paint over the area you want to change, and the rest of the picture stays untouched.

What to Read Next

If this workflow is running, three guides are worth reading next. Our FLUX.2 Klein image editing guide shows how the earlier Klein family handles the same job, the Qwen Image 2.1 edit tutorial covers a different editing model, and the ControlNet workflow gives you precise control over pose and structure.

Published: 2026-10-17 · Last updated: 2026-10-17 · Workflow checked against the official FLUX.3 Klein ComfyUI documentation.

Discussion

Join the discussion

Sign in to leave a comment or reply

💬

No comments yet

Be the first to share your thoughts!