SudoMock
Mockups
DocsPricing
Request a demo
Get Started

Start rendering mockups in minutes

From PSD to product mockup in one API call.

Get Free API Key→Browse Templates
Public status pagePublished API pricingProduct mockup API500 one-time API credits

Site Navigation

SudoMock

Turn reusable PSD templates, artwork, and editable text into production-ready product images through REST API, no-code workflows, native storefront apps, or AI.

SudoMock is a registered DBA
1209 Mountain Rd Pl NE, Ste N
Albuquerque, NM 87110, USA

Product

  • Pricing
  • Dashboard
  • Playground
  • Changelog
  • Start Free

Developers

  • API Overview
  • MCP Server
  • Quick Start
  • Render API
  • Upload PSD API
  • Authentication
  • Error Handling
  • PSD Preparation
  • Integrations

Mockups & Tools

  • All Mockups
  • Apparel Mockups
  • Drinkware Mockups
  • Wall Art Mockups
  • Home & Living
  • By Platform
  • Search Mockups
  • Free Tools

Resources

  • All Use Cases
  • T-Shirt Mockup Generator for Print on Demand
  • Tote Bag Mockup Generator for Sustainable Brands
  • Automate Mug at Scale with SudoMock
  • Blog
  • Roadmap
  • All Alternatives
  • vs Placeit
  • vs DynamicMockups
  • vs Adobe Photoshop API
  • vs Static Mockup Generators

Company

  • About
  • Contact
  • Brand Assets
  • System Status (opens in new tab)
  • Feature Requests (opens in new tab)
Blog

Latest Articles

View all →
  • 01Renderforest API Pricing 2026: Templates vs Your PSD
  • 02Printful Mockup Generator API: Fidelity, Limits, Cost
  • 03Printify Mockup API vs Your Own Brand PSD (2026)
  • 04Mediamodifier API Pricing 2026: Per-Render Cost Compared

© 2026 SudoMock. All rights reserved.

PrivacyTermsRefundsCookies[email protected]
Back to Blog
GuideNov 20, 20252 min readSudoMock Team

Complete Guide to Smart Objects in Mockups

Everything you need to know about Smart Objects for mockup templates. Setup, best practices, and common mistakes.

Smart Objects guide showing Photoshop layer structure

TL;DR

Smart Objects are the core of mockup templates. They preserve quality at any size, support transforms (warp, perspective), and enable non-destructive editing. Always convert design areas to Smart Objects.

Key Takeaways:

  • •Smart Objects preserve quality regardless of scaling
  • •Transforms (warp, perspective) work non-destructively
  • •Layer effects on Smart Objects persist across content changes
  • •Name Smart Objects descriptively for API identification

Smart Objects are the key to mockup automation. This guide covers everything you need to know about setting up Smart Objects for programmatic mockup generation.

What Are Smart Objects?

In Photoshop, a Smart Object is a special layer that acts as a container. Whatever image you place inside appears with the same perspective, shadows, and effects as the container. This is how mockups work - your design goes into the Smart Object, and it looks like it's printed on the product.

Why Smart Objects Matter

Mockup APIs like SudoMock detect Smart Object layers in your PSD and let you swap their contents programmatically. One PSD template = unlimited mockup variations.


Creating Smart Objects

1

Start with Your Product Photo

Open your product photo in Photoshop. This is the base image where designs will appear.

2

Create the Design Area

Draw a shape or rectangle where the design should appear on the product. This will become your Smart Object.

3

Convert to Smart Object

Right-click the layer and select "Convert to Smart Object". The layer thumbnail will show a small icon indicating it's now a Smart Object.

Naming Convention

Name your Smart Object layers descriptively: Design_Front, Design_Back, Logo_Chest. These names appear in the API response, making integration easier.

4

Apply Transformations

Use Edit → Transform → Distort/Perspective/Warp to match the product's surface. For a t-shirt, add subtle curves. For a mug, wrap around the cylinder.

5

Add Blend Modes & Effects

Set the Smart Object's blend mode (usually Multiply or Soft Light) so designs integrate naturally with the fabric texture. Add any shadows or highlights.


Best Practices

High resolution - Use 3000x3000px or larger Smart Objects for print-quality output
Proper naming - Name layers clearly - they appear in API responses
Blend modes - Multiply works for most fabrics; Soft Light for subtle textures
Flat structure - Keep PSD layers organized; avoid deeply nested groups
Save as PSD - Don't flatten - APIs need the layer structure intact

Common Mistakes

Avoid These Pitfalls

  • Rasterized layers - Once rasterized, a Smart Object can't be edited programmatically
  • Merged layers - Don't merge your Smart Object with other layers
  • Wrong color mode - Use RGB for web mockups, CMYK for print
  • Missing effects - Effects should be on the Smart Object layer, not inside it
  • Locked layers - Unlock all layers before uploading to the API

Testing Your Template

Before uploading to SudoMock, test your Smart Object manually:

Manual Test Steps
text
11. Double-click the Smart Object layer thumbnail
22. A new tab opens with the Smart Object contents
33. Paste in a test design
44. Save and close the tab
55. Check if the design appears correctly on the product
66. Verify perspective, blend mode, and effects look right

Uploading to SudoMock

Once your PSD is ready, upload it via the API. SudoMock automatically detects all Smart Objects and returns their UUIDs.

Upload Template
bash
1curl -X POST "https://api.sudomock.com/api/v1/psd/upload" \\
2 -H "X-API-KEY: YOUR_API_KEY" \\
3 -H "Content-Type: application/json" \\
4 -d '{
5 "psd_file_url": "https://storage.example.com/tshirt-mockup.psd",
6 "psd_name": "Black T-Shirt Front"
7 }'
Response (Smart Objects Detected)
json
1{
2 "success": true,
3 "data": {
4 "uuid": "c315f78f-d2c7-4541-b240-a9372842de94",
5 "name": "Black T-Shirt Front",
6 "smart_objects": [
7 {
8 "uuid": "128394ee-6758-4f2f-aa36-e2b19b152bd9",
9 "name": "Design_Front",
10 "size": { "width": 3000, "height": 3600 }
11 }
12 ]
13 }
14}

Ready to Render

Save the mockup_uuid and smart_object.uuid - you'll use these in every render request to swap designs programmatically.


Related Resources

PSD Preparation Guide

Full technical documentation

Upload API Reference

Complete API documentation

Try the Playground

Test your templates visually

No Photoshop?

Alternatives for template creation

Frequently Asked Questions

SudoMock Team
SudoMock Team
View profile →

Related Articles

PSD mockup template guide showing Smart Objects and layer structure
Guide4 min read

PSD Mockup Template Guide: Best Practices for Automation

Learn how to create API-ready PSD mockup templates. Complete guide covering dimensions, Smart Object setup, layer naming, blend modes, and optimization for automated mockup generation.

Dec 24, 2025Read
Scaling print-on-demand business with API automation
Guide2 min read

5 Ways to Scale Your POD Business with API

Learn how successful POD sellers use APIs to generate thousands of product variations automatically.

Nov 25, 2025Read

Explore by Use Case

See SudoMock in action for your specific product category

T-Shirt Mockup Generator API for Print on DemandHoodie Mockup Generator APIAutomate Mug Mockups at Scale with SudoMock APIPoster Mockup Generator API for Wall Art SellersPhone Case Mockup Generator API for Print on DemandTote Bag Mockup Generator API for Sustainable Brands

Your own PSD, rendered via API

Render your own PSD through the API. Start with 500 one-time credits, no card.

Start Free View Docs

Render your own PSD via API with 500 one-time credits.

Start Free · 500 credits, no card