FLUX.2 klein inpaint

Five tabs, two models, one GPU slice. Brush a region and repaint it, place an object from a reference photo, expand the canvas, or draw a 16 to 64 pixel sprite.

  • Repaint and Use a reference and Expand run FLUX.2 klein 4B, an inpainting model. Pick a sample to start with the area already brushed and a prompt filled in, then press the button.
  • Pixel art runs the same klein with a style LoRA that repaints a 3D map render as pixel art.
  • Pixel sprites runs LiliPixel, a 191M model that draws at native 16, 32 or 64 pixels. It has a guidance slider because it is a different model, and guidance there does matter.

Tips for the klein tabs: describe the whole scene, not just the patch, because the model reads the prompt as a full image description. Raise strength when the new content should replace what is under the brush completely. Lower it when you want the original structure kept. There is no guidance slider on those tabs because klein is guidance distilled, the classifier free guidance is off and changing that number changes nothing. Steps is the only knob that matters, and four is enough.

Removal leaves a ghost when the brush stops at the object edge. Grow the brush by, in pixels, dilates the mask before the model sees it.

ZeroGPU gives anonymous visitors a handful of generations per day. If you hit the limit, sign in with a Hugging Face account and the quota is per account instead.

Other demos on this account: background remover, browser transcription, tiny-voca text to speech, FLUX.2 klein inpainting.

2 12
0.4 1
0 24

Quick actions fill the prompt and the settings. Brush first, then pick one.

Removal needs the brush to sit past the edges of the object, otherwise the silhouette comes back as a ghost. Grow the brush does that for you, in pixels, and the mask panel shows the area the model actually sees.