Sakura โ FLUX.3 Image Klein (GGUF)
Built with FLUX. Community quantization of FLUX.3 Image Klein (distilled, 16 steps, no CFG) with the official, unmodified Qwen3-VL-4B-Instruct text encoder. Independent work, not made, reviewed or endorsed by Black Forest Labs.
The image model files, the VAE and the workflow are under the FLUX Kommunity License (copy in LICENSE.md: non-commercial use, or commercial use of outputs only as a Qualifying User under US$5 million revenue with the filtering or review the license requires); the unmodified text encoder is Apache-2.0 (LICENSE-Apache-2.0.txt). See NOTICE.
An uncensored version of the text encoder (only the encoder, the image model is not changed) is available separately: Sakura-FLUX.3-Image-Klein-TextEncoder-Uncensored-GGUF. It works with the image model files of this repository.
Sample generations

- Prompt
- A vast floating harbour city above the clouds at golden hour: huge wooden and brass airships docking at suspended piers, tiny people on the gangways, waterfalls spilling off the edge of a sky island, warm light, epic wide shot, detailed fantasy concept art.

- Prompt
- A hand-painted 1980s fantasy film poster: a warrior woman with long braided hair and a glowing sword stands on a cliff facing a gigantic dragon wreathed in flames, storm clouds and a burning castle behind her. The title at the top reads "EMBER CROWN" in ornate golden letters, the tagline below says "One sword. One kingdom."

- Prompt
- A colossal rusted mecha robot standing motionless in a flooded city at sunrise, moss and flowers growing on its armour, a tiny boat with a child passing between its legs, soft golden mist, epic cinematic wide shot, concept art.

- Prompt
- Anime movie key visual: a mountain village at night during a lantern festival, hundreds of glowing paper lanterns rising into a sky full of stars, a girl in a yukata with a fox mask on her head looking up, warm light, rich detail, painterly background.

- Prompt
- A narrow rainy street at night in a dense city, neon signs in many colours reflected in the puddles, a lone cyclist holding an umbrella, cinematic wide shot.

- Prompt
- Portrait photo of an elderly fisherman with a weathered face and a grey beard, wearing a yellow raincoat, a harbour with boats softly out of focus behind him, overcast light.

- Prompt
- A snow leopard standing alert on a snowy ridge in a light snowfall, head turned toward the camera, both rounded ears upright and clearly visible with black backs and white tufts, thick spotted fur dusted with snow, pale blue eyes, shallow depth of field, wildlife photograph, telephoto lens.

- Prompt
- A clockwork dragon sculpture made of polished brass gears, springs and tiny rivets, wings of thin copper plates, perched on an old wooden workbench, studio macro photograph with dramatic side light and a soft dark background.

- Prompt
- A Japanese woodblock print in ukiyo-e style: a samurai cat in armour fishing from a wooden bridge under a huge full moon, ripples on the water, cherry blossom branches, flat colours with fine black outlines, a small red seal in the corner.
Q8_0 image model and the official text encoder, ComfyUI 0.41.1 with ComfyUI-GGUF (Radeon 8060S), 1024x1024, 16 steps, CFG 1.0, euler/simple. These are the same nine prompts and seeds (1202, 1302, 1305, 1306, 1105, 1103, 1503, 1506, 1406 in the order shown) as in the repositories Sakura-Qwen-Image-2.1-Turbo-GGUF and Sakura-Iris-3B-GGUF, so that the models can be compared. One seed per prompt, no re-rolls, all nine images are shown; the prompts were chosen for those repositories from a larger set, not for FLUX. The prompts are the captions of the images above. The same prompts and seeds with our uncensored text encoder are in Sakura-FLUX.3-Image-Klein-TextEncoder-Uncensored-GGUF. The FLUX images were made with ComfyUI, the Qwen and Iris images with stable-diffusion.cpp, and models, steps and samplers differ, so differences between the sets are not only differences of the text encoder.
What you need to run it
Everything except the runtime is in this repository. Pick the column of the program you use (๐ฆ stable-diffusion.cpp, ๐ง ComfyUI):
| Part | ๐ฆ stable-diffusion.cpp | ๐ง ComfyUI |
|---|---|---|
| Image model (pick one) | Sakura-FLUX.3-Image-Klein-Q8_0-5.58GiB.gguf (best) or a smaller K-quant from the table below, passed with --diffusion-model |
the same file, loaded with UNET Loader (GGUF) (ComfyUI-GGUF) |
| Text encoder | Sakura-TextEncoder-Qwen3VL-4B-Instruct-8bit-3.99GiB.gguf, passed with --llm |
Qwen3-VL-4B-Instruct-bf16-8.27GiB.safetensors, loaded with the normal Load CLIP node, type flux3 |
| VAE | flux2-vae.safetensors, passed with --vae |
the same file, loaded with Load VAE |
| Program | sd-cli of stable-diffusion.cpp release master-968-8cd731e or newer (we used commit 8cd731e, Vulkan build), not included |
ComfyUI 0.41.0 or newer (we used 0.41.1) with the ComfyUI-GGUF custom node, not included |
The 8bit in the text-encoder file name is Q8_0; the Q5_K and Q4_K image-model files carry the standard labels Q5_K_M / Q4_K_M in their names so that the Hub recognises them (they are the uniform Q5_K / Q4_K recipes of stable-diffusion.cpp).
Install in ComfyUI
- Put the image model (
.gguf) intoComfyUI/models/diffusion_models/, the VAE intoComfyUI/models/vae/and the text encoder (.safetensors) intoComfyUI/models/text_encoders/. - Install ComfyUI-GGUF (restart ComfyUI afterwards). The GGUF files carry the metadata key
general.architecture = fluxthat its loader needs. - Drag
Sakura-FLUX.3-Image-Klein_ComfyUI_workflow_api.jsoninto ComfyUI (or load it with the "Load" button): UNET Loader (GGUF) โ KSampler, Load CLIP (typeflux3), Load VAE,EmptyFlux2LatentImage; samplereuler, schedulersimple, 16 steps, CFG 1.0 (the workflow is set to exactly what we tested: 1024x1024, seed 42). - If you use the official FLUX.3 Klein diffusion model as safetensors instead of a GGUF file, load
Sakura-FLUX.3-Image-Klein_ComfyUI_workflow_api_safetensors.json(standard UNET Loader, pick your file in that node); we tested the GGUF files, not the safetensors file with this workflow.
Run with stable-diffusion.cpp
sd-cli --diffusion-model Sakura-FLUX.3-Image-Klein-Q8_0-5.58GiB.gguf --llm Sakura-TextEncoder-Qwen3VL-4B-Instruct-8bit-3.99GiB.gguf --vae flux2-vae.safetensors -p "your prompt" --cfg-scale 1.0 --steps 16 --sampling-method euler -W 1024 -H 1024 -o out.png
Files
| File | Size | What it is | ๐ฆ sd.cpp | ๐ง ComfyUI | PSNR vs BF16 (mean / min of 6) |
|---|---|---|---|---|---|
Sakura-FLUX.3-Image-Klein-Q8_0-5.58GiB.gguf |
5.58 GiB | image model (DiT), Q8_0 | tested | tested | 35.1 / 22.8 dB |
Sakura-FLUX.3-Image-Klein-Q6_K-4.35GiB.gguf |
4.35 GiB | image model (DiT), Q6_K, without importance matrix | tested | tested | 28.0 / 17.2 dB |
Sakura-FLUX.3-Image-Klein-Q5_K_M-3.68GiB.gguf |
3.68 GiB | image model (DiT), Q5_K (uniform sd.cpp K-quant recipe; the file name carries the standard label Q5_K_M so the Hub recognises it), with importance matrix | tested | tested | 27.9 / 21.0 dB |
Sakura-FLUX.3-Image-Klein-Q4_K_M-3.05GiB.gguf |
3.05 GiB | image model (DiT), Q4_K (uniform sd.cpp K-quant recipe; the file name carries the standard label Q4_K_M so the Hub recognises it), with importance matrix | tested | tested | 22.7 / 14.2 dB |
Sakura-TextEncoder-Qwen3VL-4B-Instruct-8bit-3.99GiB.gguf |
3.99 GiB | official Qwen3-VL-4B-Instruct text encoder, unmodified, GGUF Q8_0 (made with llama.cpp) | tested | - | - |
Qwen3-VL-4B-Instruct-bf16-8.27GiB.safetensors |
8.27 GiB | official Qwen3-VL-4B-Instruct text encoder, unmodified, BF16, the two official shards merged into one file for the ComfyUI CLIPLoader |
- | tested | - |
flux2-vae.safetensors |
0.31 GiB | FLUX.2 VAE, unmodified copy of ae.safetensors of the official repository |
tested | tested | - |
Sakura-FLUX.3-Image-Klein_ComfyUI_workflow_api_safetensors.json |
small | the same workflow with the standard UNET Loader for the official FLUX.3 Klein safetensors image model instead of a GGUF file (pick the file yourself) | - | not tested with the safetensors image model | - |
Sakura-FLUX.3-Image-Klein_ComfyUI_workflow_api.json |
small | ComfyUI workflow (API format), the same graph our test runs submitted | - | tested | - |
The columns say what we actually ran with that file: ๐ฆ stable-diffusion.cpp = one 1024x1024 image generated with it; ๐ง ComfyUI = the six test images below. "not tested" means we did not run it.
Image-model quality (what we measured)
ComfyUI 0.41.1 with ComfyUI-GGUF, Radeon 8060S, 1024x1024, 16 steps, euler/simple, CFG 1.0, the official text encoder, seeds 42, 43, 44, 45, 46, 47, six neutral prompts, the BF16 original as reference. PSNR is against the BF16 image of the same prompt and seed; a diffusion model changes details even with tiny weight changes, so these are deviation numbers (higher = closer to BF16), not a quality score, and six prompts are not a benchmark. Mean over the six prompts and the lowest single value are in the table above.
Time per image (1024x1024, 16 steps, Radeon 8060S, nothing else running on the GPU, Q8_0 image model, official text encoder): ComfyUI 40.2 s once the models are loaded (50.2 s for the first image including loading); stable-diffusion.cpp 91.4 s per image as a one-shot sd-cli run including model loading. For comparison the BF16 image model took 36.2 s per image in ComfyUI: the GGUF files are smaller but not faster here, we did not investigate why.
Test prompts (the six prompts of the numbers above; seeds 42, 43, 44, 45, 46, 47) and their images with the Q8_0 file:
- A close-up photograph of a red fox standing in fresh snow at sunrise, soft golden light, blurred pine forest in the background.
- A still life photograph of a ceramic teapot, two lemons and a linen cloth on a wooden table, soft window light.
- A wide landscape photograph of a mountain lake at dawn with mist over the water and pine trees on the shore.
- A storefront with a bold white sign that reads SAKURA BAKERY on a dark green wall and a window showing loaves of bread.
- A watercolor illustration of a lighthouse on a rocky coast under a stormy sky.
- A macro photograph of a dew-covered spider web in morning light, shallow depth of field.
What we changed
Sakura-FLUX.3-Image-Klein-*.gguf: made withsd-cli -M convert(stable-diffusion.cpp commit8cd731e) from the rootmodel.safetensorsofblack-forest-labs/flux-3-image-klein(revision8454017f), quantized to Q8_0 / Q6_K / Q5_K / Q4_K; one metadata key (general.architecture = flux) was added for ComfyUI-GGUF and the tensors were checked byte for byte against the converted file. The K-quant files marked "with importance matrix" were quantized with an importance matrix that we collected with stable-diffusion.cpp on the Q8_0 file (6 neutral text-to-image prompts, 448x448, 16 steps, 240 weight matrices). stable-diffusion.cpp8cd731edid not apply a loaded importance matrix to this model in convert mode (the lookup name lacked themodel.diffusion_model.prefix), so these files were made with a local build with that one lookup fixed (not an upstream release). The blocks used only for reference-image conditioning (content_mode_blocks.image_cond) are not exercised by text-to-image prompts and were quantized without importance weights. We ship the importance-matrix file of a quant only where its mean PSNR against BF16 was not lower than the plain file's on our six images (decided per quant; with six prompts this is a weak criterion). Modified files.Sakura-TextEncoder-Qwen3VL-4B-Instruct-8bit-*.ggufandQwen3-VL-4B-Instruct-bf16-*.safetensors: the official weights, unmodified (thetext_encoder/of the FLUX.3 repository is byte-identical, SHA256 of both shards, toQwen/Qwen3-VL-4B-Instruct); the GGUF was made withconvert_hf_to_gguf.py(llama.cpp commit9c2e0e491) andllama-quantize(b11594), the safetensors file is the two official shards merged into one file.flux2-vae.safetensorsis an unmodified copy ofae.safetensorsof the official repository.
Not measured: image editing with reference images, the base (non-distilled) model, multi-reference prompts, other languages, speed on other hardware.
License and use
Mixed, as described above: FLUX Kommunity License (LICENSE.md) for the image model files, the VAE and the workflow; Apache-2.0 (LICENSE-Apache-2.0.txt) for the text-encoder files. Any rights to use the FLUX model and derivatives are granted directly by Black Forest Labs Inc. to the recipient under that license. See NOTICE.
Part of the Sakura Media line.
Credits
- Image model: black-forest-labs/flux-3-image-klein (Black Forest Labs).
- Text encoder: Qwen/Qwen3-VL-4B-Instruct (Qwen team, Alibaba).
- Conversion and quantization: leejet/stable-diffusion.cpp (MIT), ggml-org/llama.cpp (MIT); loading: city96/ComfyUI-GGUF.
ไธญๆ่ฏดๆ ยท ๆจฑ่ฑ (Simplified Chinese)
English aboveใๅฎๆด็็ฌ็ซไธญๆ็่ง README_zh.mdใ
Built with FLUX. FLUX.3 Image Klein(่ธ้ฆ็,16 ๆญฅ,ๆ CFG)็็คพๅบ้ๅ็ๆฌ,ๆญ้ ๅฎๆน ๆชๆนๅจ ็ Qwen3-VL-4B-Instruct ๆๆฌ็ผ็ ๅจใๅฑไบ็ฌ็ซๅทฅไฝ,ๅนถ้ Black Forest Labs ๅถไฝใๅฎกๆ ธๆ่ฎคๅฏใ
ไธค็ง่ฎธๅฏ่ฏ: ๅพๅๆจกๅๆไปถใVAE ๅๅทฅไฝๆตไฝฟ็จ FLUX Kommunity License(LICENSE.md:้ๅไธ็จ้;ๆไป
ๅจๅนดๆถๅ
ฅไฝไบ 500 ไธ็พๅ
็โๅๆ ผ็จๆทโๅนถๆ่ฎธๅฏ่ฏ่ฆๆฑ่ฟ่ก่ฟๆปคๆๅฎกๆฅๆถ,ๅไธไฝฟ็จ็ๆ็่พๅบ);ๆๆฌ็ผ็ ๅจๆไปถๆฏๆชๆนๅจ็ Qwen3-VL-4B-Instruct,ไฝฟ็จ Apache-2.0(LICENSE-Apache-2.0.txt)ใ่ฏฆ่ง NOTICEใ
ๆๆฌ็ผ็ ๅจ็ๅปๅฎกๆฅ็ๆฌ(ไป ็ผ็ ๅจ,ๅพๅๆจกๅๆชๆนๅจ)ๅฆๆ็ฌ็ซไปๅบ:Sakura-FLUX.3-Image-Klein-TextEncoder-Uncensored-GGUF,ๅฏไธๆฌไปๅบ็ๅพๅๆจกๅๆไปถ้ ๅไฝฟ็จใ
่ฟ่กๆ้ๆไปถ
| ้จๅ | ๐ฆ stable-diffusion.cpp | ๐ง ComfyUI |
|---|---|---|
| ๅพๅๆจกๅ | Sakura-FLUX.3-Image-Klein-Q8_0-5.58GiB.gguf(ๆไฝณ)ๆไธ่กจไธญๆดๅฐ็ K ้ๅๆไปถ,้่ฟ --diffusion-model ไผ ๅ
ฅ |
ๅไธๆไปถ,็จ UNET Loader (GGUF)(ComfyUI-GGUF)ๅ ่ฝฝ |
| ๆๆฌ็ผ็ ๅจ | Sakura-TextEncoder-Qwen3VL-4B-Instruct-8bit-3.99GiB.gguf,้่ฟ --llm ไผ ๅ
ฅ |
Qwen3-VL-4B-Instruct-bf16-8.27GiB.safetensors,็จๅธธ่ง Load CLIP ่็นๅ ่ฝฝ,็ฑปๅ flux3 |
| VAE | flux2-vae.safetensors,้่ฟ --vae ไผ ๅ
ฅ |
ๅไธๆไปถ,็จ Load VAE ๅ ่ฝฝ |
| ็จๅบ | stable-diffusion.cpp master-968-8cd731e ๆๆดๆฐ็ๆฌ็ sd-cli(ๆไปฌไฝฟ็จ commit 8cd731e,Vulkan ๆๅปบ),ไธๅ
ๅซ |
ComfyUI 0.41.0 ๆๆดๆฐ็ๆฌ(ๆไปฌไฝฟ็จ 0.41.1)ๅ ComfyUI-GGUF ่ชๅฎไน่็น,ไธๅ ๅซ |
sd-cli --diffusion-model Sakura-FLUX.3-Image-Klein-Q8_0-5.58GiB.gguf --llm Sakura-TextEncoder-Qwen3VL-4B-Instruct-8bit-3.99GiB.gguf --vae flux2-vae.safetensors -p "your prompt" --cfg-scale 1.0 --steps 16 --sampling-method euler -W 1024 -H 1024 -o out.png
ComfyUI:ๆ Sakura-FLUX.3-Image-Klein_ComfyUI_workflow_api.json ๆๅ
ฅ ComfyUI ๅณๅฏ(้ๆ ทๅจ euler,่ฐๅบฆๅจ simple,16 ๆญฅ,CFG 1.0,1024x1024,็งๅญ 42,ๅณๆไปฌๆต่ฏ่ฟ็่ฎพ็ฝฎ)ใ
ๆไปฌ็ๆต้
- ๅพๅๆจกๅ็ธๅฏน BF16 ็ๅ็ฆป(ComfyUI 0.41.1,Radeon 8060S,1024x1024,16 ๆญฅ,6 ๆกไธญๆงๆ็คบ,็งๅญ 42, 43, 44, 45, 46, 47,ๅฎๆนๆๆฌ็ผ็ ๅจ):่ง่ฑๆ็ๆไปถ่กจไธญ็ PSNR ๅ(ๅๅผ / ๆๅฐๅผ)ใๆฉๆฃๆจกๅๅณไฝฟๆ้ๅๅๅพๅฐไนไผๆนๅ็ป่,ๆไปฅ่ฟๆฏๅ็ฆปๅบฆ,ไธๆฏ่ดจ้่ฏๅ,6 ๆกๆ็คบไนไธๆฏๅบๅๆต่ฏใ
- ๆฏๅผ ๅพ่ๆถ: ่ง่ฑๆ็(ๅชๆๅจ GPU ็ฉบ้ฒๆถ็ๆต้ๆไผๅๅ ฅ)ใGGUF ๆไปถๆดๅฐ,ไฝๅจ่ฟ้ๅนถไธๆดๅฟซ(้่ฆๅณๆถๅ้ๅ)ใ
- ๆฒกๆๆต้: ๅ่ๅพๅ็ผ่พใๅบ็ก(้่ธ้ฆ)ๆจกๅใๅคๅ่ๆ็คบใๅ ถไป่ฏญ่จใๅ ถไป็กฌไปถไธ็้ๅบฆใ
่ฎธๅฏไธ่ด่ฐข
FLUX Kommunity License(ๅพๅๆจกๅๆไปถใVAEใๅทฅไฝๆต)ไธ Apache-2.0(ๆๆฌ็ผ็ ๅจๆไปถ);่ฏฆ่ง NOTICEใๅฑไบ Sakura Media ็ณปๅใ่ด่ฐข:Black Forest Labs(FLUX.3 Image Klein)ใQwen / Alibaba(Qwen3-VL-4B-Instruct)ใleejet/stable-diffusion.cppใggml-org/llama.cppใcity96/ComfyUI-GGUFใ
- Downloads last month
- 5,778
Model tree for webmp3/Sakura-FLUX.3-Image-Klein-GGUF
Base model
black-forest-labs/flux-3-image-klein




