|
--- |
|
license: creativeml-openrail-m |
|
language: |
|
- en |
|
tags: |
|
- stable-diffusion |
|
- diffusers |
|
- text-to-image |
|
--- |
|
|
|
# SemiRealMix |
|
|
|
The result of many merges aimed at making semi-realistic human images. |
|
|
|
I use the following options to get good generation results: |
|
|
|
#### Prompt: |
|
|
|
delicate, masterpiece, best shadow, (1 girl:1.3), (korean girl:1.2), (from side:1.2), (from below:0.5), (photorealistic:1.5), extremely detailed skin, studio, beige background, warm soft light, low contrast, head tilt |
|
|
|
#### Negative prompt: |
|
|
|
(worst quality, low quality:1.4), nsfw, nude, (loli, child, infant, baby:1.5), jewely, (hard light:1.5), back light, spot light, hight contrast, (eyelid:1.3), outdoor, monochrome |
|
|
|
|
|
Sampler: DPM++ SDE Karras |
|
|
|
CFG Scale: 7 |
|
|
|
Steps: 20 |
|
|
|
Size: 512x768 |
|
|
|
Denoising strength: 0.5, Hires upscale: 2, Hires upscaler: R-ESRGAN 4x+ Anime6B, Eta: 0.2 |
|
|
|
Clip skip: 2 |
|
|
|
Base Model : SD 1.5 |
|
|
|
VAE: vae-ft-mse-840000-ema-pruned |
|
|
|
Use xformers : True |
|
|
|
## 🧨 Diffusers |
|
|
|
This model can be used just like any other Stable Diffusion model. For more information, |
|
please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion). |
|
|
|
You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx), [MPS](https://huggingface.co/docs/diffusers/optimization/mps) and/or [FLAX/JAX](). |
|
|
|
```python |
|
from diffusers import StableDiffusionPipeline |
|
import torch |
|
|
|
model_id = "robotjung/SemiRealMix" |
|
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16) |
|
pipe = pipe.to("cuda") |
|
|
|
prompt = "1girl" |
|
image = pipe(prompt).images[0] |
|
|
|
image.save("./output.png") |
|
``` |
|
|
|
## Examples: |
|
|
|
Here are some examples of images generated using this model: |
|
|
|
![Example-1](https://huggingface.co/robotjung/SemiRealMix/resolve/main/example-1.png) |
|
|
|
![Example-2](https://huggingface.co/robotjung/SemiRealMix/resolve/main/example-2.png) |
|
|
|
![Example-3](https://huggingface.co/robotjung/SemiRealMix/resolve/main/example-3.png) |
|
|
|
![Example-4](https://huggingface.co/robotjung/SemiRealMix/resolve/main/example-4.png) |
|
|
|
![Example-5](https://huggingface.co/robotjung/SemiRealMix/resolve/main/example-5.png) |
|
|
|
![Example-6](https://huggingface.co/robotjung/SemiRealMix/resolve/main/example-6.png) |
|
|
|
![Example-7](https://huggingface.co/robotjung/SemiRealMix/resolve/main/example-7.png) |
|
|
|
![Example-8](https://huggingface.co/robotjung/SemiRealMix/resolve/main/example-8.png) |