SmartMask: Context Aware High-Fidelity Mask Generation for Fine-grained Object Insertion and Layout Control
Jaskirat Singh
Jianming ZhangQLQing LiuCSCameron SmithZLZhe Lin
Liang Zheng
Jaskirat Singh

Jianming Zhang
QLQing Liu
CSCameron Smith
ZLZhe Lin

Liang Zheng
+6
SmartMask lets novice users create detailed masks for precise object insertion, surpassing the coarse masks (e.g., bounding boxes) that previous methods rely on. When combined with a ControlNet-Inpaint model, it preserves background content more effectively than prior approaches. A key advantage is that it can operate without any user mask, enabling mask-free object insertion at diverse positions and scales. Additionally, iterative use with a planning model based on instruction tuning allows SmartMask to design detailed layouts from scratch, yielding better quality in layout-to-image generation than user-scribble-based methods.

arXiv ·
· December 8, 2023