How do I pass a value for "denoising" using the Stable Diffusion Inpaint Pipeline?

In Automatic1111: Features · AUTOMATIC1111/stable-diffusion-webui Wiki · GitHub, I’m able to pass a value called denoising (between 0 and 1) to an inpainting model. In the docs for StableDiffusionInpaintPipeline: Stable diffusion pipelines, I can’t find how to pass denoising. Can someone show me?

1 Like

The CompVis/stable-diffusion-v1-4 model has a strength attribute (Link)

Replicate has it as well: cjwbw/stable-diffusion-v2-inpainting – Run with an API on Replicate

Is diffusers just currently missing it for ‘stabilityai/stable-diffusion-2-inpainting’?

Strength is actually in the inpainting docs: Stable diffusion pipelines

However, passing “strength” while using the ‘stabilityai/stable-diffusion-2-inpainting’ throws an error as “strength” is not recognized.

Could you try with the latest API?

@sayakpaul there is no strength parameter in StableDiffusionInpaintPipeline

@luccazen it looks like it may exist in a legacy pipeline