When selling decorated garments online, it’s not enough to simply let customers type in text and place it on a shirt. Unlike printing, embroidery requires fabric-specific settings to produce good stitch quality. The same lettering will need different parameters depending on whether it is stitched on fleece, wool, silk, or poly-cotton. These parameters include:
- Density – how tightly stitches are placed
- Underlay – supporting stitches under the surface
- Pull compensation – adjustments for fabric stretch
- Minimum stitch length, and more.
If these settings are not correct for the chosen fabric, the result may look poor, distort the garment, or even damage it. The solution is to create template EMB files in Wilcom EmbroideryStudio, one for each fabric type. By combining these templates with the Wilcom API, you can let customers personalize lettering on your website while ensuring that the output is production-ready, requiring no extra manual editing before sending it to the embroidery machine.
Scenario
Imagine you sell garments made from different fabrics – e.g. fleece, wool, silk, poly-cotton.
Each fabric needs different stitch settings – density, underlay, pull compensation, etc. The challenge is: how to generate embroidery lettering that is ready to stitch, without manual editing.
Solution: Create one template EMB file per fabric type using Wilcom EmbroideryStudio, and then use the API to edit lettering based on the chosen garment.
Procedure
Step 1: Prepare lettering in EmbroideryStudio
- Create a base lettering design – choose font, baseline, size, etc. Example: Wilcom Script 1 font.

- Customers may be allowed to change font or color later.
Step 2: Create fabric-specific EMB templates
- In EmbroideryStudio, set the design parameters for each fabric type.

- Save a separate EMB file for each one, e.g.:
- Fleece.EMB
- Wool.EMB
- Silk.EMB
- PolyCotton.EMB
Optional: assign a thread chart so colors carry proper codes.
Step 3: Link EMB files to garments on your website
When a user selects a garment, your website selects the corresponding EMB file.
Step 4: Use the editDesign API
Instead of
api/newDesign, use
api/editDesign to edit an existing EMB template. Each template contains just one lettering object, pre-configured for the fabric.
Example API call:
<design file="PolyCotton.EMB" colorwaytype="all" />
- The app/server returns design data and a TrueView image.
- The user types their text – e.g. 'My Polo' – updates the design, and the lettering is applied with the correct fabric settings.
Wilcom concept app
The Wilcom Concept App is a simple demonstration tool provided through the Wilcom API Developer website. It is not intended to be a commercial or customer-facing application, but rather a reference interface to show developers how the API works in practice.
When you upload one of your prepared EMB template files – e.g. PolyCotton.EMB – the Concept App:
- Sends the file to the Wilcom API server.
- Returns the design data along with a TrueView image preview.
- Recognizes the lettering object inside the design, so you can edit the text.
- Displays the thread information – e.g. brand, color code, and name if available.
Developers can then:
- Type in new text – e.g. 'My Polo',
- Update the design using the API call, and
- Instantly see how the lettering changes in the TrueView preview.

For testing, you can also enable 'Show Design Recipe' within the app. This option shows the actual XML API call being made in the background. It’s a useful way for developers to learn the correct syntax for
api/editDesign requests and to understand how parameters like file, colorway, or font are passed.
In short, the Concept App is a learning and debugging tool: it bridges the gap between reading the documentation and building your own website integration.
Production-ready output
To create a machine-ready file, export with the correct extension:
- DST for Tajima
- TAP for Happy
- EXP for Melco, etc.
Multiple colorways
Designs can include multiple colorways – different thread color arrangements.
- Useful when a garment comes in multiple colors.
- Developers can map website garment colors to design colorways.
- Example API call with colorway selection:
<design file="PolyCotton.EMB" colorwaytype="current" colorway="Colorway 3" />
Key points
- Use fabric-specific EMB templates created in EmbroideryStudio, one per fabric type – e.g. fleece, wool, silk, poly-cotton.
- Edit templates via api/editDesign, not api/newDesign, so the correct stitch settings are preserved.
- Each template contains only one lettering object but already has the optimized parameters for that fabric.
- Export the correct machine format – DST, EXP, TAP, etc – for production.
- Leverage colorways to handle garment variations – map website garment colors → EMB colorway.
- The Wilcom Concept App is a handy way to test templates, preview results, and view the XML recipe for API calls.
Related Articles
Print production worksheets
WilcomWorkspace allows you to print production worksheets. This is the link between designer and embroidery machine operator. It contains a design preview as well as essential production information, including design size, color sequence and special ...
Embroidery fonts vs printing fonts
This article is for Embroidery Web API customers and developers, especially those with a printing or graphics background. In printing, fonts are just shapes – easy to scale, resize, or modify because they are made of vectors and pixels. Embroidery is ...
Embroidery Connect Device Setup Video
Click this link to open the Video on how to setup the Embroidery Connect Device Link - Embroidery Connect Device Setup Video
Embroidery pricing
Traditionally embroidery companies use a stitch count vs quantity matrix to set the price they charge for embroidery. Prices are defined in an embroidery price table based on number of stitches and number of products. WilcomWorkspace lets you choose ...
Embroidery files
By default, WilcomWorkspace saves to its native EMB file format. This format contains all information necessary both for stitching a design and for later modification. When opening designs created or saved in other formats, WilcomWorkspace converts ...