Text-to-Image
Diffusers
PyTorch
Chinese
English
StableDiffusionPipeline
stable-diffusion
diffusion-models-class
dreambooth-hackathon
wildcard
Instructions to use tilake/China-Chic-illustration with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use tilake/China-Chic-illustration with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("tilake/China-Chic-illustration", dtype=torch.bfloat16, device_map="cuda") prompt = "a rabbit wearing sunglasses, in the style of <guo-chao> illustration, trending on artstation, masterpiece, best quality" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -9,33 +9,46 @@ tags:
|
|
| 9 |
- dreambooth-hackathon
|
| 10 |
- wildcard
|
| 11 |
widget:
|
| 12 |
-
- text:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
-
# DreamBooth model for China-Chic-illustration trained by tilake aigc group on the own dataset.
|
| 16 |
|
| 17 |
-
|
|
|
|
|
|
|
| 18 |
It can be used by modifying the `instance_prompt`: **style of \<guo-chao\> illustration**
|
| 19 |
|
|
|
|
|
|
|
|
|
|
| 20 |
## Description
|
| 21 |
|
| 22 |
This is a Stable Diffusion model fine-tuned on `China-Chic illustration` style images. It is trained by Tilake AIGC Group.
|
| 23 |
If you like this model, click the \[❤ like\] button!
|
| 24 |
|
|
|
|
|
|
|
| 25 |
## Examples
|
| 26 |
-
- Prompt: ```a cute rabbit in red clothes, in the style of <guo-chao> illustration, trending on artstation, masterpiece, best quality```
|
| 27 |
<img width="200px" height="200px" src="https://huggingface.co/tilake/China-Chic-illustration/resolve/main/example/1.jpg">
|
| 28 |
-
- Prompt: ```dragon dance, in the style of <guo-chao> illustration, trending on artstation, masterpiece, best quality```
|
| 29 |
<img width="200px" height="200px" src="https://huggingface.co/tilake/China-Chic-illustration/resolve/main/example/2.jpg">
|
| 30 |
-
- Prompt: ```fireworks, in the style of <guo-chao> illustration, trending on artstation, masterpiece, best quality```
|
| 31 |
<img width="200px" height="200px" src="https://huggingface.co/tilake/China-Chic-illustration/resolve/main/example/3.jpg">
|
| 32 |
-
- Prompt: ```a snowman, fireworks in the background, in the style of <guo-chao> illustration, trending on artstation, masterpiece, best quality```
|
| 33 |
<img width="200px" height="200px" src="https://huggingface.co/tilake/China-Chic-illustration/resolve/main/example/4.jpg">
|
| 34 |
|
| 35 |
## Usage
|
| 36 |
|
| 37 |
```python
|
| 38 |
from diffusers import StableDiffusionPipeline
|
|
|
|
|
|
|
| 39 |
pipeline = StableDiffusionPipeline.from_pretrained('tilake/China-Chic-illustration')
|
| 40 |
image = pipeline("style of <guo-chao> illustration, a rabbit wearing sunglasses").images[0]
|
| 41 |
image
|
|
|
|
| 9 |
- dreambooth-hackathon
|
| 10 |
- wildcard
|
| 11 |
widget:
|
| 12 |
+
- text: >-
|
| 13 |
+
a rabbit wearing sunglasses, in the style of <guo-chao> illustration,
|
| 14 |
+
trending on artstation, masterpiece, best quality
|
| 15 |
+
language:
|
| 16 |
+
- zh
|
| 17 |
+
- en
|
| 18 |
---
|
| 19 |
|
|
|
|
| 20 |
|
| 21 |
+
# DreamBooth model for China-Chic-illustration
|
| 22 |
+
|
| 23 |
+
This is the first model for `China-Chic illustration` (国潮插画) style painting. The model is based on Stable Diffusion model, fine-tuned the `China-Chic illustration` style taught to Stable Diffusion with DreamBooth. It is trained by tilake AIGC group on the own dataset.
|
| 24 |
It can be used by modifying the `instance_prompt`: **style of \<guo-chao\> illustration**
|
| 25 |
|
| 26 |
+
全球首个 “国潮插画” 风格定制化模型发布。该模型基于 Stable Diffusion model,并采用 DreamBooth 微调。该模型由 TiLake AIGC Group 在内部数据集上训练而来。
|
| 27 |
+
你可以通过扩充以下 `instance_prompt` 来使用国潮插画模型绘制各种画作: **style of \<guo-chao\> illustration**
|
| 28 |
+
|
| 29 |
## Description
|
| 30 |
|
| 31 |
This is a Stable Diffusion model fine-tuned on `China-Chic illustration` style images. It is trained by Tilake AIGC Group.
|
| 32 |
If you like this model, click the \[❤ like\] button!
|
| 33 |
|
| 34 |
+
国潮插画是将传统文化和现代潮流审美进行结合的一种插画形式,开放该模型旨在给相关艺术家和工作者提供灵感和创作思路。如果喜欢该模型,欢迎点亮网页最上方的【like】按钮~
|
| 35 |
+
|
| 36 |
## Examples
|
| 37 |
+
- Prompt: ```a cute rabbit in red clothes, in the style of <guo-chao> illustration, trending on artstation, masterpiece, best quality```(国潮兔)
|
| 38 |
<img width="200px" height="200px" src="https://huggingface.co/tilake/China-Chic-illustration/resolve/main/example/1.jpg">
|
| 39 |
+
- Prompt: ```dragon dance, in the style of <guo-chao> illustration, trending on artstation, masterpiece, best quality```(国潮舞龙)
|
| 40 |
<img width="200px" height="200px" src="https://huggingface.co/tilake/China-Chic-illustration/resolve/main/example/2.jpg">
|
| 41 |
+
- Prompt: ```fireworks, in the style of <guo-chao> illustration, trending on artstation, masterpiece, best quality```(国潮烟花)
|
| 42 |
<img width="200px" height="200px" src="https://huggingface.co/tilake/China-Chic-illustration/resolve/main/example/3.jpg">
|
| 43 |
+
- Prompt: ```a snowman, fireworks in the background, in the style of <guo-chao> illustration, trending on artstation, masterpiece, best quality```(国潮雪人)
|
| 44 |
<img width="200px" height="200px" src="https://huggingface.co/tilake/China-Chic-illustration/resolve/main/example/4.jpg">
|
| 45 |
|
| 46 |
## Usage
|
| 47 |
|
| 48 |
```python
|
| 49 |
from diffusers import StableDiffusionPipeline
|
| 50 |
+
|
| 51 |
+
# guidance_scale=8.8 may be the best
|
| 52 |
pipeline = StableDiffusionPipeline.from_pretrained('tilake/China-Chic-illustration')
|
| 53 |
image = pipeline("style of <guo-chao> illustration, a rabbit wearing sunglasses").images[0]
|
| 54 |
image
|