Sign In

ComfyUI beginner friendly Flux.2 Klein Consistent Character Dataset Builder (With Prompt Saver) Workflow by Sarcastic TOFU

Type

Workflows

Stats

459

0

Reviews

Published

Mar 9, 2026

Base Model

Flux.2 Klein 9B

Hash

AutoV2
F686169C42

The FLUX.1 [dev] Model is licensed by Black Forest Labs. Inc. under the FLUX.1 [dev] Non-Commercial License. Copyright Black Forest Labs. Inc.

IN NO EVENT SHALL BLACK FOREST LABS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH USE OF THIS MODEL.

This is a very simple, beginner-friendly, fast ComfyUI workflow based on Flux.2 Klein 4B model (4B or 9B) that quickly and consistently builds character datasets. It works with straightforward, natural-language text instructions to generate your desired character dataset from just a single reference image, enabling you to train a LoRA later. Unlike other consistent character dataset builders that use SDXL or Flux, this workflow involves no lengthy processes. Flux.2 Klein is excellent on its own at preserving and reusing character details from a reference image, allowing you to generate multiple outputs in quick succession. This is an adaptation of my earlier similar Consistent Character Dataset Builder Workflows based on QWEN Image Edit & Kontext, but with much improved speed and quality.

I used a Flux.2 Klein 9B Q2 Model that works well with my 8GB VRAM AMD GPU (or even with any system with only 6GB VRAM). But is you have better GPU you can simply swap the model with full unquantized Flux.2 Klein 4B or 9B model or on the other side if you have a significantly weaker GPU ( with only 2GB or 4GB VRAM ) you can find other low grade hardware supported GGUF models from here ( Unsloth's HuggingFace repo for Flux.2 Klein 4B GGUF models - https://huggingface.co/unsloth/FLUX.2-klein-4B-GGUF/tree/main ) and other mathing resources.

This workflow also helps you to save your Consistent Character Dataset Generation Data into a human readable .txt file. This will automatically get and write your metadata to the .txt file. You will find all the saved prompt files that it generated with the images inside the Archive (.Zip) that has the workflow. Look for "Dataset Example" folder. Also with the Image Saver Simple node used you may embed the workflow itself with each saved image or save the image and workflow for your work separately. In this way a readable .txt file for each run of this workflow will be generated (matching Automatic1111 / EasyDiffusion's .txt outputs).

If you run this workflow with your own prompts and your own reference Image you will find your own Consistent Character Dataset saved inside ComfyUI's default output folder ( or on the custom output saving path you may have set earlier ) within a subfolder with name of your character. ( in my case for example I used "Redhead" as first name and "Reid" as last name for my fictional character so it saved the dataset inside a folder with name Redhead_Reid ). I also provided a simple bulk dataset filename fixer python script so your datset will have simpler file names like 01.jpeg, 01.txt for first generation , 02.jpeg, 02.txt for second generation and so on.. By default this workflow saves 10 images with 10 matching prompts but you can decrease the number (say only 6 images and matching prompts) or increase the number (say you want 15 images and matching prompts). I think 10 is an optimal number.

You need a Hugging Face account to download your necessary files for this workflow (Details are mentioned below). Make sure you install GGUF addon for ComfyUI using ComfyUI manager or any other missing nodes you may have and place the correct files in correct places. Also check out my other workflows for SD 1.5 + SDXL 1.0, Pony, WAN 2.1, WAN 2.2, MagicWAN Image v2, QWEN, HunyuanImage-2.1, HiDream, KREA, Chroma, AuraFlow, NoobAI, Illustrious, Lumina2, Z-Image Turbo, Flux.2 Klein (4B & 9B), Flux.1 Dev and Kandinsky Image 5 Lite (T2I & I2I) models. Feel free to toss some yellow Buzz on stuffs you like.

How to use this -

#1. Just select your desired Flux.2 Klein GGUF model files (or swap them with full model files) first and now

#2. now select your input character reference image and set the character's first and last name

#3. Now set common Image Dimensions for your dataset (a brief guideline of this is in Workflow's note section)

#4. on next step enter your image editing instructions - Batch character prompts like "subject seen from" and "Make this person" followed by other details.

#5. after this select image sampling methods, CFG, steps etc. settings (this part is tricky, if you want you can just have the values as it is)

#6. finally press the run button to generate. That's it..

** I have given multiple .txt files with prompts in the zip file containing this workflow to help you fast pace your dataset building process - one for character poses, one for sfw character prompts, one for nsfw character prompts and one for the selected set of 10 prompts used in this workflow. You can mix and match them but remember if you want to use a set of prompts you have to follow these 3 rules - #1. keep your each prompt short, #2. end each prompt with a dot (.) so don't use dot on the middle of a prompt and #3. Start your new prompt on the very next line, don't keep a line empty.

Enjoy!

Required Files

==================

Flux.2 Klein 9B Models ( If you are using 6GB or 8GB VRAM GPU )-

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

### Download Link for Flux.2 Klein 9B GGUF Models

--------------------------------------------------

Only for this workflow I used Flux.2 Klein 9B Q2 GGUF Model (lowest Quant for 9B), but usually I use

Get the Q2 Model from here (One used in this workflow that helped me reduce system power usage) -

https://huggingface.co/unsloth/FLUX.2-klein-9B-GGUF/resolve/main/flux-2-klein-9b-Q2_K.gguf

Get the Q4 Model from here (One used in my all other Flux.2 Klein 9B workflows, it offers better performance & results ) -

https://huggingface.co/unsloth/FLUX.2-klein-9B-GGUF/resolve/main/flux-2-klein-9b-Q4_K_M.gguf

### Download Link for Flux.2 Klein 9B Text Encoder

---------------------------------------------------

https://huggingface.co/Comfy-Org/flux2-klein-9B/resolve/main/split_files/text_encoders/qwen_3_8b_fp8mixed.safetensors

Flux.2 Klein Common VAE Model -

++++++++++++++++++++++++++++++

### Download Link for Flux.2 Klein VAE (Workes on both 4B and 9B)

------------------------------------------------------------------

https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors

Also consider using these 4B Model files (even GGUF Text Encoders) if you are using on a significantly weaker GPU ( with only 2GB or 4GB VRAM ) ---

Flux.2 Klein 4B Models -

+++++++++++++++++++++++++

### Download Link for Flux.2 Klein 4B GGUF Model

-------------------------------------------------

This is for 4GB VRAM -

https://huggingface.co/unsloth/FLUX.2-klein-4B-GGUF/resolve/main/flux-2-klein-4b-Q4_K_S.gguf

This is for 2GB VRAM -

https://huggingface.co/unsloth/FLUX.2-klein-4B-GGUF/resolve/main/flux-2-klein-4b-Q2_K.gguf

### Download Link for Flux.2 Klein 4B Text Encoder

---------------------------------------------------

I used this one on my Flux.2 Klein 4B workflows, it may work for you for 4B model. Note that 4B text encoder will not work well with 9B models and 9B text encoder will not work well with 4B models and on some low end systems you may even have to find out GGUF text encoder replacement for this one -

https://huggingface.co/Comfy-Org/flux2-klein-4B/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors