Update README.md
Browse files
README.md
CHANGED
@@ -1 +1,95 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- text-to-image
|
4 |
+
- stable-diffusion
|
5 |
+
- diffusers
|
6 |
+
- image-generation
|
7 |
+
- flux
|
8 |
+
- safetensors
|
9 |
+
license: other
|
10 |
+
license_name: flux-1-dev-non-commercial-license
|
11 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
12 |
+
language:
|
13 |
+
- en
|
14 |
+
base_model: black-forest-labs/FLUX.1-dev
|
15 |
+
library_name: diffusers
|
16 |
+
---
|
17 |
+
# Mystic AI
|
18 |
+
|
19 |
+
<div align="center">
|
20 |
+
<img src="https://enhanceai.s3.amazonaws.com/976a976a-38e2-47d0-89fe-ace1f0e10483_1.png" width="600"/>
|
21 |
+
</div>
|
22 |
+
|
23 |
+
**Mystic AI** is a cutting-edge image generation model that focuses on creating high-quality, aesthetically pleasing images with minimal effort. Designed to perform efficiently, Mystic AI can generate stunning visuals in as few as 8 to 16 inference steps, making it a powerful tool for creative professionals and enthusiasts alike.
|
24 |
+
|
25 |
+
## Features
|
26 |
+
|
27 |
+
- **High Quality Output:** Mystic AI produces images with exceptional detail and realism, comparable to leading models like MidJourney.
|
28 |
+
- **Efficient Inference:** Capable of generating high-quality images with fewer steps, reducing computational load while maintaining excellent results.
|
29 |
+
- **Versatile Applications:** Ideal for a range of creative projects, including fashion photography, portrait art, and more.
|
30 |
+
|
31 |
+
## Installation
|
32 |
+
|
33 |
+
To use Mystic AI, you'll need to install the `diffusers` library and load the model. Here's how you can get started:
|
34 |
+
|
35 |
+
```bash
|
36 |
+
pip install diffusers
|
37 |
+
pip install torch --extra-index-url https://download.pytorch.org/whl/cu118
|
38 |
+
```
|
39 |
+
|
40 |
+
## Usage
|
41 |
+
|
42 |
+
Below is a sample Python script to generate an image using Mystic AI:
|
43 |
+
|
44 |
+
```python
|
45 |
+
import torch
|
46 |
+
from diffusers import MysticPipeline
|
47 |
+
|
48 |
+
# Load the model
|
49 |
+
pipe = MysticPipeline.from_pretrained("enhanceateam/mystic", torch_dtype=torch.float16)
|
50 |
+
pipe.to("cuda")
|
51 |
+
|
52 |
+
# Define your prompt
|
53 |
+
prompt = (
|
54 |
+
"close up portrait, Amidst the interplay of light and shadows in a photography studio, "
|
55 |
+
"a soft spotlight traces the contours of a face, highlighting a figure clad in a sleek "
|
56 |
+
"black turtleneck. The garment, hugging the skin with subtle luxury, complements the "
|
57 |
+
"Caucasian model's understated makeup, embodying minimalist elegance. Behind, a pale gray "
|
58 |
+
"backdrop extends, its fine texture shimmering subtly in the dim light, artfully balancing "
|
59 |
+
"the composition and focusing attention on the subject. In a palette of black, gray, and skin "
|
60 |
+
"tones, simplicity intertwines with profundity, as every detail whispers untold stories."
|
61 |
+
)
|
62 |
+
|
63 |
+
# Generate the image
|
64 |
+
image = pipe(prompt,
|
65 |
+
num_inference_steps=16,
|
66 |
+
guidance_scale=7.5,
|
67 |
+
width=768, height=1024,
|
68 |
+
).images[0]
|
69 |
+
|
70 |
+
# Save the image
|
71 |
+
image.save("mystic_example.png")
|
72 |
+
```
|
73 |
+
|
74 |
+
## Comparison with FLUX
|
75 |
+
|
76 |
+
Mystic AI is often compared to FLUX.1-dev for its high-quality outputs. Below are examples that demonstrate the differences in image generation under similar settings.
|
77 |
+
|
78 |
+
<div align="center">
|
79 |
+
<img src="https://i.imgur.com/GlGXtDJ.jpeg" width="800"/>
|
80 |
+
<img src="https://i.imgur.com/8OblxyN.jpeg" width="800"/>
|
81 |
+
<img src="https://i.imgur.com/S8nkwEs.jpeg" width="800"/>
|
82 |
+
<img src="https://i.imgur.com/0KAGeeB.jpeg" width="800"/>
|
83 |
+
</div>
|
84 |
+
|
85 |
+
## Conclusion
|
86 |
+
|
87 |
+
Mystic AI is an efficient and versatile image generation model, perfect for creators looking for high-quality results with minimal computational resources. Whether you're a professional or an enthusiast, Mystic AI can help you achieve your creative vision with ease.
|
88 |
+
|
89 |
+
## License
|
90 |
+
|
91 |
+
This project is licensed under the [flux-1-dev-non-commercial-license](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md). All generated images are non-commercial.
|
92 |
+
|
93 |
+
## Acknowledgements
|
94 |
+
|
95 |
+
This model was developed by the team at [Enhance AI](https://www.enhanceai.art/) and is released under appropriate permissions. Special thanks to all contributors who made this project possible.
|