StyleCLIPDraw: Coupling Content and Style in Text-to-Drawing Translation

Peter Schaldenbrand, Zhixuan Liu, Jean Oh
2/24/2022
cs.CV

Official code: pschaldenbrand/StyleCLIPDraw (280 stars, Jupyter Notebook, GPL-3.0, last commit 2022-11-15).

Abstract

Generating images that fit a given text description using machine learning has improved greatly with the release of technologies such as the CLIP image-text encoder model; however, current methods lack artistic control of the style of image to be generated. We present an approach for generating styled drawings for a given text description where a user can specify a desired drawing style using a sample image.

Show full abstract

Inspired by a theory in art that style and content are generally inseparable during the creative process, we propose a coupled approach, known here as StyleCLIPDraw, whereby the drawing is generated by optimizing for style and content simultaneously throughout the process as opposed to applying style transfer after creating content in a sequence. Based on human evaluation, the styles of images generated by StyleCLIPDraw are strongly preferred to those by the sequential approach. Although the quality of content generation degrades for certain styles, overall considering both content \textit{and} style, StyleCLIPDraw is found far more preferred, indicating the importance of style, look, and feel of machine generated images to people as well as indicating that style is coupled in the drawing process itself. Our code (https://github.com/pschaldenbrand/StyleCLIPDraw), a demonstration (https://replicate.com/pschaldenbrand/style-clip-draw), and style evaluation data (https://www.kaggle.com/pittsburghskeet/drawings-with-style-evaluation-styleclipdraw) are publicly available.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Styled text-to-drawing synthesis method. Featured at IJCAI 2022 and the 2021 NeurIPS Workshop on Machine Learning for Creativity and Design

28019Jupyter Notebook, PythonSep 23, 20214 years agoGPL-3.0
creative-aistyle-transfertext-to-drawingtext-to-image-synthesis

Similar Papers

Cite this paper

@article{schaldenbrand2022styleclipdraw,
  title  = {StyleCLIPDraw: Coupling Content and Style in Text-to-Drawing Translation},
  author = {Peter Schaldenbrand and Zhixuan Liu and Jean Oh},
  year   = {2022},
  eprint = {2202.12362},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.12362}
}

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

Discussion