Instructions to use OzzyGT/sdxl-ip-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use OzzyGT/sdxl-ip-adapter with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OzzyGT/sdxl-ip-adapter", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
|
Download README.md from OzzyGT/sdxl-ip-adapter: direct link, hf CLI and curl.
- Browser
- Download file 5.72 kB
-
https://huggingface.co/OzzyGT/sdxl-ip-adapter/resolve/main/README.md
- Command line
-
hf download hf://OzzyGT/sdxl-ip-adapter/README.md
-
curl -L -o README.md https://huggingface.co/OzzyGT/sdxl-ip-adapter/resolve/main/README.md
5.72 kB
| tags: | |
| - text-to-image | |
| - stable-diffusion | |
| license: apache-2.0 | |
| library_name: diffusers | |
| # IP-Adapter for SDXL | |
| This is just a clone from the [original repository](https://huggingface.co/h94/IP-Adapter) with just the SDXL vit-h models and the corresponding image encoder. | |
| Update: Added IP Adapter for Composition to be able to use multi ip adapters (they need to be in the same repository). Original model: https://huggingface.co/ostris/ip-composition-adapter | |
| Made to be used with [Image Artisan XL](https://github.com/ZCode-opensource/image-artisan-xl). | |
| Here's some experiments: | |
| prompt: `cinematic portrait photo of a woman, against a white background, 4k, highly detailed` | |
| ### ip-adapter_sdxl_vit-h | |
| |source|0% noise|25% noise|50% noise|85% noise|100% noise| | |
| |---|---|---|---|---|---| | |
| ||||||| | |
| ### ip-adapter-plus_sdxl_vit-h | |
| |source|0% noise|25% noise|50% noise|85% noise|100% noise| | |
| |---|---|---|---|---|---| | |
| ||||||| | |
| ### ip-adapter-plus-face_sdxl_vit-h | |
| prompt: `cinematic portrait photo of a woman, against a white background, half body shot, closeup, 4k, highly detailed` | |
| |source|0% noise|25% noise|50% noise|85% noise|100% noise| | |
| |---|---|---|---|---|---| | |
| ||||||| | |
| ## IP Adapter with multiple images - Instant Lora | |
| ### ip-adapter_sdxl_vit-h | |
| |w1|w2|w3|w4|w5|bg| | |
| |---|---|---|---|---|---| | |
| ||||||| | |
| |w1(1.0) + w2(1.0)|w1(0.5) + w2(1.0)|w1 (1.0) + w2(0.5)|w1(0.5) + w2(0.5)|w1(1.0) + w2(1.0) + bg(1.0)|w1(0.5) + w2(0.5) + bg(1.0)|w1(0.5) + w2(0.5) + bg(0.5)| | |
| |---|---|---|---|---|---|---| | |
| |||||||| | |
| |w1+w2+w3|w1+w2+w3+w4|w1+w2+w3+w4+w5|w1+w2+w3+w4+w5+bg| | |
| |---|---|---|---| | |
| ||||| | |