allback_on_step_end, but feel free to open a feature request if you have a cool use-case and require a callback function with a different execution point!  Using Callbacks to interrupt the Diffusion Process The following Pipelines support interrupting the diffusion process via callback StableDiffusionPipeline StableDiffusionImg2ImgPipeline StableDiffusionInpaintPipeline StableDiffusionXLPipeline StableDiffusionXLImg2ImgPipeline StableDiffusionX