An example of image variation without a prompt (SD-XL)
An example of image variation with a given prompt (best quality, high quality, wearing sunglasses on the beach) (SD-XL)
This folder contains IP-Adapter models implemented with MindSpore, reference to Official Implementation.
IP-Adapter is an effective and lightweight adapter to achieve image prompt capability for the pre-trained text-to-image diffusion models. An IP-Adapter with only 22M parameters can achieve comparable or even better performance to a fine-tuned image prompt model. IP-Adapter can be generalized not only to other custom models fine-tuned from the same base model, but also to controllable generation using existing controllable tools. Moreover, the image prompt can also work well with the text prompt to accomplish multimodal image generation.
Overall IP-Adapter architecture
For information on how to train and infer with the model, please have a look at MindOne GitHub Repository.
The model is intended for research purposes only. Possible research areas and tasks include
Excluded uses are described below.
The model was not trained to be factual or true representations of people or events, and therefore using the model to generate such content is out-of-scope for the abilities of this model.
While the capabilities of image generation models are impressive, they can also reinforce or exacerbate social biases.