IP-Adapter IP-Adapter is a lightweight adapter that enables prompting a diffusion model with an image. This method decouples the cross-attention layers of the image and text features. The image features are generated from an image encoder. Files generated from IP-Adapter are only ~100MBs. Learn how to load an IP-Adapter checkpoint and image in the IP-Adapter loading guide.  IPAdapterMixin  class diffusers.loaders.IPAdapterMixin  < source > ( )    Mixin for handling IP Adapters.  load_ip_adapter  < source > ( pretrained_model_name_or_path_or_dict: Union subfolder: Union weight_name: Union **kwargs  )   Parameters   pretrained_model_name_or_path_or_dict (str or os.PathLike or dict) —