Pixel art uses a coarse grid and a limited color palette to depict recognizable objects with very few pixels. It remains widely used in video games, digital icons, embroidery, and bead mosaics. General-purpose diffusion models are, on the surface, good pixel art generators. They can reproduce pixel art conventions such as crisp outlines, simplified shading, and dithering. Also, unlike specialized models trained on narrow pixel art datasets, they can follow a wide range of prompt instructions. However, upon closer inspection, the generated pixel art fails to meet the basic requirements for grid alignment, grid size, and color palette that downstream applications depend on. In this work, we propose PAPify, a training-free method that constrains a diffusion model at inference time to meet these requirements. PAPify projects intermediate image predictions onto a fixed grid and palette during denoising, allowing the model to adapt the image to those constraints. Despite being simple, fast, and computationally efficient, PAPify achieves state-of-the-art performance compared with previous specialized pixelization and generation methods.
翻译:暂无翻译