Generative text-to-image models have gained great popularity among the public for their powerful capability to generate high-quality images based on natural language prompts. However, developing effective prompts for desired images can be challenging due to the complexity and ambiguity of natural language. This research proposes PromptMagician, a visual analysis system that helps users explore the image results and refine the input prompts. The backbone of our system is a prompt recommendation model that takes user prompts as input, retrieves similar prompt-image pairs from DiffusionDB, and identifies special (important and relevant) prompt keywords. To facilitate interactive prompt refinement, PromptMagician introduces a multi-level visualization for the cross-modal embedding of the retrieved images and recommended keywords, and supports users in specifying multiple criteria for personalized exploration. Two usage scenarios, a user study, and expert interviews demonstrate the effectiveness and usability of our system, suggesting it facilitates prompt engineering and improves the creativity support of the generative text-to-image model.
翻译:生成式文本到图像模型因其基于自然语言提示生成高质量图像的强大能力而在公众中广受欢迎。然而,由于自然语言的复杂性和歧义性,为所需图像开发有效提示面临挑战。本研究提出PromptMagician,一个帮助用户探索图像结果并优化输入提示的可视化分析系统。该系统核心是一个提示推荐模型,该模型以用户提示为输入,从DiffusionDB中检索相似提示-图像对,并识别特殊(重要且相关)的提示关键词。为促进交互式提示优化,PromptMagician引入了检索图像及推荐关键词的跨模态嵌入多层级可视化,并支持用户指定多个标准进行个性化探索。通过两个使用场景、一项用户研究和专家访谈,验证了该系统的有效性与可用性,表明其有助于提示工程并提升了生成式文本到图像模型的创意支持能力。