opied
from diffusers import StableDiffusionImg2ImgPipeline

repo_id = "runwayml/stable-diffusion-v1-5"
pipe = StableDiffusionImg2ImgPipeline.from_pretrained(repo_id)
Diffusion pipelines like StableDiffusionPipeline or StableDiffusionImg2ImgPipeline consist of multiple components. These components can be both parameterized models, such as "unet", "vae" and "text_encoder", tokenizers or schedulers.
These components often interact in complex ways 