peft diffusers safetensors text-to-image region:us
---
library_name: peft
pipeline_tag: text-to-image
---
```python
from diffusers import DiffusionPipeline

pipe = DiffusionPipeline.from_pretrained("akameswa/lcm-tiny-sd").to("cuda")

prompt = "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k"
image = pipe(prompt=prompt, num_inference_steps=4, guidance_scale=1.0).images[0]
```