/ Модель

Характеристики

Лицензия
openmdw-1.1
Библиотека
diffusers
Опубликована
19 ноя 2026

LiliPixel-V1-190M

Генерация изображенийТекст → изображение3 профессии

Компактный диффузионный трансформер Pinkstack для создания пиксельных изображений и спрайтов по текстовым описаниям в разрешении 16×16, 32×32 и 64×64.

738скачиваний за 30 дней108лайковвеса обновлены26 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Изображения» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели сгенерируют результат по каждой задаче. Опубликованный тест появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

LiliPixel-V1 — модель генерации пиксельной графики и спрайтов по текстовому описанию, разработанная Pinkstack и обученная с нуля. Это диффузионный трансформер с одним потоком, в котором текстовые и графические токены обрабатываются совместным self-attention. Модель содержит 191 млн обучаемых параметров; для кодирования текста использует отдельный замороженный энкодер voyage-4-nano примерно на 346 млн параметров, который не входит в веса модели.

Модель создаёт изображения в родном разрешении 16×16, 32×32 или 64×64 пикселя. Для 16×16 и 32×32 предусмотрены RGBA-спрайты с прозрачным фоном; изображения 64×64 непрозрачные, а в этом режиме есть переключатель реалистичного стиля. Модель предназначена для небольших игровых спрайтов, пиксельных объектов и простых сцен. Карточка рекомендует короткие промпты: текст длиннее 96 токенов обрезается.

Согласно README, модель компактна и может работать примерно с 1 ГБ памяти при выводе в BF16. Она хуже справляется со сложными сценами, редкими объектами и несколькими персонажами или предметами; в режиме 64×64 чаще возникают ошибки в изображении, поэтому рекомендуется выбирать результат из нескольких генераций. Модель не обучалась генерировать текст. Лицензия — OpenMDW-1.1.

Сценарии применения

  • создание прозрачных пиксельных спрайтов 16×16 и 32×32
  • генерация пиксельных предметов для игровых ассетов
  • создание простых пиксельных сцен 64×64
  • генерация вариантов одного спрайта по разным текстовым описаниям
  • создание непрозрачной пиксельной графики с реалистичным стилем в режиме 64×64

Ограничения

Модель слабо справляется со сложными сценами, редкими объектами и несколькими объектами в малом разрешении; в режиме 64×64 чаще галлюцинирует детали. Она не обучалась генерировать текст, а промпты длиннее 96 токенов обрезаются.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

LiliPixel banner

LiliPixel-V1 (16x16 / 32x32 / 64x64)

This model release is a from-scratch open weight text-to-pixel-art diffusion transformer (191M trainable parameters) that generates pixel "art"/sprite style images at native 16x16, 32x32 or 64x64 resolution. (64 pixel res also has realism toggle) Caption tokens and image tokens share one sequence with full self-attention (single-stream DiT). Text is encoded by a frozen MongoDB/voyage-4-nano (~346M parameters, not included in the weights, downloaded automatically on first use). The model needs roughly just 1GB of memory with lossless BF16 inference.

Model details

Layers / width / heads24 / 768 / 16
Patch size1 for 16x16 and 32x32, 2 for 64x64 (shared transformer, separate patch-in/out layers)
PixelsRGBA, values in [-1, 1]
Textfrozen encoder features (max 96 tokens, longer prompts are truncated) projected to model width; learned null caption for CFG
Objectiverectified flow matching, logit-normal timesteps, velocity target
SamplerEuler, 30/50 steps, CFG 3.0 by default
GenerationYou should generate at least 4 images at once and select the best looking image
WeightsThe weights included are HF compatible and are EMA weights

How to prompt

warning: 16x16 and 32x32 are always with a transparent background, 64x64 is never transparent.

  • 16x16 / 32x32 sprites: describe the object and end with , transparent background. Training captions for images with transparent pixels got this exact phrase appended, so use the same wording.
  • 64x64 scenes: a green turtle swimming above a coral reef on deep ocean background (subject, action, on <colour> background). add "realistic photo," at the start of the prompt to enable realism mode.
  • 64x64 descriptive prompts: the model also saw longer captions describing a subject and its composition.
  • Keep your prompts simple: Think of it and explain simply. Very long prompts won't work as well, and anything past 96 tokens is cut off.
  • Transparency was only seen at 16x16 and 32x32; 64x64 outputs are opaque unless prompted otherwise, do not use 64x64 for transparent backgrounds, 64x64 is RGB only, not RGBA

Quickstart example

Requires transformers>=4.56 and trust_remote_code=True (the text encoder uses custom code; internet needed on first load).

import torch
from diffusers import DiffusionPipeline

pipe = DiffusionPipeline.from_pretrained(
    "Pinkstack/LiliPixel-V1-190M",
    custom_pipeline="Pinkstack/LiliPixel-V1-190M",
    trust_remote_code=True, # must be true
    torch_dtype=torch.bfloat16,
).to("cuda")

image = pipe(
    prompt="cute border collie dog with a purple colar, transparent background", # end the prompt with ", transparent background" for 16,32 pixel sprites, start it with "realistic photo, " for realism images at 64x64.
    height=32, width=32,             # 16, 32 or 64
    num_inference_steps=30,          # 50 for 64 pixel images, 30 is quicker but may look worse
    guidance_scale=3.0,              # 3.0 is used for the banner image, 3.5 or higher is better for more specific prompts eg; "right pointing green arrow"
    generator=torch.Generator("cuda").manual_seed(96),
).images[0]
image.save("LiliPixel-image.png")

ComfyUI

LiliPixel is a custom diffusers pipeline with its own text encoder, so ComfyUI's built-in checkpoint loaders can't open it. A single-file custom node wraps the pipeline instead.

  1. Download comfyui-workflow/ComfyUI_LiliPixel.py into ComfyUI/custom_nodes/.
  2. Install the requirements in ComfyUI's Python environment:
    pip install -U diffusers "transformers>=4.56" accelerate
    
  3. Restart ComfyUI and drag comfyui-workflow/LiliPixel_V1.json onto the canvas.

The first run needs internet to download the model and the text encoder.

Using the workflow

  • Type a short prompt in LiliPixel Generate and pick a resolution (16, 32 or 64).
  • With mode = auto, 16/32 prompts get , transparent background appended for you. At 64, use realistic mode to prepend realistic photo, .
  • steps = 0 picks 30 steps for 16/32 and 50 for 64. CFG defaults to 3.0, so raise it to 3.5+ for specific prompts.
  • Batch size defaults to 4, with each image using seed + i. Use 8-16 at 64x64, then pick the best.
  • Previews are upscaled with nearest-neighbour to 512x512 so pixels stay sharp. The Save Image node is muted by default, and Ctrl+M enables it.
  • Sprites are saved as transparent PNGs. alpha_cutoff (default 0.5) gives crisp edges, and 0 keeps soft alpha.

Node outputs

OutputDescription
imageRGB, transparency flattened onto the chosen background colour
image_rgbaRGBA with alpha preserved (used by the example workflow)
maskAlpha channel, 1 = opaque

Limitations

  • LiliPixel has been trained on a limited amount of pictures and it has a limited parameter size, do not expect the model to generate complex scenes or niche objects/places, for example instead of prompting "Blahaj" prompt "Cute light blue colored shark plushy".
  • In 64x64 mode, the model has a higher chance of hallucinating subjects. Ideally bulk-generate 8-16 images at once and select the best looking image.
  • As the model is small, ideally generate multiple images with the same prompt across different seeds and select the best looking image, generating images on GPU or even CPU should be near-instant.
  • at 16x16 more than 1 subject is complicated for the model, at 32x32 more than 3 subjects (eg; three berries) is complicated for the model. at 64x64 complex scenes may become incoherent and inconsistent.
  • the model has not been trained to generate text.

Training

Trained from scratch for 132000 steps (AdamW, peak LR 0.0001, cosine decay, EMA 0.999; the released weights are the EMA weights). Each step draws one batch from one source, with different sampling probabilities for each data source and the following batch sizes (128, 32, 32, 32) | (16x16, 32x32, 64x64 scenes, 64x64 LiliPixel-710K). Captions are randomly dropped 10% of the time for classifier-free guidance.

Training data

  • 16x16 sprites: Angais/pixel-art-atlas-1.4m (CC0)
  • 32x32 sprites: azygod/pixelart-172k (MIT, see the dataset card for the copyright notice)
  • 64x64 scenes: Chan-Y/pixelart-308k (CC BY 4.0, by Chan-Y; synthetic FLUX.2-klein-4B images with Gemma-written captions), smart-downscaled from 256x256 to 64x64 with palette merging and block voting, ", pixel art" stripped from captions.
  • 64x64 pixel art: Pinkstack/LiliPixel-710K-Flux-64pixelart Captions come from caption_composition, falling back to caption_entity; rows with neither were kept as unconditional examples, capped at 10% of the dataset.

For all sources, transparent background was appended to captions of images with at least 10% transparent pixels. 64x64 never had transparent pixels.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · diffusers

Можно запустить

Подбираем GPU…

Ревизия весов
cd635bf

0 моделей