WordArt Designer API: User-Driven Artistic Typography Synthesis with Large Language Models on ModelScope

Jun-Yan He, Zhi-Qi Cheng, Chenyang Li, Jingdong Sun, Wangmeng Xiang, Yusen Hu, Xianhui Lin, Xiaoyang Kang, Zengke Jin, Bin Luo, Yifeng Geng, Xuansong Xie, Jingren ZhouarXiv 2024 · DOI

Abstract

WordArt Designer is a novel framework designed to democratize the creation of artistic typography. By leveraging Large Language Models (LLMs) to interpret user intent and a multi-stage synthesis pipeline, the system allows non-experts to generate professional-grade, context-aware "WordArt." The framework combines semantic shape deformation, diffusion-based stylization, and texture mapping to produce legible yet highly creative designs in under a minute.

Introduction

Artistic typography—the fusion of linguistic meaning with visual aesthetics—is essential for branding and e-commerce but typically requires specialized design skills. While AI image generation has advanced rapidly, maintaining the delicate balance between character legibility and artistic transformation remains a challenge. WordArt Designer addresses this by providing a "one-stop shop" API that translates simple text prompts into high-quality typography.

The WordArt Designer user interface on ModelScope, demonstrating the "Characters Entry" and "Typography Output" for the word "Peace".

System Architecture

The core of WordArt Designer is a multi-stage pipeline driven by an LLM (e.g., GPT-3.5) that acts as a design interpreter. The process is divided into three specialized modules:

  1. SemTypo (Semantic Typography): This module uses Differentiable Rasterization to manipulate the geometry of characters (extracted via FreeType) to align with a semantic concept.
  2. StyTypo (Stylization Typography): Utilizing a Depth2Image technique based on Latent Diffusion Models (LDM), this stage enhances the visual style. A ResNet-based ranking model filters the output to ensure high aesthetic quality.
  3. TexTypo (Texture Typography): This final stage uses ControlNet to apply intricate textures (e.g., gold, wood, or organic materials) to the stylized characters.
The overall flow of WordArt Designer, illustrating the iterative process between the LLM engine and the SemTypo, StyTypo, and TexTypo modules.

Key Insights and Results

The system's success lies in its separation of concerns, allowing users to refine the "skeleton" of a word before applying the final "skin." Furthermore, the Quality-Aware Iteration loop ensures that only successful transformations are presented to the user.

Since its deployment on the ModelScope platform, the WordArt Designer API has seen significant adoption, with over 146,000 visits. The system is highly efficient, producing four distinct design variations in approximately one minute. Its versatility has been demonstrated across various domains, including food, jewelry, and nature-themed designs.

Future Work

Ongoing development focuses on improving kerning and character spacing for professional layouts, implementing selective background removal, and expanding export options to include vector formats. The authors also emphasize the importance of ethical checks to prevent cultural stereotyping and ensure copyright compliance.

Summary updated

BibTeX
@misc{he2024wordart,
  author = {Jun-Yan He and Zhi-Qi Cheng and Chenyang Li and Jingdong Sun and Wangmeng Xiang and Yusen Hu and Xianhui Lin and Xiaoyang Kang and Zengke Jin and Bin Luo and Yifeng Geng and Xuansong Xie and Jingren Zhou},
  title = {{WordArt Designer API: User-Driven Artistic Typography Synthesis with Large Language Models on ModelScope}},
  year = {2024},
  eprint = {2401.01699},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.01699},
}
Figure