|
--- |
|
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/25694/epicrealism |
|
|
|
**emilianJR/epiCRealism** is the HuggingFace diffuser that you can use with **diffusers.StableDiffusionPipeline()**. |
|
|
|
Examples | Examples | Examples |
|
---- | ---- | ---- |
|
,%20raw%20photo,%20((monochrome)),%20((grayscale)),%20black%20and%20white%20photo.jpeg) |  | ![]() |
|
,%20lotr,%20fantasy,%20elf,%20female,%20full%20body,%20looking%20at%20viewer,%20portrait,%20phot.jpeg) | ,%20soft%20lighting,%20h.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/epiCRealism" |
|
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) |