{"info":{"_postman_id":"6f7d1d7e-fa0e-41c0-88a4-ce9cff5e23fb","name":"Cropmark — Product Image Generation","description":"<html><head></head><body><p>Turn product JSON into ready-to-post marketing images.</p>\n<p>Send a title, a price, and a photo URL. Get back a designed 1080x1080 product card,\nready to post to Instagram, drop into an email, or attach to a listing.</p>\n<p><strong>Try it with no key at all</strong> — <a href=\"https://api.trenoxahq.com/preview?title=Your+Product&amp;price=%2429.00&amp;badge=SALE\">open this in a browser</a>. Change the query parameters and the image changes.</p>\n<h3 id=\"getting-started\">Getting started</h3>\n<ol>\n<li>Set the <code>apiKey</code> collection variable (free tier: 50 images/month, no card).</li>\n<li>Run <strong>Generate an image</strong>. The response is binary — use Send and Download to save it.</li>\n</ol>\n<p>Free tier and docs: <a href=\"https://cropmark.trenoxahq.com\">https://cropmark.trenoxahq.com</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"57363638","collectionId":"6f7d1d7e-fa0e-41c0-88a4-ce9cff5e23fb","publishedId":"2sBY4WpxHM","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"D6156F"},"publishDate":"2026-08-13T08:13:18.000Z"},"item":[{"name":"Generate an image","id":"4951f82f-c8e5-4ae2-b4fb-9e152355862b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"template\": \"product-card\",\n  \"data\": {\n    \"title\": \"Stoneware Coffee Mug\",\n    \"subtitle\": \"350ml · Matte glaze\",\n    \"price\": \"$24.00\",\n    \"badge\": \"SALE\",\n    \"image_url\": \"https://images.unsplash.com/photo-1544787219-7f47ccb76574?w=900\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trenoxahq.com/generate","description":"<p>Renders an image from template data. Returns binary image data.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>template</code></td>\n<td>yes</td>\n<td>Template id. See <strong>List templates</strong>.</td>\n</tr>\n<tr>\n<td><code>data</code></td>\n<td>yes</td>\n<td>Template fields. Unknown keys are rejected, not ignored.</td>\n</tr>\n<tr>\n<td><code>format</code></td>\n<td>no</td>\n<td><code>png</code> (default) or <code>jpeg</code>. JPEG is ~6x smaller.</td>\n</tr>\n<tr>\n<td><code>quality</code></td>\n<td>no</td>\n<td>1-100, JPEG only.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Add <code>?response=base64</code> to get JSON instead of binary.</p>\n<p>Errors return <code>{ error, message }</code> and name the fix — a missing field lists\nevery field that is missing, not just the first.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"6f7d1d7e-fa0e-41c0-88a4-ce9cff5e23fb","id":"6f7d1d7e-fa0e-41c0-88a4-ce9cff5e23fb","name":"Cropmark — Product Image Generation","type":"collection"}},"urlObject":{"path":["generate"],"host":["https://api.trenoxahq.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4951f82f-c8e5-4ae2-b4fb-9e152355862b"},{"name":"Generate an image (base64 JSON)","id":"526a7ae4-d107-4746-b090-1a615b5439c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"template\": \"product-card\",\n  \"data\": {\n    \"title\": \"Stoneware Coffee Mug\",\n    \"subtitle\": \"350ml · Matte glaze\",\n    \"price\": \"$24.00\",\n    \"badge\": \"SALE\",\n    \"image_url\": \"https://images.unsplash.com/photo-1544787219-7f47ccb76574?w=900\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trenoxahq.com/generate?response=base64","description":"<p>Same render, returned as JSON with the image base64-encoded — easier to read in Postman than raw binary.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"6f7d1d7e-fa0e-41c0-88a4-ce9cff5e23fb","id":"6f7d1d7e-fa0e-41c0-88a4-ce9cff5e23fb","name":"Cropmark — Product Image Generation","type":"collection"}},"urlObject":{"path":["generate"],"host":["https://api.trenoxahq.com"],"query":[{"key":"response","value":"base64"}],"variable":[]}},"response":[],"_postman_id":"526a7ae4-d107-4746-b090-1a615b5439c1"},{"name":"Generate a JPEG","id":"11e4af3e-4996-4f27-807f-65355793ae31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"template\": \"product-card\",\n  \"data\": {\n    \"title\": \"Stoneware Coffee Mug\",\n    \"subtitle\": \"350ml · Matte glaze\",\n    \"price\": \"$24.00\",\n    \"badge\": \"SALE\",\n    \"image_url\": \"https://images.unsplash.com/photo-1544787219-7f47ccb76574?w=900\"\n  },\n  \"format\": \"jpeg\",\n  \"quality\": 85\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trenoxahq.com/generate","description":"<p>JPEG is about 6x smaller than PNG (55KB vs 340KB) with no visible difference on a product photo. Use it for anything high volume.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"6f7d1d7e-fa0e-41c0-88a4-ce9cff5e23fb","id":"6f7d1d7e-fa0e-41c0-88a4-ce9cff5e23fb","name":"Cropmark — Product Image Generation","type":"collection"}},"urlObject":{"path":["generate"],"host":["https://api.trenoxahq.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"11e4af3e-4996-4f27-807f-65355793ae31"},{"name":"List templates","id":"f16227db-7c96-4476-b917-d35f0ca3c507","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.trenoxahq.com/templates","description":"<p>Every template with its required and optional fields, types, max lengths, and a copy-pasteable example body. Generated from the same definitions that drive validation, so it cannot drift from what /generate accepts.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"6f7d1d7e-fa0e-41c0-88a4-ce9cff5e23fb","id":"6f7d1d7e-fa0e-41c0-88a4-ce9cff5e23fb","name":"Cropmark — Product Image Generation","type":"collection"}},"urlObject":{"path":["templates"],"host":["https://api.trenoxahq.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f16227db-7c96-4476-b917-d35f0ca3c507"},{"name":"Preview (no key required)","id":"f19f4759-5404-443b-af44-cc98704c18a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.trenoxahq.com/preview?title=Your Product&price=$29.00&badge=SALE","description":"<p>Public, watermarked sample render. No API key. Change the query parameters and the image changes — the fastest way to see what the API produces.</p>\n","urlObject":{"path":["preview"],"host":["https://api.trenoxahq.com"],"query":[{"key":"title","value":"Your Product"},{"key":"price","value":"$29.00"},{"key":"badge","value":"SALE"}],"variable":[]}},"response":[],"_postman_id":"f19f4759-5404-443b-af44-cc98704c18a9"},{"name":"Health","id":"2464fb99-f245-4d3e-b074-a2cb04d10834","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.trenoxahq.com/health","description":"<p>Service status and readiness. No key required.</p>\n","urlObject":{"path":["health"],"host":["https://api.trenoxahq.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2464fb99-f245-4d3e-b074-a2cb04d10834"}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]}},"variable":[{"key":"baseUrl","value":"https://api.trenoxahq.com"},{"key":"apiKey","value":""}]}