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("digiplay/PhotoSomnia_vFinal", dtype=torch.bfloat16, device_map="cuda")

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

Model info :

https://civitai.com/models/18637/photosomnia

Original Author's DEMO image :

00031-1454067676.jpeg

Sample image thru huggingface's API :

dc0ef117-3074-4a3e-821e-9a183e2f51f7.jpeg 219a5a5c-6ff8-4873-96bd-f27a7f224184.jpeg

Downloads last month
23
Safetensors
Model size
0.9B params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Spaces using digiplay/PhotoSomnia_vFinal 51