SudoMock
v1.0

SudoMock API Documentation

Mockup automation infrastructure for automated product rendering. Upload your PSD templates, render unlimited variations programmatically.

500
One-time credits
REST
JSON API
Your PSD
Custom templates
25
Max parallel renders

Start Free - No Credit Card Required

Get 500 one-time API credits to test and validate your workflow. Dashboard renders do not consume credits, with one exception: using Photo to Mockup to prepare a mockup from a product photo costs 25 credits. Rendering onto the prepared mockup from the dashboard is free.Create account →

Quick Start

Get your first render in 60 seconds. Here's everything you need:

1

Get your API Key

Sign up for free and generate your API key from the dashboard.

Get API Key
2

Upload a PSD Template

Upload your Photoshop mockup file with smart object layers. We'll extract all editable layers automatically.

See Upload API
3

Render Your First Mockup

Call the render endpoint with your design URL. Get back a production-ready image via CDN.

POST /api/v1/renders
1curl -X POST "https://api.sudomock.com/api/v1/renders" \
2 -H "Content-Type: application/json" \
3 -H "x-api-key: sm_your_api_key" \
4 -d '{
5 "mockup_uuid": "your-mockup-uuid",
6 "smart_objects": [{
7 "uuid": "smart-object-uuid",
8 "asset": {
9 "url": "https://your-domain.com/design.png"
10 }
11 }]
12 }'

Response:

Response 200 OK
1{
2 "success": true,
3 "data": {
4 "print_files": [{
5 "export_path": "https://cdn.sudomock.com/renders/abc123.webp",
6 "smart_object_uuid": "smart-object-uuid"
7 }]
8 }
9}

Try it Live

Use the PSD Mockup Editor to test renders visually before integrating with your code.

API Endpoints

Three surfaces cover everything: render from your own server, embed the editor on your storefront, or ship that editor white-labeled as your own.

Render API
Server-side. Send a request, get a hosted image. PSD templates or product-photo mockups.
Studio (embed)
A drop-in iframe editor. Your customers design on your site, with no render backend to build.
White-label
Studio skinned with your logo, colors, and labels. The editor reads as your own product.

Need video, big batches, or push notifications? These cover async jobs, video, and webhooks:

Official REST SDKs

Prefer a typed client? The sudomock npm package (npmjs.com/package/sudomock) and the sudomock PyPI package (pypi.org/project/sudomock) cover renders, async submission, video, jobs, and webhooks. For AI assistants, the separate MCP server ships as @sudomock/mcp.

Why SudoMock?

Fast Rendering

Built for high-volume automation workflows. CDN-hosted output for fast delivery.

Published Volume Plans

Start with 500 one-time credits, then choose a plan with clear monthly render, template, concurrency, and webhook limits.

Simple REST API

Two endpoints. Upload your PSD, render with your designs. That's it.

Automation Ready

Native support for n8n, Zapier, Make. Trigger renders from any workflow.

One template, every workflow.

Upload your own layered PSD once, then render production-ready variations from structured inputs.

Use the same render engine through the REST API, no-code workflows, native commerce integrations, or MCP.

Integrations

Connect SudoMock to your existing automation workflows:

Use Cases

Authentication

All API requests require authentication via the x-api-key header. Generate your API key from the Dashboard.

Authentication Header
1curl -X POST "https://api.sudomock.com/api/v1/renders" \
2 -H "x-api-key: sm_your_api_key_here" \
3 -H "Content-Type: application/json" \
4 -d '{ ... }'

Keep Your API Key Secure

Never expose your API key in client-side code or public repositories. Regenerate your key immediately if it's been compromised.

Parallel Limits

These limits determine how many simultaneous render or upload operations you can have in flight at once. Pay as you go carries the trial number until a card is verified and the balance is funded, and the funded number after that. The funded number is not a one-time unlock: it holds while a balance remains, and for 90 days after your last top-up once that balance is spent.

Pay as you go
1 / 25parallel
trial / funded
Starter
3parallel
Popular
Pro
10parallel
Scale
25parallel

Need Help?

Still have questions?

Our team is here to help you succeed.

Contact Support →

Missing something? Request a feature or view our roadmap