ShinoharaHare/Waifu-Inpaint-XL
Waifu-Inpaint-XL !image/png(https://cdn-uploads.huggingface.co/production/uploads/630ed69a31970d1cd4fd575d/H3Zmkcm4v2i--5djR8LP.png) Waifu-Inpaint-XL is an SDXL-based model specifically designed for inpainting anime-themed images. | Task | Model | |...
Featured achievements
The project's latest awards
#1 Repository of the week
#1 Repository of the week
#1 Repository of the week
Waifu-Inpaint-XL

Waifu-Inpaint-XL is an SDXL-based model specifically designed for inpainting anime-themed images.
| Task | Model |
|---|---|
| Generation | WAI-NSFW-illustrious-SDXL-V14.0-V-Prediction |
| Inpainting | Waifu-Inpaint-XL |
| Colorizing | Waifu-Colorize-XL |
Overview
Waifu-Inpaint-XL is initialized from WAI-NSFW-illustrious-SDXL-V14.0-V-Prediction, with its input channels expanded from 4 to 9. Among these, 1 additional channel is dedicated to the mask, and 4 extra channels are used for masked latents.
Model Details
- Developed by: ShinoharaHare
- Model type: Diffusion based text-to-image/image-to-image generative model for inpainting
- Language(s) (NLP): English
- License: CreativeML Open RAIL++-M
- Finetuned from: WAI-NSFW-illustrious-SDXL-V14.0-V-Prediction
🧨 Diffusers
import torch
from diffusers import StableDiffusionXLInpaintPipeline
from diffusers.utils import load_image
pipeline = StableDiffusionXLInpaintPipeline.from_pretrained(
'ShinoharaHare/Waifu-Inpaint-XL',
torch_dtype=torch.half
)
pipeline.to('cuda')
image = load_image('https://cdn-uploads.huggingface.co/production/uploads/630ed69a31970d1cd4fd575d/tPo5oPJQpxWamM-tGIYqj.png')
mask_image = load_image('https://cdn-uploads.huggingface.co/production/uploads/630ed69a31970d1cd4fd575d/QpmzmgROUM0eP53Cxx2Ih.png', lambda x: x.convert('L'))
inpainted_image = pipeline(
prompt='blue eyes, holding red spider lily in hand',
image=image,
mask_image=mask_image,
num_inference_steps=28,
guidance_scale=5.0,
height=image.height,
width=image.width,
generator=torch.Generator(pipeline.device).manual_seed(5)
).images[0]
inpainted_image.show()
ComfyUI

Similar Projects
Discover other similar projects and AI models.
SD-XL 1.0-refiner Model Card !row01(01.png) Model !pipeline(pipeline.png) SDXL(https://arxiv.org/abs/2307.01952) consists of an ensemble of experts(https://arxiv.org/abs/2211.01324) pipeline for latent diffusion: In a first step, the base model (ava...
FLUX 3 Image Klein for ComfyUI !Launch gallery(./launch-gallery.jpg) FLUX 3 Image Klein is a 5.6B open weights model for text-to-image generation and image editing. It takes a prompt and up to 10 reference images and returns one image. Text-to-image...
!FLUX.1 dev Grid(./teaser.png) FLUX.1 Kontext dev is a 12 billion parameter rectified flow transformer capable of editing images based on text instructions. For more information, please read our blog post(https://bfl.ai/announcements/flux-1-kontext-d...
!Teaser(./teasergeneration.png) !Teaser(./teaserediting.png) FLUX.2 dev is a 32 billion parameter rectified flow transformer capable of generating, editing and combining images based on text instructions. For more information, please read our blog po...
💜 Qwen Chat   |   🤗 Hugging Face   |   🤖 ModelScope   |    📑 Tech Report    |    📑 Blog    🖥️ Demo   |   💬 WeChat (微信)   |   🫨 Discord&nb...
!Teaser(./realism.jpg) !Teaser(./editing.jpg) !Teaser(./others.jpg) FLUX.2 klein 9B Base is a 9 billion parameter rectified flow transformer capable of generating images from text descriptions and supports multi-reference editing capabilities. For mo...
!Teaser(./realism.jpg) !Teaser(./editing.jpg) !Teaser(./others.jpg) The FLUX.2 klein model family are our fastest image models to date. FLUX.2 klein unifies generation and editing in a single compact architecture, delivering state-of-the-art quality...
Qwen-Image-Edit-2511-Multiple-Angles-LoRA Multi-angle camera control LoRA for Qwen-Image-Edit-2511 96 camera positions • Trained on 3000+ Gaussian Splatting renders • Built with fal.ai(https://fal.ai) --- Results !Camera Animation Results(allanimati...
💜 Qwen Chat   |   🤗 Hugging Face   |   🤖 ModelScope   |    📑 Tech Report    |    📑 Blog    🖥️ Demo   |   💬 WeChat (微信)   |   🫨 Discord&nb...