File size: 9,940 Bytes
2b7ee82 ead825c 5bfe94f ead825c 5bfe94f 421930c e622e46 faf95ae 2b7ee82 ead825c 5bfe94f ead825c 480891c ead825c 37546d6 a1f845f ead825c 99367e4 ead825c 99367e4 ead825c 5bfe94f ead825c 5bfe94f ead825c 5bfe94f ead825c 5bfe94f ead825c 192ee03 ead825c 192ee03 ead825c 5bfe94f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 |
---
license: cc-by-sa-4.0
language:
- en
- zh
library_name: diffusers
pipeline_tag: text-to-image
tags:
- stable-diffusion
- stable-diffusion-diffusers
- dreambooth
widget:
- text: highres, original, portrait of a beautiful teenager, small breasts, formal dress, soft smile, red lips, nice hair, beauty eyes, 1girl, solo
- text: 1girl, white hair, beautiful blue eyes, red lips, detailed sky, garden
---
# asian-role
Welcome to asian-role model, this is a Chinese gorgeous antique style game role model. This model is intended to produce high-quality,
highly detailed anime style with just a few prompts.
e.g. **_1girl, white hair, beautiful blue eyes, red lips, detailed sky, garden_**
This model is a merged model, it has [GuoFeng3](https://huggingface.co/xiaolxl/GuoFeng3) and [Chilloutmix](https://huggingface.co/TASUKU2023/Chilloutmix) in it.
## Spaces
We support a Gradio Web UI to run it:
[https://huggingface.co/spaces/shibing624/asian-role](https://huggingface.co/spaces/shibing624/asian-role)
## 🧨 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 = "shibing624/asian-role"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")
pipe.safety_checker = lambda images, **kwargs: (images, False)
prompt = "1girl"
negative_prompt = """(((simple background))),monochrome ,lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, ugly, pregnant,vore,duplicate,morbid,mut ilated,tran nsexual, hermaphrodite,long neck,mutated hands,poorly drawn hands,poorly drawn face,mutation, deformed, (((missing arms))),(((missing legs))), (((extra arms))),(((extra legs))),pubic hair, plump,bad legs,error legs, bad feet, loli, little girl"""
image = pipe(prompt, height=512, width=512, num_inference_steps=30, guidance_scale=6,
negative_prompt=negative_prompt, num_images_per_prompt=1).images[0]
image.save("./1girl.png")
```
## NovelAI/stable-diffusion-webui
This model can used in [AUTOMATIC1111/stable-diffusion-webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui).
Just put the model file [asian-role.safetensors](https://huggingface.co/shibing624/asian-role/resolve/main/asian-role.safetensors) to [stable-diffusion-webui/models/Stable-diffusion](https://github.com/AUTOMATIC1111/stable-diffusion-webui/tree/master/models/Stable-diffusion), it is done, No extra VAE model need, the model contains VAE.
## Examples
Below are some examples of images generated using this model:
**Anime Girl:**
![Anime Girl](https://huggingface.co/shibing624/asian-role/resolve/main/anime_girl.png)
```
{{{masterpiece}}}, {{best quality, super fine illustration , beautiful and delicate water,The finest grass}}. ((beautiful eyes)),{ very delicate light, perfect and delicate limbs}, {nature, painting, water spray},{{ fine luminescence ,very fine 8K CG wallpaper}},Lavender eyes, pink pupils, whole body, white hair, bright eyes,( (an extremely delicate and beautiful girl)), ((1 girl)), medium bust, dynamic angle, (white dress with gold decoration), (long hair flowing with the wind, beautiful hair ornaments, delicate wet skirt, nsfw, breeze, long bangs between eyes), wrinkled skirt, (staring blankly, lovely big eyes),messy_hair,payot,Lateral braid,(Tulle lace white skirt),flowers and grass meadow, near the water edge, ((sunset, starry sky in a circle), randomly distributed clouds, (((river))), splashing water, falling petals
Negative prompt: (((simple background))),monochrome ,lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, ugly, pregnant,vore,duplicate,morbid,mut ilated,tran nsexual, hermaphrodite,long neck,mutated hands,poorly drawn hands,poorly drawn face,mutation,deformed, (((missing arms))),(((missing legs))), (((extra arms))),(((extra legs))),pubic hair, plump,bad legs,error legs, bad feet, loli, little girl
Steps: 30, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 1, Size: 618x768, Model: asian-role
```
**Real Girl**:
![Real Girl](https://huggingface.co/shibing624/asian-role/resolve/main/real_girl.png)
```
(Masterpiece),(best quality),((masterpiece)),(highres), original, portrait of a beautiful teenager, small breasts, formal dress, soft smile, red lips, nice hair, beauty eyes, 1girl, solo, realism, {{{{drawn by Xi Zhang}}}}
Negative prompt: (((simple background))),monochrome ,lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, ugly, pregnant,vore,duplicate,morbid,mut ilated,tran nsexual, hermaphrodite,long neck,mutated hands,poorly drawn hands,poorly drawn face,mutation,deformed, (((missing arms))),(((missing legs))), (((extra arms))),(((extra legs))),pubic hair, plump,bad legs,error legs, bad feet, loli, little girl
Steps: 23, Sampler: Euler, CFG scale: 7, Seed: 1, Size: 618x768, Model: asian-role
```
**Real Boy**:
![Real Boy](https://huggingface.co/shibing624/asian-role/resolve/main/real_boy.png)
```
(Masterpiece),(best quality),((masterpiece)),(highres), original, portrait of a beautiful young man, handsome, smile, short hair, beauty eyes, 1boy, solo, realism, formal dress, chinese face, {{{{drawn by Ralph Steadman}}}}
Negative prompt: (((simple background))),monochrome ,lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, ugly, pregnant,vore,duplicate,morbid,mut ilated,tran nsexual, hermaphrodite,long neck,mutated hands,poorly drawn hands,poorly drawn face,mutation,deformed, (((missing arms))),(((missing legs))), (((extra arms))),(((extra legs))),pubic hair, plump,bad legs,error legs, bad feet, loli, little girl
Steps: 30, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 1, Size: 618x768, Model hash: 60dbd0f982, Model: asian-role
```
**Scene**:
![Scene](https://huggingface.co/shibing624/asian-role/resolve/main/scene.png)
```
(extremely detailed CG unity 8k wallpaper),(((masterpiece))), (((best quality))), ((ultra-detailed)), (best illustration),(best shadow), ((an extremely delicate and beautiful)),dynamic angle,floating, fairyland,dynamic angle,sea of flowers,beautiful detailed garden,wind,classic,spring, (detailed light),feather, nature, (sunlight), river, forest,(((floating palace))),((the best building)),beautiful and delicate water,(painting),(sketch),(bloom),(shine)
Negative prompt: (((simple background))),monochrome ,lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, ugly, pregnant,vore,duplicate,morbid,mut ilated,tran nsexual, hermaphrodite,long neck,mutated hands,poorly drawn hands,poorly drawn face,mutation,deformed, (((missing arms))),(((missing legs))), (((extra arms))),(((extra legs))),pubic hair, plump,bad legs,error legs, bad feet, loli, little girl
Steps: 30, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 1, Size: 618x768, Model: asian-role
```
## How to use
Recommand settings:
- **prompts:**
```
{best quality}, {{masterpiece}}, {highres}, {an extremely delicate and beautiful}, original, extremely detailed wallpaper, 1girl
```
- **Negative prompts:**
```
(((simple background))),monochrome ,lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, lowres, bad anatomy, bad hands, text, error, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, ugly,pregnant,vore,duplicate,morbid,mut ilated,tran nsexual, hermaphrodite,long neck,mutated hands,poorly drawn hands,poorly drawn face,mutation,deformed,blurry,bad anatomy,bad proportions,malformed limbs,extra limbs,cloned face,disfigured,gross proportions, (((missing arms))),(((missing legs))), (((extra arms))),(((extra legs))),pubic hair, plump,bad legs,error legs,username,blurry,bad feet
```
- Sampling steps:**30 or 50**
- Sampler:**DPM++ SDE Karras**
- The size of the picture should be at least **768**
- suggest **prompts keywords:**
```
strapless dress, smile, chinese dress, dress, hair ornament, necklace, jewelry, long hair, earrings, chinese clothes
```
## License
This model is open access and available to all, with a cc-by-sa-4.0 license further specifying rights and usage.
The cc-by-sa-4.0 License specifies:
1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
2. The authors claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license
3. You may re-distribute the weights and use the model commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully)
[Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license) |