Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

FLUX-Text: A Simple and Advanced Diffusion Transformer Baseline for Scene Text Editing

About

Scene text editing aims to modify or add texts on images while ensuring text fidelity and overall visual quality consistent with the background. Recent methods are primarily built on UNet-based diffusion models, which have improved scene text editing results, but still struggle with complex glyph structures, especially for non-Latin ones (\eg, Chinese, Korean, Japanese). To address these issues, we present \textbf{FLUX-Text}, a simple and advanced multilingual scene text editing DiT method. Specifically, our FLUX-Text enhances glyph understanding and generation through lightweight Visual and Text Embedding Modules, while preserving the original generative capability of FLUX. We further propose a Regional Text Perceptual Loss tailored for text regions, along with a matching two-stage training strategy to better balance text editing and overall image quality. Benefiting from the DiT-based architecture and lightweight feature injection modules, FLUX-Text can be trained with only $0.1$M training examples, a \textbf{97\%} reduction compared to $2.9$M required by popular methods. Extensive experiments on multiple public datasets, including English and Chinese benchmarks, demonstrate that our method surpasses other methods in visual quality and text fidelity. All the code is available at https://github.com/AMAP-ML/FluxText.

Rui Lan, Yancheng Bai, Xu Duan, Mingxing Li, Dongyang Jin, Ryan Xu, Dong Nie, Lei Sun, Xiangxiang Chu• 2025

Related benchmarks

TaskDatasetResultRank
Text-to-Image GenerationMoCA
NIQE2.675
8
Text editingAnyText benchmark English 1.0 (test)
Sentence Accuracy81.75
5
Text editingAnyText benchmark Chinese 1.0 (test)
Sen.ACC0.7213
5
Showing 3 of 3 rows

Other info

Follow for update