This is an implementation of TencentARC and the diffuser team's T2I-Adapter-SDXL as a Cog model.
Follow the model pushing guide to push your own fork of T2I-Adapter-SDXL to Replicate.
To run a prediction:
cog predict -i prompt="Ice dragon roar, 4k photo" -i adapter_name="lineart"
cog run -p 5000 python -m cog.server.http
@article{mou2023t2i,
title={T2i-adapter: Learning adapters to dig out more controllable ability for text-to-image diffusion models},
author={Mou, Chong and Wang, Xintao and Xie, Liangbin and Wu, Yanze and Zhang, Jian and Qi, Zhongang and Shan, Ying and Qie, Xiaohu},
journal={arXiv preprint arXiv:2302.08453},
year={2023}
}