psdMockups.list in Node
and psd_mockups.list in Python return the templates on an account.
Official SDKs
Node.js
github.com/sudomock/sudomock-node
Python
github.com/sudomock/sudomock-python
Rendering examples
Node.js
Render from a Node service.
Next.js
Render from a route handler.
Express
Render from one Express route.
Cloudflare Workers
Render from a Worker with a stored key.
Python
Render from a Python script.
Django
Render from a Django view.
FastAPI
Render from an async FastAPI route.
Flask
Render from a Flask route.
PHP
Render with the curl extension.
Laravel
Render with the Laravel Http client.
Go
Render with net/http and encoding/json.
Rails
Render from a Rails controller.
API reference
List PSD mockups
Page through the mockups on your account.
Render a PSD mockup
Put artwork in a smart object and export the image.
OpenAPI
OpenAPI spec
assets.sudomock.com/openapi.json