toPipelineForImage2Image

>>> pipe_i2i = AutoPipelineForImage2Image.from_pretrained(
...     "runwayml/stable-diffusion-v1-5", requires_safety_checker=False
... )

>>> pipe_t2i = AutoPipelineForText2Image.from_pipe(pipe_i2i)
>>> image = pipe_t2i(prompt).images[0]  AutoPipelineForImage2Image  class diffusers.AutoPipelineForImage2Image  < source > ( *args **kwargs  )    AutoPipelineForImage2Image is a generic pipeline class that instantiates an i