Yinwei Wu1,2 Xianpan Zhou1 Bing Ma1 Xuefeng Su1 Kai Ma1 Xinchao Wang2†
<sup>1</sup>Tencent PGC 
<sup>2</sup>National University of Singapore 
<sup>†</sup>corresponding author

We introduce the Instance Feature Adapter(IFAdapter) to to exert fine-grained control over the generation of multiple instances.
The IFAdapter is readily integrated with various community models and LoRAs!
We show the results of IFAdapter in combination with PixelArt, Lelo-Lego, Claymation, and Bluepencil. We express our gratitude for these great work contributed by these communities!
Install the required dependencies
git clone https://github.com/WUyinwei-hah/IFAdapter.git
cd IFAdapter
pip install -r requirements.txt
1. Use the original SDXL for generation
python3 infer.py
2. Use LORAs for generation
python3 infer_loras.py
@article{wu2024ifadapter,
title={Ifadapter: Instance feature control for grounded text-to-image generation},
author={Wu, Yinwei and Zhou, Xianpan and Ma, Bing and Su, Xuefeng and Ma, Kai and Wang, Xinchao},
journal={arXiv preprint arXiv:2409.08240},
year={2024}
}
$ claude mcp add IFAdapter \
-- python -m otcore.mcp_server <graph>