TensorX
返回文献探索

Paper · arXiv 2407.16982

Diffree: Text-Guided Shape Free Object Inpainting with Diffusion Model

Lirui Zhao, Tianshuo Yang, Wenqi Shao, Yuxin Zhang, Yu Qiao, Ping Luo, Kaipeng Zhang, Rongrong Ji

42 upvotesJuly 24, 2024arXiv 预印本
AI 摘要

Diffree, a Text-to-Image model using Stable Diffusion with a mask prediction module, achieves the addition of text-guided objects while maintaining background consistency and spatial appropriateness.

DiffreeText-to-Image (T2I) modelStable Diffusion modelmask prediction moduleobject additionbackground consistencyspatial appropriatenessobject relevancequalityOABenchsynthetic datasetimage inpainting techniquesobject maskobject descriptions

Abstract

This paper addresses an important problem of object addition for images with only text guidance. It is challenging because the new object must be integrated seamlessly into the image with consistent visual context, such as lighting, texture, and spatial location. While existing text-guided image inpainting methods can add objects, they either fail to preserve the background consistency or involve cumbersome human intervention in specifying bounding boxes or user-scribbled masks. To tackle this challenge, we introduce Diffree, a Text-to-Image (T2I) model that facilitates text-guided object addition with only text control. To this end, we curate OABench, an exquisite synthetic dataset by removing objects with advanced image inpainting techniques. OABench comprises 74K real-world tuples of an original image, an inpainted image with the object removed, an object mask, and object descriptions. Trained on OABench using the Stable Diffusion model with an additional mask prediction module, Diffree uniquely predicts the position of the new object and achieves object addition with guidance from only text. Extensive experiments demonstrate that Diffree excels in adding new objects with a high success rate while maintaining background consistency, spatial appropriateness, and object relevance and quality.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号