PromptMagician: Interactive Prompt Engineering for Text-to-Image Creation

Yingchaojie Feng, Xingbo Wang, Kam Kwai Wong, Sijia Wang, Yuhong Lu +3 more
7/18/2023
cs.AIcs.HC

No official code found. Best implementation: YingchaojieFeng/PromptMagician (41 stars, last commit 2024-05-25).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

415CSS, HTMLJun 23, 20232 years ago

Similar Papers

Cite this paper

@article{feng2023promptmagician,
  title  = {PromptMagician: Interactive Prompt Engineering for Text-to-Image Creation},
  author = {Yingchaojie Feng and Xingbo Wang and Kam Kwai Wong and Sijia Wang and Yuhong Lu and Minfeng Zhu and Baicheng Wang and Wei Chen},
  year   = {2023},
  eprint = {2307.09036},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.09036v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.09036.svg)](https://codeofpaper.com/paper/2307.09036)

Discussion