Skip to main content

FLUX 3 Image

Klein

FLUX 3 Image Klein is a compact, open-weights version of FLUX 3 Image. It supports the same features: text to image, image editing, multi reference, and bounding boxes. It runs faster and fits on consumer GPUs, down to an RTX 3090.

A grid of images generated with FLUX 3 Image Klein: illustrations, portraits, a postage stamp, anime, a space station, and typography.

Specs

FLUX 3 Image Klein comes in two variants. Distilled is step-distilled for fast inference. Base is the undistilled model for fine-tuning, LoRA training, and research.

Pricing

Priced per image by output resolution. Text to image and image editing cost the same.See API pricing for all models.

Ways to use it

Send a request to the Klein endpoint, then poll the returned polling_url until status is Ready. The request takes the same fields as FLUX 3 Image.
See the API reference for all parameters.

Text to image

Photography, illustration, and typography from a single prompt. Click any image to view it full size.

Edit an image

Write the change as an instruction. Drag the handle to compare each source with its edit:

Train a LoRA

LoRA training lets you personalize Klein to your own brand guidelines, products, characters or visual styles. Train LoRAs on Klein Base. A rank-32 LoRA trained on a handful of images on a single GPU is enough to teach Klein a new style or edit. The trained LoRA can also run on Klein Distilled.

Diffusers

Hugging Face training scripts for DreamBooth and LoRA.

Training config

Example: Persian miniature LoRA

We trained a style LoRA on 20 public-domain paintings from the 16th-century Shahnameh of Shah Tahmasp. Captions describe only the content and end with the trigger shtm style.Six of the 20 training images:
Training image: A crowned ruler in a green robe sits on a throne inside an ornate tiled palace hall, attended by courtiers and guards while musicians sit in the foreground. In a narrow panel at the right, grooms and soldiers stand among horses and decorated elephants in a flowering landscape. shtm styleTraining image: A crowd of armored horsemen in bright coats and white turbans, carrying banners and a tall standard, ride their horses into a dark river. Two mounted men and two archers watch from the bank at upper left, a small figure sits in a boat at lower right, and a lion rests in the grass at lower left. shtm styleTraining image: A man in a spotted yellow tunic, striped cap and red trousers stands among a herd of goats and antelope with curved horns. A large blaze of orange flames burns above him on a speckled ground, with an iris plant, a leafy tree and bright rocks around the edges. shtm styleTraining image: A mounted nobleman in a plumed turban sits on a brown horse on a green hillside while attendants and riders crowd along the right edge. Hunters on foot and horseback chase deer, wolves, foxes and other animals among round bushes and rocky ridges, with a tent at the top and onlookers gathered in the lower left. shtm styleTraining image: An armored warrior in a plumed white helmet wrestles a gray horned demon inside a dark cave, with blood and a severed leg beside them. Colorful rocky hills with blossoming trees surround the cave, small demons watch from the ridge above, and a standing attendant and a saddled horse wait at the right. shtm styleTraining image: A bearded king sits cross-legged on a small round platform high on a rocky ledge beside a waterfall. Crowds of robed men and attendants gather on the hillsides below, and animals roam the green thicket in the foreground among twisting trees and flowering rocks. shtm style
Example caption:

A crowned ruler in a green robe sits on a throne inside an ornate tiled palace hall, attended by courtiers and guards while musicians sit in the foreground. In a narrow panel at the right, grooms and soldiers stand among horses and decorated elephants in a flowering landscape. shtm style

Base vs. LoRA at step 1500, same prompt and seed.

Run a LoRA on Klein Distilled

Klein Base and Klein Distilled share the same architecture, so a LoRA trained on Base loads into Distilled without any conversion. Train on Base, then generate with Distilled at 16 steps instead of 50.Keep Distilled’s sampler settings and lower the LoRA scale slightly. In our tests 0.75 matched the Base + LoRA result most closely, and anything from 0.5 to 1.0 works.The style or edit comes through as strongly as on Base. Distilled renders the same seed differently, so expect small changes in details like a hair color or the phase of the moon, not in the style itself.Two style LoRAs trained on Base, run on Base at 50 steps and on Distilled at 16 steps. Same prompt and seed.