Modelimage-to-image
ShinoharaHare

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 | |...

68likes
3.2kdownloads
1views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: base_model:finetune:ShinoharaHare/WAI-NSFW-illustrious-SDXL-V14.0-V-Prediction

#1 Repository of the week

1
TINIX TRENDING·Topic: base_model:ShinoharaHare/WAI-NSFW-illustrious-SDXL-V14.0-V-Prediction

#1 Repository of the week

1
TINIX TRENDING·Topic: inpaint

#1 Repository of the week

Waifu-Inpaint-XL

image/png

Waifu-Inpaint-XL is an SDXL-based model specifically designed for inpainting anime-themed images.

TaskModel
GenerationWAI-NSFW-illustrious-SDXL-V14.0-V-Prediction
InpaintingWaifu-Inpaint-XL
ColorizingWaifu-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

🧨 Diffusers

image1 image2 image3
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

image

Similar Projects

Discover other similar projects and AI models.

Modelimage-to-image
stabilityai/stable-diffusion-xl-refiner-1.0

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...

♥0
112.7k
Sep 25, 2023
Modelimage-to-image
black-forest-labs/flux-3-image-klein-comfy

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...

♥0
812.6k
Nov 19, 2026
Modelimage-to-image
black-forest-labs/FLUX.1-Kontext-dev

!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...

♥0
141.6k
Nov 19, 2026
Modelimage-to-image
black-forest-labs/FLUX.2-dev

!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...

♥0
292.2k
Nov 19, 2026
Modelimage-to-image
Qwen/Qwen-Image-Edit

💜 Qwen Chat&nbsp&nbsp | &nbsp&nbsp🤗 Hugging Face&nbsp&nbsp | &nbsp&nbsp🤖 ModelScope&nbsp&nbsp | &nbsp&nbsp 📑 Tech Report &nbsp&nbsp | &nbsp&nbsp 📑 Blog &nbsp&nbsp 🖥️ Demo&nbsp&nbsp | &nbsp&nbsp💬 WeChat (微信)&nbsp&nbsp | &nbsp&nbsp🫨 Discord&nb...

♥0
156.7k
Aug 25, 2025
Modelimage-to-image
black-forest-labs/FLUX.2-klein-base-9b-fp8

!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...

♥0
35.3k
Feb 24, 2026
Modelimage-to-image
black-forest-labs/FLUX.2-klein-9B

!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...

♥0
78.4k
Feb 24, 2026
Modelimage-to-image
fal/Qwen-Image-Edit-2511-Multiple-Angles-LoRA

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...

♥0
79.4k
Jan 7, 2026
Modelimage-to-image
Qwen/Qwen-Image-Edit-2511

💜 Qwen Chat&nbsp&nbsp | &nbsp&nbsp🤗 Hugging Face&nbsp&nbsp | &nbsp&nbsp🤖 ModelScope&nbsp&nbsp | &nbsp&nbsp 📑 Tech Report &nbsp&nbsp | &nbsp&nbsp 📑 Blog &nbsp&nbsp 🖥️ Demo&nbsp&nbsp | &nbsp&nbsp💬 WeChat (微信)&nbsp&nbsp | &nbsp&nbsp🫨 Discord&nb...

♥0
248.0k
Dec 23, 2025