class_docstr: [`AutoPipelineForImage2Image`] is a generic pipeline class that instantiates an image-to-image pipeline class. The
  specific underlying pipeline class is automatically selected from either the
  [`~AutoPipelineForImage2Image.from_pretrained`] or [`~AutoPipelineForImage2Image.from_pipe`] methods.
  
  This class cannot be instantiated using `__init__()` (throws an error).
  
  Class attributes:
  
      - **config_name** (`str`) -- The configuration filename that stores the class and module names of all the
        diffusion pipeline's components.
code: def __init__(self, *args, **kwargs):
      raise EnvironmentError(
          f"{self.__class__.__name__} is designed to be instantiated "
          f"using the `{self.__class__.__name__}.from_pretrained(pretrained_model_name_or_path)` or "
          f"`{self.__class__.__name__}.from_pipe(pipeline)` methods."
      )
  
imports: import inspect
  from collections import OrderedDict
  from ..configuration_utils import ConfigMixin
  from ..utils import DIFFUSERS_CACHE
  from .controlnet import StableDiffusionControlNetImg2ImgPipeline, StableDiffusionControlNetInpaintPipeline, StableDiffusionControlNetPipeline, StableDiffusionXLControlNetImg2ImgPipeline, StableDiffusionXLControlNetPipeline
  from .deepfloyd_if import IFImg2ImgPipeline, IFInpaintingPipeline, IFPipeline
  from .kandinsky import KandinskyCombinedPipeline, KandinskyImg2ImgCombinedPipeline, KandinskyImg2ImgPipeline, KandinskyInpaintCombinedPipeline, KandinskyInpaintPipeline, KandinskyPipeline
  from .kandinsky2_2 import KandinskyV22CombinedPipeline, KandinskyV22Img2ImgCombinedPipeline, KandinskyV22Img2ImgPipeline, KandinskyV22InpaintCombinedPipeline, KandinskyV22InpaintPipeline, KandinskyV22Pipeline
  from .stable_diffusion import StableDiffusionImg2ImgPipeline, StableDiffusionInpaintPipeline, StableDiffusionPipeline
  from .stable_diffusion_xl import StableDiffusionXLImg2ImgPipeline, StableDiffusionXLInpaintPipeline, StableDiffusionXLPipeline
  from .wuerstchen import WuerstchenCombinedPipeline, WuerstchenDecoderPipeline
label_desc: Use image node_id 1 to create a new AutoPipelineForImage2Image object from inherited base classes: ConfigMixin with example: obj = AutoPipelineForImage2Image()