This is 8bitdiffuser! A model trained on ~2k images
This page is for the 64x model!
PLEASE when using this model, use one of the AnyLoRA forks, Qteamix, Angelbreed or Animekawa. it works best with stylized anime / cell shaded models, while it can work on many other models, it might not produce the "pixel perfect" results
When generating images scaling them down 8x will produce pixel perfect results! you can downscale them via billinear or nearest neighbor, but i have had the BEST results when using astropulse's Pixelize plugin for A1111, it is completely free and can run even on lower end devices.
make sure to use an 8X downscale factor in post processing!
the 64x model, while a bit worse at generating even pixels, still operates greatly when downsampling images to native size, it also works much better at full body character portraits. with all v3 versions and above, high resolutions (768x and 1024x) are highly reccomended
Note for versions v4 and above! i used some filtering on the dataset, so if it gives you problems with NSFW content, use the v3 or earlier models.
Note that even doe this page specifies a 64x model, u can generate different resolutions of pixel art by just scaling the picture!
256x256 will generate a 32x32 pixel art
512x512 will generate a 64x64 pixel art
1024x1024 will generate a 128x128 pixel art
etc etc...
best settings for this LoRA is:
Steps: 10-30 (On lower step counts, pixels will look very noisy, however if you downsample this to native pixel size this issue is resolved, increase step count if you want a great generation without downsampling)
CFG scale: 4-10
LoRA scale: 0.85-1.25 (the lower you will set the scale, the more it will look like traditional art and the pixels will become uneven, but the higher the scale is it will appear much noisy)
Sampling method: DPM++ 2M SDE karras
Recommended prompt: "pixel_art" (Add these to the start every generation, this isn't "required" but I found it gets the best results)
Resolution: 512-1024 (on lower resolutions, the pixels will be less even, on higher ones the artifacts will be less noticeable but will take much more time)
Description
FAQ
Comments (8)
Hi, can you explain me how train a similar model ? i need to use 1000 img in 64x64 with caption an just train a lora model on sd1.5 ?
Well first thing is you have to get a VERY SPESIFIC dataset, they all have to be the exact same image size, and each pixel has to be the same "relative" size to the screen, for the 64x model that was 8, and for the 32x model i used 16. if your pixel sizes in the training data are not all the same, ur gonna get uneven pixels. after that its pretty much just how you train any style lora, but unlike most you will need a LOT of images for the model to work correctly, for this model i took 1k regular images pulled from danbooru and applied a k-centroid filter on all of them.
i might in the future make a more in detail guide on how to train your own custom pixel art model.
@extraordicord thanks
@extraordicord can you tell me, your nuber of step, number of repeat by img, epoch, and your ouput resolution max ?
@yodad2r2233 Each image i used was 512x512, i had 10 epochs and 1 repeats, since the daataset was so large (abt 5k images) it was a LOT of steps (abt 9k)
@extraordicord thanks for the info ! I will try to create a model for 128x128 pixel perfect.
@extraordicord thanks for the info ! I will try to create a model for 128x128 pixel perfect
@extraordicord I tried to train 1000 img 128 perfect pixels over 15,000 steps (8 hours of training) but no good result looks like pixel but too blurry and no precision in the definition of the pixels
second test is 5000img 128pixel perfect 1xrep and 2epochs tot 10000 steps(4h training), the result is better he look more pixelart but blurry again and not sharp like your model...
can you tell me exacly your kohya config (all settings) ?
I waste too much time looking for the right configuration....
Details
Available On (1 platform)
Same model published on other platforms. May have additional downloads or version variants.






