Absolute Reality 1.6525 Inpainting
lykon/absolute-reality-1.6525-inpainting is a Stable Diffusion Inpainting model that has been fine-tuned on runwayml/stable-diffusion-inpainting.
Fonte do modelo
- Tipo
- Other
- Tamanho do arquivo
- 160 MB–3,20 GB
- Versão
- vRevision be554ca
- Atualizado
- 19 de out. de 2026
- Downloads
- 8
- Fonte
- Hugging Face
Descrição da fonte
Absolute reality 1.6525 inpainting
lykon/absolute-reality-1.6525-inpainting is a Stable Diffusion Inpainting model that has been fine-tuned on runwayml/stable-diffusion-inpainting.
Please consider supporting me:
- on Patreon
- or buy me a coffee
Diffusers
For more general information on how to run inpainting models with 🧨 Diffusers, see the docs.
- Installation
pip install diffusers transformers accelerate
- Run
from diffusers import AutoPipelineForInpainting, DEISMultistepScheduler
import torch
from diffusers.utils import load_image
pipe = AutoPipelineForInpainting.from_pretrained('lykon/absolute-reality-1.6525-inpainting', torch_dtype=torch.float16, variant="fp16")
pipe.scheduler = DEISMultistepScheduler.from_config(pipe.scheduler.config)
pipe = pipe.to("cuda")
img_url = "https://raw.githubusercontent.com/CompVis/latent-diffusion/main/data/inpainting_examples/overture-creations-5sI6fQgYIuo.png"
mask_url = "https://raw.githubusercontent.com/CompVis/latent-diffusion/main/data/inpainting_examples/overture-creations-5sI6fQgYIuo_mask.png"
image = load_image(img_url)
mask_image = load_image(mask_url)
prompt = "a majestic tiger sitting on a park bench"
generator = torch.manual_seed(33)
image = pipe(prompt, image=image, mask_image=mask_image, generator=generator, num_inference_steps=25).images[0]
image.save("./image.png")
Fontes
1 fonte
Fontes
1 fonteVerificado 19 de out.
Download files
Artefatos de modelo
8 artefatos
Artefatos de modelo
8 artefatossafety_checker/model.fp16.safetensors
safetensors · 580 MB · SHA-256 57ecdfa243b1…84f6 · Hugging Face
Download filesafety_checker/model.safetensors
safetensors · 1,13 GB · SHA-256 fb351a5ded81…fde8 · Hugging Face
Download filetext_encoder/model.fp16.safetensors
safetensors · 235 MB · SHA-256 f509a64bee4b…999c · Hugging Face
Download filetext_encoder/model.safetensors
safetensors · 469 MB · SHA-256 9a1c4f508dab…0179 · Hugging Face
Download fileunet/diffusion_pytorch_model.fp16.safetensors
safetensors · 1,60 GB · SHA-256 3733013f424f…6022 · Hugging Face
Download fileunet/diffusion_pytorch_model.safetensors
safetensors · 3,20 GB · SHA-256 cc3dbf666cd8…9001 · Hugging Face
Download filevae/diffusion_pytorch_model.fp16.safetensors
safetensors · 160 MB · SHA-256 3e4c08995484…af9a · Hugging Face
Download filevae/diffusion_pytorch_model.safetensors
safetensors · 319 MB · SHA-256 2aa1f43011b5…83ec · Hugging Face
Download fileTrechos de fonte
3 trechos
Trechos de fonte
3 trechos--- language: - en license: creativeml-openrail-m tags: - stable-diffusion - stable-diffusion-diffusers - inpainting - art - artistic - diffusers - anime - absolute-realism duplicated_from: lykon/absolute-reality-1.6525-inpainting --- # Absolute reality 1.6525 inpainting `lykon/absolute-reality-1.6525-inpainting` is a Stable Diffusion Inpainting model that has been fine-tuned on [runwayml/stable-diffusion-inpainting](https://huggingface.co/runwayml/stable-diffusion-inpainting). Please consider supporting me: - on [Patreon](https://www.patreon.com/Lykon275) - or [buy me a coffee](https://snipfeed.co/lykon) ## Diffusers For more general information on how to run inpainting models with 🧨 Diffusers, see [the docs](https://huggingface.co/docs/diffusers/using-diffusers/inpaint). 1. Installation ``` pip install diffusers transformers accelerate ``` 2. Run ```py from diffusers import AutoPipelineForInpainting, DEISMultistepScheduler import torch from diffusers.utils import load_image pipe = AutoPipelineForInpainting.from_pretrained('lykon/absolute-reality-1.6525-inpainting', torch_dtype=torch.float16, variant="fp16") pipe.scheduler = DEISMultistepScheduler.from_config(pipe.scheduler.config) pipe = pipe.to("cuda") img_url = "https://raw.githubusercontent.com/CompVis/latent-diffusion/main/data/inpainting_examples/overture-creations-5sI6fQgYIuo.png" mask_url = "https://raw.githubusercontent.com/CompVis/latent-diffusion/main/data/inpainting_examples/overture-creations-5sI6fQgYIuo_mask.png" image = load_image(img_url) mask_image = load_image(mask_url) prompt = "a majestic tiger sitting on a park bench" generator = torch.manual_seed(33) image = pipe(prompt, image=image, mask_image=mask_image, generator=generator, num_inference_steps=25).images[0] image.save("./image.png") ``` 
Source context: 8 downloads · 0 likes · Pipeline image-to-image · Library diffusers · Repo kp-forks/absolute-reality-1.6525-inpainting
Source context: 5 downloads · 0 likes · Pipeline image-to-image · Library diffusers · Repo kp-forks/absolute-reality-1.6525-inpainting
