EmbroMaster: Controllable Multi-Stitch Embroidery Synthesis with Craft-Aware Planning

Zhanlin Chen1,*, Zheng Gu2,*, Hao Liang1, Wenhua Shi3,†, Xin Jin4,5, Jing Huo1,†, Yang Gao1

1 State Key Laboratory for Novel Software Technology, Nanjing University 2 College of Computer Science and Software Engineering, Shenzhen University 3 School of Art and Design, Shanghai Institute of Technology 4 Beijing Electronic Science and Technology Institute 5 State Key Laboratory of General Artificial Intelligence, Beijing Institute for General Artificial Intelligence (BIGAI)

* Equal contribution. † Corresponding author.

Overview

Controllable multi-stitch embroidery with EmbroMaster. Left: Embroideries generated from flat designs with automatically planned or user-assigned stitches. Right: A single embroidery combining six stitch types, with details of thread textures.

Abstract

Generating embroidery takes more than imitating thread texture: a model must decide which stitch suits each region and render several distinct stitches together in one image. However, current generative models lack the embroidery knowledge to plan which stitch a region should use. Even when specific rules are given, they still struggle to render multiple stitches in one image. In this paper, we present EmbroMaster to address these problems. We first construct StitchAtlas, a multi-stitch embroidery dataset. We collect real embroidery samples and train models on them to expand the dataset with high-quality synthetic images, along with stitch craft knowledge collected from embroidery experts. We then introduce a craft-aware planning agent. It takes a flat design and user constraints as input and produces a structured stitch plan, called an embroidery blueprint, that assigns a stitch to each region. Finally, we develop a multi-stitch synthesis pipeline that follows the blueprint to generate embroidery images and supports interactive, region-level stitch editing. Experiments on six stitch types demonstrate that our method achieves better generation quality than existing methods. Embroidery experts also rate our results higher on stitch assignment appropriateness and visual realism, suggesting the potential of our method for various application scenarios.

StitchAtlas Dataset Construction

StitchAtlas combines design–stitch pairs with stitch craft knowledge. Real sample collection and stitch-specific expansion provide real and synthetic embroideries. Paired design-stitch data curation converts them to flat-color designs and uses expert filtering to select high-quality aligned design-stitch pairs for training stitch-specific renderers. In parallel, stitch craft knowledge curation formalizes expert rules for craft-aware planning.
High-resolution samples of real Su embroidery reveal the distinctive thread structures and textures of different stitch types.

Method

In Stage 1 (craft-aware planning), the planning agent uses stitch craft knowledge to translate a flat design and user constraints into an editable embroidery blueprint specifying semantic masks and stitch assignments. Stage 2 (multi-stitch synthesis) uses these assignments to select only the required stitch-specific LoRAs trained on design-stitch pairs for stitch-specific rendering. Area-ordered composition uses the blueprint masks to blend regions from large to small, producing multi-stitch embroidery.

EmbroMaster Results

Multi-stitch embroideries generated by EmbroMaster from diverse flat designs.

Result 1 of 4

Comparisons

Given the same inputs, EmbroMaster, GPT, Gemini, and Qwen generate stitch assignments and embroideries. Boxes show enlarged details; underlined entries indicate inappropriate stitch assignments.