Text-to-Image
Diffusers
Safetensors
English
StableDiffusionPipeline
image-to-image
stable-diffusion
stable-diffusion-diffusers
art
Instructions to use Cyanex/D.R.E.A.M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Cyanex/D.R.E.A.M with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Cyanex/D.R.E.A.M", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,45 +1,155 @@
|
|
| 1 |
---
|
| 2 |
license: creativeml-openrail-m
|
| 3 |
tags:
|
| 4 |
-
- text-to-image
|
| 5 |
-
- stable-diffusion
|
| 6 |
-
- art
|
| 7 |
-
- stable-diffusion-diffusers
|
| 8 |
-
- text-to-image
|
| 9 |
-
- diffusers
|
| 10 |
language:
|
| 11 |
-
- en
|
| 12 |
pipeline_tag: text-to-image
|
| 13 |
library_name: diffusers
|
| 14 |
---
|
| 15 |
|
| 16 |
-
|
| 17 |
-
## Welcome to D.r.e.a.m (Digital Rendering Engine for Artistic Melodies).
|
| 18 |
|
| 19 |
-
|
|
|
|
| 20 |
|
| 21 |
-
|
| 22 |
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
-
|
| 26 |
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
-
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
-
|
| 37 |
-
- **Text-to-Image Generation:** Generate images from descriptive text prompts.
|
| 38 |
-
- **Image Modification:** Modify existing images based on new text inputs.
|
| 39 |
-
- **Creative Rendering:** Produce artistic and imaginative images.
|
| 40 |
|
| 41 |
-
|
| 42 |
-
To use the model, you can input text prompts in English. The model will process these prompts and generate corresponding images. Note that due to the model's current training phase, the results may vary and contain imperfections.
|
| 43 |
|
| 44 |
-
|
| 45 |
-
We welcome contributions from the community! If you'd like to contribute.
|
|
|
|
| 1 |
---
|
| 2 |
license: creativeml-openrail-m
|
| 3 |
tags:
|
| 4 |
+
- text-to-image
|
| 5 |
+
- stable-diffusion
|
| 6 |
+
- art
|
| 7 |
+
- stable-diffusion-diffusers
|
|
|
|
|
|
|
| 8 |
language:
|
| 9 |
+
- en
|
| 10 |
pipeline_tag: text-to-image
|
| 11 |
library_name: diffusers
|
| 12 |
---
|
| 13 |
|
| 14 |
+
<div align="center">
|
|
|
|
| 15 |
|
| 16 |
+
# π D.R.E.A.M.
|
| 17 |
+
### Digital Rendering Engine for Artistic Melodies
|
| 18 |
|
| 19 |
+
*Diffusion-based text-to-image generation, tuned for artistic, anime, and photorealistic rendering.*
|
| 20 |
|
| 21 |
+
[](#)
|
| 22 |
+
[](#)
|
| 23 |
+
[](#)
|
| 24 |
+
[](#)
|
| 25 |
+
[](#)
|
| 26 |
|
| 27 |
+
</div>
|
| 28 |
|
| 29 |
+
---
|
| 30 |
+
|
| 31 |
+
## π Overview
|
| 32 |
+
|
| 33 |
+
**D.R.E.A.M.** is a suite of diffusion-based text-to-image models built to emulate the creativity and visual richness of tools like Midjourney β while offering specialized variants for different artistic domains.
|
| 34 |
+
|
| 35 |
+
> Turn a sentence into a scene. Turn a scene into a style.
|
| 36 |
+
|
| 37 |
+
---
|
| 38 |
+
|
| 39 |
+
## π§© Model Suite
|
| 40 |
+
|
| 41 |
+
| Model | Purpose | Training Data | Best For |
|
| 42 |
+
|---|---|---|---|
|
| 43 |
+
| π¨ **D.R.E.A.M.** (base) | General-purpose image generation | Cyberverse dataset | Versatile, all-around creative outputs |
|
| 44 |
+
| πΈ **Dream-Anime** | Anime-style artwork | Surreal Symphonies (Kaggle) | Detailed, stylized anime illustrations |
|
| 45 |
+
| πΈ **Dream-Photorealism** | Photorealistic rendering | Surreal Symphonies (Kaggle) | Lifelike, high-fidelity real-world visuals |
|
| 46 |
+
|
| 47 |
+
---
|
| 48 |
+
|
| 49 |
+
## πΊοΈ How It Works
|
| 50 |
|
| 51 |
+
```
|
| 52 |
+
π Text Prompt
|
| 53 |
+
β
|
| 54 |
+
βΌ
|
| 55 |
+
π€ Text Encoder
|
| 56 |
+
β
|
| 57 |
+
βΌ
|
| 58 |
+
π«οΈ Diffusion U-Net
|
| 59 |
+
β
|
| 60 |
+
βΌ
|
| 61 |
+
Model Variant?
|
| 62 |
+
βββββββββΌβββββββββββββ
|
| 63 |
+
βΌ βΌ βΌ
|
| 64 |
+
π¨ Base πΈ Anime πΈ Photorealism
|
| 65 |
+
β β β
|
| 66 |
+
βββββββββ΄βββββββββββββ
|
| 67 |
+
β
|
| 68 |
+
βΌ
|
| 69 |
+
πΌοΈ Generated Image
|
| 70 |
+
```
|
| 71 |
+
|
| 72 |
+
---
|
| 73 |
+
|
| 74 |
+
## β¨ Features
|
| 75 |
+
|
| 76 |
+
- ποΈ **Text-to-Image Generation** β Turn descriptive prompts into original images
|
| 77 |
+
- π οΈ **Image Modification** β Guide edits to existing images with new prompts
|
| 78 |
+
- π **Creative Rendering** β Artistic, imaginative, Midjourney-inspired outputs
|
| 79 |
+
- 𧬠**Specialized Variants** β Pick the model tuned for your visual style
|
| 80 |
+
|
| 81 |
+
---
|
| 82 |
+
|
| 83 |
+
## π Model Comparison
|
| 84 |
+
|
| 85 |
+
*Illustrative of intended design focus, not benchmarked scores β training is still in progress.*
|
| 86 |
+
|
| 87 |
+
| Use Case | D.R.E.A.M. (base) | Dream-Anime | Dream-Photorealism |
|
| 88 |
+
|---|---|---|---|
|
| 89 |
+
| General Use | ββββββββββ 8/10 | ββββββββββ 4/10 | ββββββββββ 4/10 |
|
| 90 |
+
| Anime Style | ββββββββββ 5/10 | ββββββββββ 9/10 | ββββββββοΏ½οΏ½οΏ½β 3/10 |
|
| 91 |
+
| Photorealism | ββββββββββ 5/10 | ββββββββββ 3/10 | ββββββββββ 9/10 |
|
| 92 |
+
| Prompt Flexibility | ββββββββββ 9/10 | ββββββββββ 6/10 | ββββββββββ 6/10 |
|
| 93 |
+
|
| 94 |
+
---
|
| 95 |
+
|
| 96 |
+
## π Usage
|
| 97 |
+
|
| 98 |
+
```python
|
| 99 |
+
from diffusers import DiffusionPipeline
|
| 100 |
+
import torch
|
| 101 |
+
|
| 102 |
+
pipe = DiffusionPipeline.from_pretrained(
|
| 103 |
+
"Cyanex1702/DREAM",
|
| 104 |
+
torch_dtype=torch.float16
|
| 105 |
+
).to("cuda")
|
| 106 |
+
|
| 107 |
+
prompt = "a glowing city floating above the clouds, cinematic lighting, ultra detailed"
|
| 108 |
+
image = pipe(prompt).images[0]
|
| 109 |
+
image.save("dream_output.png")
|
| 110 |
+
```
|
| 111 |
+
|
| 112 |
+
**Swap in a specialized variant:**
|
| 113 |
+
|
| 114 |
+
```python
|
| 115 |
+
# Anime style
|
| 116 |
+
pipe = DiffusionPipeline.from_pretrained("Cyanex1702/Dream-Anime", torch_dtype=torch.float16).to("cuda")
|
| 117 |
+
|
| 118 |
+
# Photorealism
|
| 119 |
+
pipe = DiffusionPipeline.from_pretrained("Cyanex1702/Dream-Photorealism", torch_dtype=torch.float16).to("cuda")
|
| 120 |
+
```
|
| 121 |
+
|
| 122 |
+
---
|
| 123 |
+
|
| 124 |
+
## βοΈ Model Details
|
| 125 |
+
|
| 126 |
+
| Field | Value |
|
| 127 |
+
|---|---|
|
| 128 |
+
| **Developed by** | [Cyanex1702](https://huggingface.co/Cyanex1702) |
|
| 129 |
+
| **Model type** | Diffusion-based text-to-image generation |
|
| 130 |
+
| **Language(s)** | English |
|
| 131 |
+
| **License** | CreativeML OpenRAIL-M |
|
| 132 |
+
| **Training status** | π In progress β outputs may vary and contain imperfections |
|
| 133 |
+
|
| 134 |
+
---
|
| 135 |
+
|
| 136 |
+
## β οΈ Limitations
|
| 137 |
+
|
| 138 |
+
Since training is ongoing, expect:
|
| 139 |
+
- Inconsistent output quality between prompts
|
| 140 |
+
- Occasional artifacts or anatomical errors
|
| 141 |
+
- Style drift on out-of-distribution prompts
|
| 142 |
+
|
| 143 |
+
---
|
| 144 |
+
|
| 145 |
+
## π€ Contributing
|
| 146 |
+
|
| 147 |
+
Contributions are welcome! Feel free to open an issue or pull request if you'd like to help improve the D.R.E.A.M. suite β whether that's data, training tips, or example prompts.
|
| 148 |
+
|
| 149 |
+
---
|
| 150 |
|
| 151 |
+
<div align="center">
|
|
|
|
|
|
|
|
|
|
| 152 |
|
| 153 |
+
*Made with π by Cyanex1702*
|
|
|
|
| 154 |
|
| 155 |
+
</div>
|
|
|