|
--- |
|
language: en |
|
license: creativeml-openrail-m |
|
tags: |
|
- stable-diffusion |
|
- stable-diffusion-diffusers |
|
- text-to-image |
|
- diffusers |
|
- en |
|
- English |
|
inference: true |
|
widget: |
|
- text: >- |
|
1girl, beautiful girl, face, yellow eyes, black hair |
|
example_title: example 1girl |
|
--- |
|
|
|
# Olivia V1.0 |
|
|
|
Welcome to Olivia V1.0 This model is for educational and testing purposes only. |
|
|
|
## 🧨 Diffusers |
|
|
|
This model can be used like any other model. [Click to read more](https://huggingface.co./docs/diffusers/api/pipelines/stable_diffusion) |
|
|
|
```python |
|
from diffusers import StableDiffusionPipeline |
|
import torch |
|
|
|
model_id = "ShibaDeveloper/olivia-v1.0" |
|
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16) |
|
pipe = pipe.to("cuda") |
|
|
|
prompt = "1girl, beautiful girl, face, yellow eyes, black hair" |
|
image = pipe(prompt).images[0] |
|
|
|
image.save("./olivia_img.png") |
|
``` |
|
## ✨ Examples |
|
|
|
Examples of images generated using Olivia V1.0 : |
|
|
|
![Girl](https://huggingface.co./ShibaDeveloper/olivia-v1.0/resolve/main/girl.png) |
|
``` |
|
Prompt: 1girl, detailed, intricate, elegant, highly detailed, digital painting, artstation, concept art, matte, sharp focus, illustration, by dan mumford, yusuke murata, makoto shinkai, ross tran |
|
Steps: 50, Sampler: DDIM, CFG scale: 12 |
|
``` |