CreatePNG → REST POST .../StitchJob
text/plain avoids a preflight (OPTIONS). For the browser to be
allowed to read the response, however, the server must send the header
Access-Control-Allow-Origin. If it is missing, the call fails with "Failed to fetch" –
in that case serve this page from the same host or reach the service through a server-side proxy.
text/plain). If you edit it by hand, your version is kept and sent as-is (reload the page to regenerate it from the form).Optionally combine the monogram texts with an existing embroidery design. The texts are placed around the design, at the position and distance chosen here.
Loads the design (.tbf, .tc / .z00, .dst, .dsz). It is sent with the request as EmbroideryType, EmbroideryBase64 and EmbroideryName. × removes it again.
Available once a design is loaded. The request is then sent without Monograms and LineSpacing, so Preview, TC, TBF, DST, DSZ and PES are created from the design alone; the text lines stay in the form for later.
Optional .nas (JSON) file that assigns needles to the design's color sequence. Its content is sent unchanged as SeqAssignmentJson. × removes it again.
The service applies this needle assignment (NAS) to DST designs and, from ServerVersion 3, also to Z00 / TC designs (EmbroideryType TC), each for CreateTC, CreateTBF and CreatePNG, not for CreateDST / CreateDSZ. For a Z00 design every sequence gets the needle of its cone and the design's color table is replaced by the cone definitions; the stitches are not changed.
GetNeedleSequence; every needle change and every stop starts a new sequence.NeedleAssignment – key = cone index (0-based), value = the sequence indexes of this cone. The needle is cone index + 1, max needle 32. UsedConeDefs[cone index] must exist.StartIndex – ignored; all indexes must be 0-based.ApplyNasTC: Sequence 1 is not assigned to a cone. A NAS without NeedleAssignment leaves the design unchanged.Needle[i] is replaced by UsedConeDefs[i] (a text line on such a needle gets the cone color); UseEmbroideryColors = 1 is ignored.NeedleSequence then shows an extra (empty) entry.Only available for ZSK Z00 and TBF designs. Get needle info reads the needle colors stored in the design and lists them in the dropdown (the swatch shows the selected color). Add needles replaces the Needle colors list with these colors (max 24).
If you do not want to define needle colors yourself, tick Use embroidery colors in the Needle colors section instead.
The 12 buttons around the design icon choose where the text block sits:
Sent as TextAlignment.Mode (Top, Bottom, Left, Right) and TextAlignment.Alignment (0, 1, 2). Default: bottom center.
Gap between the design and the text in mm, sent as TextAlignment.DistanceMM. Whole millimeters only (the service expects an integer); a typed fraction is rounded.
Up to 9 text lines. Each line is sent as one entry of Monograms and keeps its own settings. Click a line to select it; the panel below the list then edits that line only.
GetFontList from the service and fills the FontFamily picker. From ServerVersion 3 it also lists the fonts uploaded for the license key (UploadFont), at the top and marked uploaded; those uploaded without a TrueType font only from ServerVersion 4.GetFontSettings and replaces the stitch parameter choices (default: Premium, Standard, Fast) with the presets on the server. This runs automatically when the page opens and when the endpoint changes; the button loads them again.+ Add text adds a line (max 9), × removes one; at least one line always remains.
FontFamily).UsedNeedle).TextStitchParameter). The first preset of the server (e.g. Default/Custom) uses your own values: while it is selected, the Custom stitch parameters panel appears; its values start with the server's values of that preset, are kept per line and are sent as CustomTextStitchParameter (satin and underlay density, split, stitch length, rhythm, edge, transition, tie-in, trim, underlay run length). Reset to server values restores them.HorizontalAlignment 0, 1, 2).StitchingSequence 0, 1, 2).FontSizeMM).LineSpacing array, one entry per line.TextBendProcent).CustomTextStitchParameter.ZeichenAbstand).PullRel) and absolute in mm (PullAbs).KerningStrength).Up to 24 needles. They are sent as the Needle list (Red, Green, Blue, Name). A text line's Needle number refers to this list.
Enabled once an embroidery design is added; works only with ZSK Z00 / TBF designs. When ticked, the colors stored in the design are used instead of the list below (UseEmbroideryColors).
From ServerVersion 3 a needle assignment file applied to a Z00 design wins: its cone colors replace the needles of this list and Use embroidery colors is ignored (see Needle assignment file in the Embroidery design help).
Pick colors from a real thread range:
GetThreadConeManufacturer).GetThreadConeSeries).GetThreadConeList).Name.The needle colors of a Z00 / TBF design can also be copied into this list with Get needle info → Add needles in the Embroidery design section.
.svc. Every request (preview, files, fonts, thread cones, needle info) is sent as POST <Service URL>/StitchJob, so enter it without /StitchJob.ServerVersion). Version 4 measures the texts (height, width, line spacing, supported characters) with the embroidery font (TFont) instead of the TrueType font, and its font list also contains the fonts uploaded without a TrueType font. Changing it reloads a font list that was already loaded.FontMetrics: "TrueType"). A font uploaded without a TrueType font cannot be used then. Version 3 always measures with the TrueType font.Rendering settings for the PNG preview, sent as the TrueView object. They do not change the stitch data.
Strichdicke).Helligkeit).BeleuchtungEin).BeleuchtungWinkel).AusblendenAktiv).AusblendenAb).PngResolution).