7gen API Test Harness

1. Product List

2. Open Product in Template Studio

Select a product above first. You must already be logged into the Amorphic print server in this browser.

3. Design Submitted Webhook

Listening on POST /functions/v1/amorphic-return (legacy alias: /webhooks/design-saved). Fires on Submit V# only — a plain Save stays in Amorphic. Calls must carry the shared x-os-api-key header.

Waiting for a version to be submitted...

4. Embedded Design Library

5. Generate Mockup

Sheet text (leave empty for the design's own)

Fill in a design id for one exact design, or leave it blank to look one up from the project ext_id (and version; empty = latest). The sheet is a Photo Render of the real 3D model (Blender, no AI) — right side, front, back, left side — in the 7GEN template, with the design's colours, its heat-press / embroidery graphics and a sample of its font. A sheet made before comes back instantly; a fresh one takes 30–60s on a warm render GPU, a minute or two more when Runpod has to start one. Any option above gives a sheet of its own, cached apart from the default one. The PNG is saved into this app's public/mockups folder.

6. Downloaded Mockups

7. Check Job Calibration

The print-file colour report on its own — nothing is rendered or downloaded, so it returns in well under a second. A print file whose colours need calibrating can't be used, so a factory checks here first, calibrates via the link, and only then generates the files below. Several comma-separated design ids are checked as one job with a single merged calibrate link.

8. Generate Print File

Fill in a design id for one exact design, or leave it blank to look one up from the project ext_id and version. One article → one true-size PDF, nested to the printer's roll width — or one PDF per fabric when the garment is cut from more than one. The reference is printed on every pattern piece as <ref> <size> and encoded in the label QR as <qr base>/?<ref>. An article Amorphic has built before comes back instantly; a fresh one takes a few seconds. The PDF is saved into this app's public/print_files folder.

9. Downloaded Print Files

10. Get Design Data

Reads a design without rendering anything, so every level returns in well under a second. basic gives the sizes and the colour slots the design actually paints with — a design usually registers more than it uses. assets adds the fonts and graphics it uses and its thumbnail, all as inline content, so an app has everything it needs to draw the design itself. full returns the design file verbatim, with no envelope around it.