pranavajay
commited on
Commit
•
10230fd
1
Parent(s):
23c17b2
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language: en
|
3 |
+
license: apache-2.0
|
4 |
+
tags:
|
5 |
+
- art
|
6 |
+
- image-generation
|
7 |
+
- text-to-image
|
8 |
+
- diffusion
|
9 |
+
- high-quality
|
10 |
+
- AI
|
11 |
+
pipeline_tag: text-to-image
|
12 |
+
thumbnail: https://example.com/thumbnail.png
|
13 |
+
---
|
14 |
+
|
15 |
+
# AnimeSAI V0.1
|
16 |
+
|
17 |
+
**Model Card for `enhanceaiteam/AnimeSAI`**
|
18 |
+
|
19 |
+
`AnimeSAI` is a cutting-edge text-to-image generation model by EnhanceAI, tailored specifically for creating high-quality anime-style images. Utilizing advanced diffusion techniques, this model is ideal for artists, designers, and anime enthusiasts looking to produce visually stunning and accurate anime art based on textual descriptions.
|
20 |
+
|
21 |
+
## Model Details
|
22 |
+
|
23 |
+
- **Version**: 0.1
|
24 |
+
- **Base Model**: EnhanceAI's proprietary image generation architecture
|
25 |
+
- **Training Data**: The model is trained on a diverse dataset of high-resolution, copyright-free anime images, covering various styles and themes.
|
26 |
+
- **Pipeline**: Stable Diffusion XL Pipeline
|
27 |
+
|
28 |
+
## Features
|
29 |
+
|
30 |
+
- **Anime-Specific Generation**: Specializes in generating anime-style art, from characters to landscapes.
|
31 |
+
- **High-Resolution Output**: Generates images at 1024x1024 resolution.
|
32 |
+
- **Enhanced Prompt Understanding**: Optimized for comprehending complex and detailed text prompts specific to anime art.
|
33 |
+
- **Versatile Style Generation**: Capable of producing images in a range of anime styles, from classic to modern aesthetics.
|
34 |
+
|
35 |
+
## Usage
|
36 |
+
|
37 |
+
To use `AnimeSAI`, you can integrate it with the `diffusers` library. Below is an example of how to generate images:
|
38 |
+
|
39 |
+
```python
|
40 |
+
import torch
|
41 |
+
from diffusers import (
|
42 |
+
StableDiffusionXLPipeline,
|
43 |
+
KDPM2AncestralDiscreteScheduler,
|
44 |
+
AutoencoderKL
|
45 |
+
)
|
46 |
+
|
47 |
+
# Load VAE component
|
48 |
+
vae = AutoencoderKL.from_pretrained(
|
49 |
+
"madebyollin/sdxl-vae-fp16-fix",
|
50 |
+
torch_dtype=torch.float16
|
51 |
+
)
|
52 |
+
|
53 |
+
# Configure the pipeline
|
54 |
+
pipe = StableDiffusionXLPipeline.from_pretrained(
|
55 |
+
"enhanceaiteam/AnimeSAI",
|
56 |
+
vae=vae,
|
57 |
+
torch_dtype=torch.float16
|
58 |
+
)
|
59 |
+
pipe.scheduler = KDPM2AncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
60 |
+
pipe.to('cuda')
|
61 |
+
|
62 |
+
# Define prompts and generate image
|
63 |
+
prompt = "a vibrant anime character standing under cherry blossoms"
|
64 |
+
negative_prompt = ""
|
65 |
+
|
66 |
+
image = pipe(
|
67 |
+
prompt,
|
68 |
+
negative_prompt=negative_prompt,
|
69 |
+
width=1024,
|
70 |
+
height=1024,
|
71 |
+
guidance_scale=7,
|
72 |
+
num_inference_steps=50,
|
73 |
+
clip_skip=2
|
74 |
+
).images[0]
|
75 |
+
|
76 |
+
image.save("generated_anime_image.png")
|
77 |
+
```
|
78 |
+
|
79 |
+
## Prompts
|
80 |
+
|
81 |
+
When creating prompts, be as descriptive as possible to achieve the best results. Detailed descriptions help the model generate more accurate and visually appealing anime images.
|
82 |
+
|
83 |
+
## Image Samples
|
84 |
+
|
85 |
+
Here are some example images generated by `AnimeSAI`:
|
86 |
+
|
87 |
+
1. ![Sample 1](https://telegra.ph/file/66dcd4d3e6072027ca568.jpg)
|
88 |
+
2. ![Sample 2](https://telegra.ph/file/349c8d4f3aa8daaa12909.jpg)
|
89 |
+
3. ![Sample 3](https://telegra.ph/file/2ffdc4503a7d1783d184a.jpg)
|
90 |
+
4. ![Sample 4](https://telegra.ph/file/387c4ed14d2606c16cd28.jpg)
|
91 |
+
5. ![Sample 5](https://telegra.ph/file/5ab4190b8dba72d2d694e.jpg)
|
92 |
+
6. ![Sample 6](https://telegra.ph/file/deb06d803b1dcf3d30b93.jpg)
|
93 |
+
7. ![Sample 7](https://telegra.ph/file/c854a9d53f11c440d5130.jpg)
|
94 |
+
8. ![Sample 8](https://telegra.ph/file/610793a17be73ce37ba59.jpg)
|
95 |
+
9. ![Sample 9](https://telegra.ph/file/67fc5ebdc85cf5804f333.jpg)
|
96 |
+
10. ![Sample 10](https://telegra.ph/file/a56fce0faacadb6217e23.jpg)
|
97 |
+
11. ![Sample 11](https://telegra.ph/file/a183c45d4a0a44a17a926.jpg)
|
98 |
+
13. ![Sample 13](https://enhanceai.s3.amazonaws.com/a8e3c936-ef5c-41aa-9d02-0dfec34b2892_1.png)
|
99 |
+
14. ![Sample 14](https://enhanceai.s3.amazonaws.com/921b0d16-da74-4ab6-9e01-8e11125faed9_1.png)
|
100 |
+
15. ![Sample 15](https://enhanceai.s3.amazonaws.com/36c150ff-df61-4a66-8369-c4f4154cbeab_1.png)
|
101 |
+
16. ![Sample 16](https://enhanceai.s3.amazonaws.com/d1c294f0-130b-4467-b898-29391da6ec8f_1.png)
|
102 |
+
17. ![Sample 17](https://enhanceai.s3.amazonaws.com/022702b8-d4e6-4dda-9f2f-2c7388692ecc_1.png)
|
103 |
+
18. ![Sample 18](https://enhanceai.s3.amazonaws.com/db2480ab-7fea-47b3-8504-02344b14763e_1.png)
|
104 |
+
19. ![Sample 19](https://enhanceai.s3.amazonaws.com/d563981f-677d-4b42-af32-8bbbc233d4f6_1.png)
|
105 |
+
20. ![Sample 20](https://enhanceai.s3.amazonaws.com/41546d42-2675-4d4c-b494-7e3e93060310_1.png)
|
106 |
+
21. ![Sample 21](https://enhanceai.s3.amazonaws.com/5ef4d667-d1ea-44e0-a838-4e5e5c2dd73b_1.png)
|
107 |
+
22. ![Sample 22](https://enhanceai.s3.amazonaws.com/2176059b-d7cd-467d-94dd-7022c718b5aa_1.png)
|
108 |
+
23. ![Sample 23](https://enhanceai.s3.amazonaws.com/350557fe-0899-48ae-b039-5a9c10bce5c6_1.png)
|
109 |
+
24. ![Sample 24](https://enhanceai.s3.amazonaws.com/034181dd-f0b5-43e4-9ad5-589a730f5a59_1.png)
|
110 |
+
25. ![Sample 25](https://enhanceai.s3.amazonaws.com/94c16ed8-8cb1-4e5a-a36a-e2f7c0131c2c_1.png)
|
111 |
+
|
112 |
+
## Explore
|
113 |
+
|
114 |
+
Explore and try out `AnimeSAI` on the [EnhanceAI Playground](https://enhanceai.art/playground). Experiment with different prompts and see the incredible anime-style images you can create.
|
115 |
+
|
116 |
+
## API Service
|
117 |
+
|
118 |
+
- **Modelslab** - [AnimeSAI on Modelslab](https://modelslab.com/models/animesai)
|
119 |
+
|
120 |
+
## License
|
121 |
+
|
122 |
+
`AnimeSAI` is licensed under the [Apache 2.0 License](https://opensource.org/licenses/Apache-2.0).
|
123 |
+
|
124 |
+
## Contact
|
125 |
+
|
126 |
+
For support and inquiries, please reach out to [info@enhanceai.art](mailto:info@enhanceai.art).
|
127 |
+
|
128 |
+
---
|
129 |
+
|
130 |
+
### How to Use AnimeSAI on EnhanceAI.art
|
131 |
+
|
132 |
+
1. **Open the Website**: Visit [EnhanceAI.art](https://enhanceai.art).
|
133 |
+
2. **Login/Register**: Create an account or log in.
|
134 |
+
3. **Access Playground V2**: Navigate to the Playground V2 section.
|
135 |
+
4. **Select Model**: Choose `AnimeSAI` from the available models.
|
136 |
+
5. **Write Prompt**: Enter your desired text prompt.
|
137 |
+
6. **Click Generate**: Hit generate and watch your anime-style image come to life.
|
138 |
+
|
139 |
+
---
|
140 |
+
|
141 |
+
Happy creating!
|
142 |
+
|
143 |
+
- The EnhanceAI Team
|
144 |
+
- Pranav Ajay
|