This is an implementation of the tencent-ailab / IP-Adapter as a Cog model. Cog packages machine learning models as standard containers.
First, download the pre-trained weights:
cog run script/download-weights
Then, you can run predictions:
cog predict -i image=@ai_face2.png -i prompt="photo of a beautiful girl wearing casual shirt in a garden" -i seed=42
"photo of a beautiful girl wearing casual shirt in a garden"