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

Leave the version empty for the project's latest design. Already-generated mockups come back instantly; a fresh one takes roughly 45–90s. 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.