Downloads · 30 days
6
2% of all-time downloads
twn39/epicphotogasm
epicphotogasm is a text-to-image model from twn39. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as mit.
Downloads · 30 days
6
2% of all-time downloads
All-time downloads
362
Public
Repo size
5.5 GB
Likes
0
Public
Click a slice to open those files.
.bin5.5 GB · 100%
From the Hugging Face model README
diffusers version
https://civitai.com/models/132632/epicphotogasm
from diffusers import StableDiffusionPipeline
from diffusers import DiffusionPipeline, DDIMScheduler, DPMSolverMultistepScheduler
import torch
from diffusers import EulerDiscreteScheduler
from diffusers import AutoencoderKL
pipeline = DiffusionPipeline.from_pretrained("twn39/epicphotogasm", torch_dtype=torch.float16, variant="fp16").to("cuda")
vae = AutoencoderKL.from_pretrained("stabilityai/sd-vae-ft-mse", torch_dtype=torch.float16).to("cuda")
pipeline.vae = vae
pipeline.scheduler = DPMSolverMultistepScheduler.from_config(pipeline.scheduler.config, use_karras_sigmas=True)
# generator = torch.Generator("cuda").manual_seed(31)
prompt = '1girl, solo, beauty, upper body, young girl, 18 years old, looking at viewer';
nprompt = 'nsfw, bad hands,'
image = pipeline(prompt, num_inference_steps=25, negative_prompt=nprompt, height=768, width=512).images[0]
image.save('output1.png')
image
