|
--- |
|
language: |
|
- en |
|
license: creativeml-openrail-m |
|
tags: |
|
- stable-diffusion |
|
- stable-diffusion-diffusers |
|
- text-to-image |
|
- diffusers |
|
inference: true |
|
--- |
|
|
|
Diffuser model for this SD checkpoint: |
|
https://civitai.com/models/43331/majicmix-realistic |
|
|
|
**emilianJR/majicMIX_realistic_v6** is the HuggingFace diffuser that you can use with **diffusers.StableDiffusionPipeline()**. |
|
|
|
Examples | Examples | Examples |
|
---- | ---- | ---- |
|
![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/55e308aa-aec9-4816-b76e-523d9235a6e1/width=450/00005-321001525.jpeg) | ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/f1bb9271-3628-45c6-8b2c-05ee3b19af0f/width=450/00027-1961413425.jpeg) | ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/18150a9d-1e07-494f-8498-cd0c033907c5/width=450/00042-2448422190.jpeg) |
|
![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/d748fcfd-29f1-4fe1-95e2-d34765bccca9/width=450/00058-3698311310.jpeg) | ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/a5b348c9-7b5b-4235-a943-834eec84a17a/width=450/00003-703532927.jpeg) | ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/66820fd3-98f2-4fbb-b904-0507de39c36a/width=450/00002-140050360.jpeg) |
|
------- |
|
|
|
|
|
## 🧨 Diffusers |
|
|
|
This model can be used just like any other Stable Diffusion model. For more information, |
|
please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion). |
|
|
|
|
|
```python |
|
from diffusers import StableDiffusionPipeline |
|
import torch |
|
|
|
model_id = "emilianJR/majicMIX_realistic_v6" |
|
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16) |
|
pipe = pipe.to("cuda") |
|
|
|
prompt = "YOUR PROMPT" |
|
image = pipe(prompt).images[0] |
|
|
|
image.save("image.png") |
|
``` |
|
|
|
## License |
|
|
|
This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage. |
|
The CreativeML OpenRAIL License specifies: |
|
[Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license) |