EasyUse/Inpaintgenerated
Easy Apply PowerPaint(applyPowerPaint)
Applies PowerPaint inpainting to an image using the supplied mask, pipe context, and selected PowerPaint model.
apply Power Paint
pipe
image
mask
pipe
powerpaint_model
COMBO
powerpaint_clip
COMBO
dtype
COMBO
fitting
1
function
COMBO
scale
1
start_at
0
end_at
10000
save_memory
COMBO
Easy Use
Description
Applies PowerPaint inpainting to an image using the supplied mask, pipe context, and selected PowerPaint model. It supports several inpainting functions, making it possible to remove objects, fill regions from context, follow text prompts, respect shape hints, or extend the image.
Inputs
| Name | Type | Description |
|---|---|---|
| pipe | PIPE_LINE | The Easy-Use pipeline containing model, VAE, conditioning, and other current generation settings. |
| image | IMAGE | The image to process. |
| mask | MASK | The mask that defines the region to inpaint. White pixels normally mark the area to repaint; black pixels are preserved. |
| powerpaint_model | COMBO | Selects the PowerPaint model checkpoint to use. |
| powerpaint_clip | COMBO | Selects the CLIP model that matches the selected PowerPaint model. |
| dtype | COMBO | Compute dtype for the PowerPaint model: float16, bfloat16, float32, or float64. |
| fitting | FLOAT | How closely the generated result fits the original content. Default 1, range 0.3 to 1. Lower values give the model more freedom; higher values keep closer to the original image. |
| function | COMBO | The PowerPaint inpainting function: text guided, shape guided, object removal, context aware, or image outpainting. |
| scale | FLOAT | Guidance scale for the inpainting diffusion process. Default 1, range 0 to 10. |
| start_at | INT | Start of the timestep range where PowerPaint is applied, from 0 to 10000. Default 0. |
| end_at | INT | End of the timestep range where PowerPaint is applied, from 0 to 10000. Default 10000. |
| save_memory | COMBO | Memory-saving mode: none, auto, or max. Higher settings reduce memory usage during generation at the cost of speed. |
Outputs
| Name | Type | Description |
|---|---|---|
| pipe | PIPE_LINE | The updated pipeline, ready for further Easy-Use nodes. |
Usage Notes
- Select a
powerpaint_modeland a matchingpowerpaint_clip; they must be compatible with each other. - The
functionchanges how the mask and prompt are used:text guideduses the prompt from the pipeline to paint the masked region.shape guidedfollows shape information in the masked area.object removalremoves the masked object and fills the area with plausible background.context awarefills the mask from surrounding image context.image outpaintingextends the image outward from the masked region.
fittingbalances adherence to the original image against generative freedom. With1, the output stays close to the source; lower values allow more variation.start_atandend_atcontrol the denoising timestep interval during which PowerPaint is active. The default0to10000spans the entire denoising schedule; restricting the interval can be used to apply PowerPaint only to early or late steps.- For large images or limited VRAM, set
dtypetofloat16andsave_memorytoautoormax.
Comments
Sign in with GitHub to join the discussion.