Downloads · 30 days
9
1% of all-time downloads
shadowlamer/sd-zxspectrum-model-256
sd-zxspectrum-model-256 is a text-to-image model from shadowlamer. Use it when you need an image from a text prompt. It is set up for diffusers.
This model is pretrained on a collection of ZX-Spectrum images from zxart.ee
Downloads · 30 days
9
1% of all-time downloads
All-time downloads
1.7K
Public
Repo size
5.4 GB
Likes
0
Public
Click a slice to open those files.
.bin5.2 GB · 99%
From the Hugging Face model README
This model is pretrained on a collection of ZX-Spectrum images from zxart.ee
It generates images like this:

Usage example:
from diffusers import DiffusionPipeline
import torch
PROMPT = "Cute cat"
SEED = 123
STEPS = 20
pipe = DiffusionPipeline.from_pretrained("shadowlamer/sd-zxspectrum-model-256",
safety_checker=None, requires_safety_checker=False)
generator = torch.Generator("cpu").manual_seed(SEED)
image = pipe(PROMPT,
height=192,
width=256,
num_inference_steps=STEPS,
generator=generator,
).images[0]
image.save("result.png")