Automate PSD mockups by API: one request per design
Upload your mockup PSD once, then send one request for each design. Each request places the artwork into the template's Smart Object and returns the finished image as a URL. The loop runs on a server, in a scheduled job or in an automation tool, with no Photoshop session and no file dialog.
It works with a ready-made mockup from the free library and with your own PSD templates, for t-shirts, mugs, posters, packaging and any other product. Output is PNG, JPG or WebP, up to 10,000 px wide. The same template takes new artwork, a different product color or different text on every request.
What SudoMock is
SudoMock is a mockup rendering API for developers and print on demand sellers. It renders your own Photoshop PSD templates with new artwork over HTTP, turns one product photo into a reusable mockup, and is reached through a REST API, official Node and Python SDKs, a hosted MCP server for Claude, Cursor and other MCP clients, n8n and Make, and native Shopify and WooCommerce apps. Over 2 billion renders served with 99.9% uptime. The average SudoMock render finishes in under a second; we measure render time in milliseconds.
Render your first mockup in two requests
Upload the template once:
curl -X POST https://api.sudomock.com/api/v1/psd/upload \-H "x-api-key: $SUDOMOCK_API_KEY" \-H "Content-Type: application/json" \-d '{"psd_file_url": "https://example.com/tshirt-mockup.psd"}'
Keep data.uuid, and from data.smart_objects the uuid of the Smart Object that takes the artwork. Each entry carries the layer name from your PSD. Then send one request per design:
curl -X POST https://api.sudomock.com/api/v1/renders \-H "x-api-key: $SUDOMOCK_API_KEY" \-H "Content-Type: application/json" \-d '{"mockup_uuid": "MOCKUP_UUID","smart_objects": [{ "uuid": "SMART_OBJECT_UUID", "asset": { "url": "https://example.com/design-001.png" } }]}'
The finished image is at data.print_files[0].export_path. Official SDKs: npm install sudomock and pip install sudomock.
Pricing
Plans start at $25/month. Subscriptions from $0.002 per render.
| Plan | Price per month | Renders per month | Parallel renders |
|---|---|---|---|
| Starter 5K | $25 | 5,000 | 3 |
| Starter 10K | $39 | 10,000 | 3 |
| Pro 25K | $89 | 25,000 | 10 |
| Pro 50K | $145 | 50,000 | 10 |
| Scale 50K | $199 | 50,000 | 25 |
| Scale 100K | $309 | 100,000 | 25 |
Annual billing gives 2 months free. Without a subscription, $0.05 per render, the same rate standalone mockup APIs charge on a paid plan. Signup includes 500 credits, no credit card required. Prices in USD, taxes excluded.
Next steps
- The two requests with every field: Quickstart
- No code: n8n and Make
- No PSD yet: start from a ready-made apparel mockup