|
--- |
|
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/22402/fantasticmix |
|
|
|
**fantasticmix** is the HuggingFace diffuser that you can use with **diffusers.StableDiffusionPipeline()**. |
|
|
|
Examples | Examples | Examples |
|
---- | ---- | ---- |
|
![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/3becfbe1-2c2b-4807-9242-1c4dd4b2951d/width=400/20230522_212035_709500.jpeg) | ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/75a8cef1-f0f1-4486-bb4a-315d4ae162c8/width=400/20230522_194420_265983.jpeg) | ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/d70699ee-8b7e-4283-8f33-6c1971f20948/width=400/20230522_194845_416509.jpeg) |
|
![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/8d5ebd73-ce72-4c3f-a94b-f007e981a950/width=400/20230522_183739_592683.jpeg) | ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/8c6d7827-f101-44b1-9c36-a2be3013cb2a/width=400/20230522_212245_329331.jpeg) | ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/ff942f66-dc5b-4e81-905d-c8ebc783d1d3/width=400/01141.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/fantasticmix" |
|
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) |