A Task Is Worth One Word: Learning with Task Prompts for High-Quality Versatile Image Inpainting
Abstract
Advancing image inpainting is challenging as it requires filling user-specified regions for various intents, such as background filling and object synthesis. Existing approaches focus on either context-aware filling or object synthesis using text descriptions. However, achieving both tasks simultaneously is challenging due to differing training strategies. To overcome this challenge, we introduce , the first high-quality and versatile inpainting model that excels in multiple inpainting tasks. First, we introduce learnable task prompts along with tailored fine-tuning strategies to guide the model’s focus on different inpainting targets explicitly. This enables to accomplish various inpainting tasks by utilizing different task prompts, resulting in state-of-the-art performance. Second, we demonstrate the versatility of the task prompt in by showcasing its effectiveness as a negative prompt for object removal. Moreover, we leverage prompt interpolation techniques to enable controllable shape-guided object inpainting, enhancing the model’s applicability in shape-guided applications. Finally, we conduct extensive experiments and applications to verify the effectiveness of . We release our codes and models on our project page: https://powerpaint.github.io/.
Cite
Text
Zhuang et al. "A Task Is Worth One Word: Learning with Task Prompts for High-Quality Versatile Image Inpainting." Proceedings of the European Conference on Computer Vision (ECCV), 2024. doi:10.1007/978-3-031-73636-0_12Markdown
[Zhuang et al. "A Task Is Worth One Word: Learning with Task Prompts for High-Quality Versatile Image Inpainting." Proceedings of the European Conference on Computer Vision (ECCV), 2024.](https://mlanthology.org/eccv/2024/zhuang2024eccv-task/) doi:10.1007/978-3-031-73636-0_12BibTeX
@inproceedings{zhuang2024eccv-task,
title = {{A Task Is Worth One Word: Learning with Task Prompts for High-Quality Versatile Image Inpainting}},
author = {Zhuang, Junhao and Zeng, Yanhong and Liu, Wenran and Yuan, Chun and Chen, Kai},
booktitle = {Proceedings of the European Conference on Computer Vision (ECCV)},
year = {2024},
doi = {10.1007/978-3-031-73636-0_12},
url = {https://mlanthology.org/eccv/2024/zhuang2024eccv-task/}
}