upscaler
uwg · Kit
Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…
Makes and edits images from text prompts and reference pictures with an open 4B base model, built for fine-tuning, LoRA training and custom pipelines on one consumer GPU.
FLUX.2 [klein] 4B Base is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download black-forest-labs/FLUX.2-klein-base-4B
FLUX.2 [klein] 4B Base is an image model from black-forest-labs. It turns a text description into a picture and can also edit a picture using one or more reference images. It has about 3.9B parameters, and this base version is undistilled, so it keeps the full training signal for people who want to adapt it.
Developers, researchers and artists who want an open image model they can run on one consumer graphics card and adapt with their own data.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software | ML engineers | Fine-tune the base weights or train a LoRA | A custom look trained on a team's own pictures |
| Research | Academic labs | Study an undistilled flow model with varied outputs | Sampling many seeds to compare diversity |
| Design | Digital artists | Generate and edit pictures on a local machine | An edit guided by several reference images |
| Tooling | Pipeline builders | Wire the model into ComfyUI or diffusers workflows | A custom image pipeline with their own sampling code |
Anyone who only wants the quickest possible images with no tuning can skip this base version.
It runs wherever you can use diffusers or ComfyUI on a suitable graphics card.
| Use case | Who | What they get back |
|---|---|---|
| Text to image | Artists and designers | A picture made from a written description |
| Multi-reference editing | Designers | An edited image guided by reference pictures |
| Fine-tuning and LoRA training | ML engineers | A customised variant of the base weights |
A few things need to be in place before the first run.
pip install -U huggingface_hub hf download black-forest-labs/FLUX.2-klein-base-4B
Write a prompt, pick the image size, guidance scale, step count and a seed, then read the first image from the result. The model card's script does exactly that with Flux2KleinPipeline.
import torch
from diffusers import Flux2KleinPipeline
device = "cuda"
dtype = torch.bfloat16
pipe = Flux2KleinPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-base-4B", torch_dtype=dtype)
pipe.enable_model_cpu_offload() # save some VRAM by offloading the model to CPU
prompt = "A cat holding a sign that says hello world"
image = pipe(
prompt=prompt,
height=1024,
width=1024,
guidance_scale=4.0,
num_inference_steps=50,
generator=torch.Generator(device=device).manual_seed(0)
).images[0]
image.save("flux-klein.png")| Tool | What it does |
|---|---|
| Flux2KleinPipeline | The diffusers class that loads the model and makes images from a prompt |
| enable_model_cpu_offload | Moves parts of the model to the CPU to save VRAM |
| guidance_scale and num_inference_steps | Set how closely the image follows the prompt and how many sampling steps run |
| generator with a seed | Fixes the random seed so a run can be repeated |
You ask for a picture of a cat beside a sign saying hello world, at 1024 by 1024. The script returns one image and saves it as flux-klein.png. The sign text may come out distorted, since the model card warns that rendered text can be inaccurate.
If you are new to image models, think of this as a program that makes a picture from a sentence. Start by downloading the files, then run the model card's cat script and open flux-klein.png to see what it made. You will need a recent graphics card.
Underneath, it is a rectified flow transformer trained without step or guidance distillation. That gives higher output diversity than the distilled models and leaves the weights flexible for LoRA work and fine-tuning, but it gives up the speed the family is known for. The sample run uses 50 steps, a guidance scale of 4.0 and CPU offload to fit in less VRAM.
The card lists clear limits and banned uses, and the hardware figures come from the model page.
Makes and edits images from text prompts and reference pictures with an open 4B base model, built for fine-tuning, LoRA training and custom pipelines on one consumer GPU.
Made by black-forest-labs on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: FLUX.2 [klein] 4B Base is an image model from black-forest-labs. It turns a text description into a picture and can also edit a picture using one or more reference images. It has about 3.9B parameters, and this base version is undistilled, so it keeps the full training signal for people who want to adapt it.
Who it suits: Developers, researchers and artists who want an open image model they can run on one consumer graphics card and adapt with their own data.
Industry | Who uses it | How they use it | Example
Software | ML engineers | Fine-tune the base weights or train a LoRA | A custom look trained on a team's own pictures
Research | Academic labs | Study an undistilled flow model with varied outputs | Sampling many seeds to compare diversity
Design | Digital artists | Generate and edit pictures on a local machine | An edit guided by several reference images
Tooling | Pipeline builders | Wire the model into ComfyUI or diffusers workflows | A custom image pipeline with their own sampling code
Anyone who only wants the quickest possible images with no tuning can skip this base version.
Where to use it: It runs wherever you can use diffusers or ComfyUI on a suitable graphics card.
Use case | Who | What they get back
Text to image | Artists and designers | A picture made from a written description
Multi-reference editing | Designers | An edited image guided by reference pictures
Fine-tuning and LoRA training | ML engineers | A customised variant of the base weights
How to set it up: A few things need to be in place before the first run.
pip install -U huggingface_hub
hf download black-forest-labs/FLUX.2-klein-base-4B
How to use it: Write a prompt, pick the image size, guidance scale, step count and a seed, then read the first image from the result. The model card's script does exactly that with Flux2KleinPipeline.
import torch
from diffusers import Flux2KleinPipeline
device = "cuda"
dtype = torch.bfloat16
pipe = Flux2KleinPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-base-4B", torch_dtype=dtype)
pipe.enable_model_cpu_offload() # save some VRAM by offloading the model to CPU
prompt = "A cat holding a sign that says hello world"
image = pipe(
prompt=prompt,
height=1024,
width=1024,
guidance_scale=4.0,
num_inference_steps=50,
generator=torch.Generator(device=device).manual_seed(0)
).images[0]
image.save("flux-klein.png")
Tool | What it does
Flux2KleinPipeline | The diffusers class that loads the model and makes images from a prompt
enable_model_cpu_offload | Moves parts of the model to the CPU to save VRAM
guidance_scale and num_inference_steps | Set how closely the image follows the prompt and how many sampling steps run
generator with a seed | Fixes the random seed so a run can be repeated
Example: You ask for a picture of a cat beside a sign saying hello world, at 1024 by 1024. The script returns one image and saves it as flux-klein.png. The sign text may come out distorted, since the model card warns that rendered text can be inaccurate.
For newcomers and experts: If you are new to image models, think of this as a program that makes a picture from a sentence. Start by downloading the files, then run the model card's cat script and open flux-klein.png to see what it made. You will need a recent graphics card.
Underneath, it is a rectified flow transformer trained without step or guidance distillation. That gives higher output diversity than the distilled models and leaves the weights flexible for LoRA work and fine-tuning, but it gives up the speed the family is known for. The sample run uses 50 steps, a guidance scale of 4.0 and CPU offload to fit in less VRAM.
Write a text prompt
Load Flux2KleinPipeline in diffusers
Sample with guidance and steps
Save the first image
Good to know: The card lists clear limits and banned uses, and the hardware figures come from the model page.
Title: Approximate weight size
BF16: 7.8 GB
4-bit estimate: 1.9 GB
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download black-forest-labs/FLUX.2-klein-base-4B
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 7 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| FLUX.2 [klein] 4B Base This page | 743,055 | 195 | 3.9B | apache-2.0 | |
| FLUX.2 [klein] 4BShares flux · image-editing · image-to-image | 435,643 | 1,116 | 3.9B | apache-2.0 | |
| FLUX 3 Image Klein Prompt UpsamplerShares flux · image-editing · text-to-image | 71,876 | 81 | 9.4B | apache-2.0 | |
| QMA Camera AnglesShares image-editing · image-to-image · diffusers | 13,875 | 55 | — | apache-2.0 | |
| SenseNova-U1.5-8B-MoT-TailSteerShares image-editing · text-to-image · safetensors | 198 | 5 | 17.5B | apache-2.0 | |
| Fibo 2.0Shares image-to-image · diffusion-single-file | 407,328 | 232 | — | cc-by-nc-4.0 |
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
uwg · Kit
Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…
nerijs · Kit
A pixel art style add-on for Stable Diffusion XL that turns text prompts into pixel-style images, with an optional LCM LoRA for faster runs. For game makers, d…
microsoft · Kit
Turns written conversations into spoken audio with up to four speakers and about 90 minutes of speech, an open Microsoft text-to-speech model for research on p…
masterofaudio2077 · Kit
Reads Egyptian Arabic text aloud and follows the short vowel marks you write into it. A fine-tune of VoiceTut-TTS that keeps its 19 built-in voices and voice c…
hugging-quants · Kit
Runs Meta's Llama 3.1 8B Instruct chat model in 4-bit AWQ form, so it fits on a GPU with about 4 GiB of free memory for the weights. For developers who want a…
besktech · Kit
Scores a Russian-first decision from a context and a list of options, giving a probability for yes/no, choice or rating questions. Runs on a plain CPU, for tea…