Region edit on SDXL with core-only differential inpainting: the source image's alpha/mask marks the region to regenerate, the unmasked content is preserved in latent space, and DifferentialDiffusion turns the (feather-growable) mask into per-pixel denoise strength for seamless blends — no dedicated inpaint checkpoint needed
Tags: compositioninpainteditregiondifferential diffusionmask
Inputs (9)#
The typed parameter surface callers bind when they request this workflow. Enum options and numeric bounds are the values the workflow document declares.
source_imageimagerequiredpromptstringrequireddenoisefloatdefault 0.7min 0.2max 1.0mask_growintegerdefault 12min 0max 64differentialbooleandefault trueseedintegerdefault -1stepsintegerdefault 30min 15max 60cfg_scalefloatdefault 7.0min 1.0max 15.0checkpointenumdefault sdxl_baserealvis_xl_v5sdxl_baseComfyUI node graph (11)#
The executable ComfyUI prompt graph: 11 nodes across 10 distinct node classes, wired by 15 data dependencies. Nodes tinted green come from a custom node pack this workflow declares; the rest are ComfyUI core / baked-community classes.
Nodes (11)#
1CheckpointLoaderSimplecoreckpt_name = {{checkpoint_files[checkpoint]}} tmplMODELCLIPVAE2LoadImagecoreimage = {{source_image}} tmplIMAGEMASK3GrowMaskcoremask = ◂ node 2 · out[1]expand = {{mask_grow}} tmpltapered_corners = trueMASK4CLIPTextEncodecoretext = {{prompt}} tmplclip = ◂ node 1 · out[1]CONDITIONING5CLIPTextEncodecoretext = ugly, deformed, blurry, low quality, watermark, text, signature, visible seam, patch, discontinuityclip = ◂ node 1 · out[1]CONDITIONING6VAEEncodecorepixels = ◂ node 2 · out[0]vae = ◂ node 1 · out[2]LATENT7SetLatentNoiseMaskcoresamples = ◂ node 6 · out[0]mask = ◂ node 3 · out[0]LATENT8KSamplercoremodel = ◂ node diff · out[0]positive = ◂ node 4 · out[0]negative = ◂ node 5 · out[0]latent_image = ◂ node 7 · out[0]seed = {{seed}} tmplsteps = {{steps}} tmplcfg = {{cfg_scale}} tmplsampler_name = dpmpp_2m_sdescheduler = karrasdenoise = {{denoise}} tmplLATENT9VAEDecodecoresamples = ◂ node 8 · out[0]vae = ◂ node 1 · out[2]IMAGE10SaveImagecoreimages = ◂ node 9 · out[0]filename_prefix = inpaint_editdiffDifferentialDiffusioncoremodel = ◂ node 1 · out[0]MODELModels & dependencies#
Checkpoint aliases (2)#
realvis_xl_v5RealVisXL_V5.0_fp16.safetensorssdxl_basesd_xl_base_1.0.safetensorsModels required (2)#
RealVisXL_V5.0_fp16.safetensorssd_xl_base_1.0.safetensorsOutput contract#
What a successful run of this workflow returns.
typeimageformatpngchannels4Taxonomy & routing#
How the control plane classifies this workflow — from the committed workflow-taxonomy-registry.json. It drives the consistency / control surface the agentic director can exercise over the workflow.
assetFamilyregion-edited-stilloutputPackageProfileimage-single-profilecontrolModalitiescontrolnet-inpaintmodel-lockseed-locklatent-reuseconsistencyDimensionsenvironmentlightingnotesCore differential-diffusion inpaint on standard checkpoints (latent noise mask; no dedicated inpaint model).