How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("simonbronson/Old-Portraits", dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

Old Portraits

Using a set of 25 mainly old large format photos from the 19th and early 20th century I wanted to capture the lighting, expression and film artifacts from this era. Subjects range in age, gender & ethnicity with poses generally looking at the camera with a neutral expression.

While only a couple of my source images had distressed frames, plenty of the generations contain them.

Download ckpt: https://huggingface.co/simonbronson/Old-Portraits/blob/main/Old_Portraits.ckpt

Examples:

samples1 image


Downloads last month
39
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support