Model reference · open weights
dreamlike-diffusion-1.0 is an open-weight image model from dreamlike-art. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Released by | dreamlike-art |
|---|---|
| Type | Image models |
| Task | Text→image |
| Parameters (lead) | 860M |
| Runs with | diffusers |
| Released | 2022-12-11 |
| Popularity | 4k downloads / month |
| Licence | Commercial licence needed |
About
Use the same prompts as you would for SD 1.5. Add dreamlikeart if the artstyle is too weak. Non-square aspect ratios work better for some prompts. If you want a portrait photo, try using a 2:3 or a 9:16 aspect ratio. If you want a landscape photo, try using a 3:2 or a 16:9 aspect ratio. Use slightly higher resolution for better results: 640x640px, 512x768px, 768x512px, etc.
https://huggingface.co/dreamlike-art/dreamlike-photoreal-2.0
You can use this model for free on dreamlike.art!
We support a Gradio Web UI to run dreamlike-diffusion-1.0:
Download dreamlike-diffusion-1.0.ckpt (2.13GB)
This model can be used just like any other Stable Diffusion model. For more information, please have a look at the Stable Diffusion Pipeline.
from diffusers import StableDiffusionPipeline
import torch
model_id = "dreamlike-art/dreamlike-diffusion-1.0"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")
prompt = "dreamlikeart, a grungy woman with rainbow hair, travelling between dimensions, dynamic pose, happy, soft eyes and narrow chin, extreme bokeh, dainty figure, long hair straight down, torn kawaii shirt and baggy jeans, In style of by Jordan Grimmer and greg rutkowski, crisp lines and color, complex background, particles, lines, wind, concept art, sharp focus, vivid colors"
image = pipe(prompt).images[0]
image.save("./result.jpg")
This model is licesed under a modified CreativeML OpenRAIL-M license.
From the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys dreamlike-diffusion-1-0 for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (dreamlike-diffusion-1-0 below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/images/generations \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"dreamlike-diffusion-1-0","prompt":"a red bicycle","size":"1024x1024"}'
Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.