ComfyGen: Prompt-Adaptive Workflows for Text-to-Image Generation

Rinon Gal, Adi Haviv, Yuval Alaluf, Amit H. Bermano, Daniel Cohen-Or +1 more
10/2/2024
cs.CVcs.CLcs.GR

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

The practical use of text-to-image generation has evolved from simple, monolithic models to complex workflows that combine multiple specialized components. While workflow-based approaches can lead to improved image quality, crafting effective workflows requires significant expertise, owing to the large number of available components, their complex inter-dependence, and their dependence on the generation prompt.

Show full abstract

Here, we introduce the novel task of prompt-adaptive workflow generation, where the goal is to automatically tailor a workflow to each user prompt. We propose two LLM-based approaches to tackle this task: a tuning-based method that learns from user-preference data, and a training-free method that uses the LLM to select existing flows. Both approaches lead to improved image quality when compared to monolithic models or generic, prompt-independent workflows. Our work shows that prompt-dependent flow prediction offers a new pathway to improving text-to-image generation quality, complementing existing research directions in the field.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gal2024comfygen,
  title  = {ComfyGen: Prompt-Adaptive Workflows for Text-to-Image Generation},
  author = {Rinon Gal and Adi Haviv and Yuval Alaluf and Amit H. Bermano and Daniel Cohen-Or and Gal Chechik},
  year   = {2024},
  eprint = {2410.01731},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.01731v1}
}

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/2410.01731.svg)](https://codeofpaper.com/paper/2410.01731)

Discussion