Instructions to use Cyanex/D.r.e.a.m_Mega 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_Mega 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_Mega", 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
- π D.R.E.A.M.
- π§ Overview
- πΌοΈ Samples
- βοΈ Model Details
- β¨ Features
- π― Tasks
- π¦ Dataset
- π¨ Creative Applications
- π Usage
- π§© Prompting Guide
- βοΈ Inference Controls
- π D.R.E.A.M. Model Family
- β
Intended Use
- β οΈ Limitations & Responsible Use
- π License
- π Citation
- π€ Contributing
- π¨βπ» Developer
- π§ Overview
π D.R.E.A.M.
Digital Rendering Engine for Artistic Melodies
A diffusion-based generative vision model for text-to-image and image-to-image creation, tuned for Midjourney-style artistic quality.
Text β Image Β· Image β Image Β· Creative Generation Β· Visual Transformation
π§ Overview
D.R.E.A.M. (Digital Rendering Engine for Artistic Melodies) is a diffusion-based generative image model built on Stable Diffusion v1.4, fine-tuned on the DreamScape / Midjourney Normalized Dataset to reproduce Midjourney's distinctive composition and lighting style.
It can be used to:
- π Generate images from text descriptions
- πΌοΈ Transform existing images via image-to-image generation
- π¨ Explore different artistic directions
- π Reinterpret visual concepts
- π Create imaginative environments and scenes
- π§βπ¨ Develop characters and concept art
- π‘ Rapidly visualize ideas from natural-language descriptions
| π§ Base Model | π¦ Dataset | π Language |
|---|---|---|
| Stable Diffusion v1.4 | Midjourney Normalized (Kaggle) | English |
πΌοΈ Samples
10 uncurated samples generated by the model β no cherry-picking.
βοΈ Model Details
| Field | Value |
|---|---|
| Developed by | Cyanex1702 |
| Model family | D.R.E.A.M. |
| Base model | CompVis/stable-diffusion-v1-4 |
| Model type | Latent diffusion model for text-to-image & image-to-image generation |
| Pipeline class(es) | StableDiffusionPipeline, StableDiffusionImg2ImgPipeline / AutoPipelineForImage2Image |
| Format | Safetensors |
| Framework | Hugging Face Diffusers |
| Language(s) | English |
| License | CreativeML OpenRAIL-M |
| Dataset | DreamScape β Midjourney Normalized Dataset (Kaggle) |
| Repository | Cyanex/D.r.e.a.m_Mega |
β¨ Features
| Capability | Description |
|---|---|
| ποΈ Text-to-Image | Generate original images from descriptive English prompts |
| π οΈ Image-to-Image | Feed in a source image + prompt to guide, restyle, or modify it |
| π Creative Rendering | Artistic, imaginative, Midjourney-inspired composition and lighting |
| ποΈ Strength Control | Adjust strength / guidance_scale to trade off fidelity vs. creativity |
| π Reproducibility | Fixed-seed generation for consistent, repeatable results |
π― Tasks
π Text-to-Image
Converts a natural-language description into a newly generated image.
Example prompt:
A futuristic city floating above the clouds,
massive glass skyscrapers, glowing architecture,
cinematic sunset, volumetric atmosphere,
highly detailed concept art
Generation flow:
βββββββββββββββββββ
β Text Prompt β
ββββββββββ¬ββββββββββ
βΌ
βββββββββββββββββββ
β Text Encoder β
ββββββββββ¬ββββββββββ
βΌ
βββββββββββββββββββ
β Diffusion β
β Process β
ββββββββββ¬ββββββββββ
βΌ
βββββββββββββββββββ
β Generated Image β
βββββββββββββββββββ
πΌοΈ Image-to-Image
Uses an existing image as the starting structure, guided by a text prompt toward a new interpretation. Common workflows:
- Sketch β Artwork
- Concept β Refined visual
- Existing image β Alternative interpretation
- Composition β New artistic direction
Generation flow:
βββββββββββββββββ βββββββββββββββββ
β Input Image β β Prompt β
βββββββββ¬ββββββββ βββββββββ¬ββββββββ
βΌ βΌ
βββββββββββββββββ βββββββββββββββββ
β Image Encoding β β Text Encoding β
βββββββββ¬ββββββββ βββββββββ¬ββββββββ
ββββββββββββ¬βββββββββββ
βΌ
βββββββββββββββββββββ
β Latent Representation β
ββββββββββββ¬ββββββββββ
βΌ
βββββββββββββββββββββ
β Diffusion / Denoise β
ββββββββββββ¬ββββββββββ
βΌ
βββββββββββββββββ
β Decoding β
βββββββββ¬ββββββββ
βΌ
βββββββββββββββββ
β Transformed Image β
βββββββββββββββββ
The degree of transformation is controlled by strength β how much noise is introduced into the source representation before denoising.
π¦ Dataset
The D.R.E.A.M. project used the Midjourney Normalized Dataset during model development. Preparation included:
- Dataset collection
- Data cleaning
- Image preprocessing
- Prompt normalization
- Dataset organization
- Training-data preparation
π¨ Creative Applications
| Area | Examples |
|---|---|
| π¨ Digital Art | Artistic image generation |
| π¬ Concept Development | Film / game / environment concepts |
| π§ Character Design | Character exploration and ideation |
| π World Building | Fantasy and sci-fi environments |
| ποΈ Environment Design | Architecture and scene concepts |
| π Visual Storytelling | Illustrations and narrative concepts |
| π‘ Ideation | Rapid visual prototyping |
| π§ͺ Research | Generative-AI experimentation |
π Usage
pip install -U diffusers transformers accelerate torch
ποΈ Text-to-Image
import torch
from diffusers import DiffusionPipeline
model_id = "Cyanex/D.r.e.a.m_Mega"
pipe = DiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda") # switch to "mps" for Apple devices
prompt = """
A futuristic city floating above the clouds,
massive glowing skyscrapers, cinematic sunset,
volumetric lighting, atmospheric fog,
highly detailed concept art
"""
image = pipe(prompt).images[0]
image.save("dream_mega.png")
π οΈ Image-to-Image
import torch
from PIL import Image
from diffusers import AutoPipelineForImage2Image
model_id = "Cyanex/D.r.e.a.m_Mega"
pipe = AutoPipelineForImage2Image.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")
init_image = Image.open("input.png").convert("RGB")
prompt = """
A cinematic fantasy environment,
dramatic atmospheric lighting,
highly detailed digital artwork
"""
result = pipe(prompt=prompt, image=init_image, strength=0.65, guidance_scale=7.5)
result.images[0].save("dream_mega_img2img.png")
Note: exact pipeline class and inference defaults should match the configuration of the released checkpoint.
π§© Prompting Guide
Good prompts generally benefit from describing several aspects of the desired image:
SUBJECT β ENVIRONMENT β COMPOSITION β STYLE β LIGHTING β DETAIL
Example:
A lone warrior,
standing inside an ancient ruined temple,
wide cinematic composition,
dark fantasy concept art,
dramatic rim lighting,
volumetric fog,
highly detailed environment
βοΈ Inference Controls
| Parameter | Purpose |
|---|---|
prompt |
Describes the desired output |
negative_prompt |
Specifies concepts to avoid |
num_inference_steps |
Controls denoising iterations |
guidance_scale |
Controls prompt adherence |
height / width |
Output image dimensions |
generator |
Controls reproducibility |
strength |
Controls transformation strength (image-to-image) |
image |
Source image (image-to-image) |
Higher values don't automatically mean better results β tune parameters to the visual outcome you want.
π Reproducible Generation
generator = torch.Generator("cuda").manual_seed(42)
image = pipe(prompt, generator=generator).images[0]
Same model + prompt + seed + inference config β reproducible generation.
π D.R.E.A.M. Model Family
| Model | Focus |
|---|---|
| D.R.E.A.M. (base) | General-purpose generation |
| D.r.e.a.m_Mega | Enhanced / mega variant (this model) |
| Dream-Anime | Anime-oriented generation |
| Dream-Photorealism | Photorealistic generation |
β Intended Use
- Personal, creative, and research image generation from text prompts
- Restyling or modifying existing images via image-to-image
- Concept art, character design, and world-building exploration
- Rapid visual prototyping and ideation
β οΈ Limitations & Responsible Use
- May produce incorrect anatomy or fine detail (hands, text-in-image, small objects)
- Inconsistent text rendering within images
- Complex spatial relationships may be misinterpreted
- Prompt adherence can vary
- Image-to-image results depend on source-image quality and transformation strength
- Inherits stylistic and representational biases present in the training dataset
- Not intended for generating photorealistic depictions of real, identifiable people
- Generated outputs should be reviewed before production use
Users are responsible for ensuring generated content complies with applicable laws, platform rules, intellectual-property requirements, and the model license.
π License
This model is released under a custom license (see LICENSE):
- β Free to use for personal, research, and commercial purposes
- β Free to modify, fine-tune, and build derivative works
- β οΈ Attribution required for large-scale use β if you deploy this model (or a derivative) in a product/service with more than 10,000 users or that generates revenue, you must credit Cyanex1702 / D.R.E.A.M. visibly (e.g. in an "About," credits, or model-card section)
- π« No use for generating content that violates applicable law or facilitates harm
Exact attribution thresholds can be adjusted in the LICENSE file β the numbers above are a starting default.
π Citation
D.R.E.A.M. (Digital Rendering Engine for Artistic Melodies) β D.r.e.a.m_Mega
Cyanex1702, Hugging Face, 2025
https://huggingface.co/Cyanex/D.r.e.a.m_Mega
π€ Contributing
Contributions and experiments are welcome. Areas where the community can help:
- π§ͺ Evaluation
- π¨ Generation examples
- π¬ Prompt experimentation
- βοΈ Inference optimization
- π¬ Diffusion research
- π¦ Dataset engineering
π¨βπ» Developer
Cyanex1702 β Generative AI Β· Machine Learning Β· Computer Vision π€ Hugging Face Profile
Turning language into visual imagination. Text β Image Β· Image β Image Β· Imagine β Create
- Downloads last month
- 57
Model tree for Cyanex/D.r.e.a.m_Mega
Base model
CompVis/stable-diffusion-v1-4