cs.CVMar 12, 2026

GlyphBanana: Advancing Precise Text Rendering Through Agentic Workflows

Authors: Zexuan Yan, Jiarui Jin, Yue Ma, Shijian Wang, Jiahui Hu, Wenxiang Jiao, Yuan Lu, Linfeng Zhang

Organizations: Shanghai Jiao Tong University · Xiaohongshu Inc. · Hong Kong University of Science and Technology · Southeast University · 

Abstract

Despite recent advances in generative models driving significant progress in text rendering, accurately generating complex text and mathematical formulas remains a formidable challenge. This difficulty primarily stems from the limited instruction-following capabilities of current models when encountering out-of-distribution prompts. To address this, we introduce GlyphBanana, alongside a corresponding benchmark specifically designed for rendering complex characters and formulas. GlyphBanana employs an agentic workflow that integrates auxiliary tools to inject glyph templates into both the latent space and attention maps, facilitating the iterative refinement of generated images. Notably, our training-free approach can be seamlessly applied to various Text-to-Image (T2I) models, achieving superior precision compared to existing baselines. Extensive experiments demonstrate the effectiveness of our proposed workflow. Associated code is publicly available at https://github.com/yuriYanZeXuan/GlyphBanana.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. TextAlign: Preference Alignment for Text Rendering with Hierarchical Rewards

    May 19, 2026Mingxuan Cui, Jingpu Yang, Fengxian Ji +7Diffusion Model AlignmentReward Modeling

  2. APT: Feedback-Driven Agentic Post-Training for Text-to-Image Generation

    Oct 13, 2026Sirui Zhang, Fangyun Wei, Dong Chen +5T2I GenerationRL for Image Generation