image  Under the hood, AutoPipelineForText2Image: automatically detects a "stable-diffusion" class from the model_index.json file loads the corresponding text-to-image StableDiffusionPipeline based on the "stable-diffusion" class name Likewise, for image-to-image, AutoPipelineForImage2Image detects a "stable-diffusion" checkpoint from the model_index.json file and it’ll load the corresponding StableDiffusionImg2ImgPipeline behind the scenes. You can also pass any additional arguments specific to the pipeline class such as strength, which determines the amount of noise or variation added to an input image:   Copied from diffusers import AutoPipelineForImage2Image