Views
No views yet
stable-diffusion-v1-5/stable-diffusion-v1-5
using the CosmicMan-HQ dataset, specifically designed for generating realistic full-body human images.1from diffusers import StableDiffusionPipeline
2import torch
3
4pipe = StableDiffusionPipeline.from_pretrained(
5"DorukBenlii/sd15-fullft-human-fullbody",
6torch_dtype=torch.float16
7).to("cuda")
8
9prompt = "full-body portrait of a person, studio lighting, white background."
10negative_prompt = "lowres, blurry, extra limbs"
11
12image = pipe(
13prompt,
14negative_prompt=negative_prompt,
15num_inference_steps=30,
16guidance_scale=6.5,
17height=512,
18width=512
19).images[0]
20
21image.save("sample.png")