--- 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/4201?modelVersionId=29460 **emilianJR/RealisticVision_V2** is the HuggingFace diffuser that you can use with **diffusers.StableDiffusionPipeline()**. Examples | Examples | Examples ---- | ---- | ---- ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/393713d6-c943-4c6a-7247-ad5f03583200/width=450/333323.jpeg) | ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/9faea504-44ab-4b11-5eb9-8969d2a75400/width=450/341670.jpeg) | ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/ce9c1a30-5820-4e85-a002-633f2026cab7/width=450/sd-1684967529-401198045-2876.jpeg) ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/cf4b9664-975a-4f56-8fba-afe4b5827a00/width=450/334107.jpeg) | ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/6777a3bb-3215-4250-22d8-556b06676c00/width=450/334752.jpeg) | ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/efce54be-dd3b-4ac5-8a06-b1ff865a8a11/width=450/00005-183275852.0.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/RealisticVision_V2" 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)