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.

TL;DR
Create API-ready PSD mockup templates with Smart Objects. Use 27 supported blend modes like Multiply for fabrics, Normal for hard surfaces. Export to WebP, PNG, or JPG. SudoMock handles high-resolution professional files with unlimited layers.
Key Takeaways:
- •Smart Objects are the foundation of automated mockups
- •27 blend modes supported including Multiply for fabrics
- •Layer naming matters - APIs use these names
- •Max file size: 300MB, max dimensions: 10,000x10,000px
Built for high-resolution workflows
What Makes a Good Mockup Template?
A well-prepared PSD template is the foundation of automated mockup generation. Whether you're building a print-on-demand business or creating marketing assets at scale, your template quality directly impacts output quality.
Supported Blend Modes
SudoMock supports all 27 standard Photoshop blend modes. These are extracted directly from the PSD and applied pixel-perfectly during rendering:
All Photoshop blend modes implemented
Blend Mode Recommendations
- Fabrics (t-shirts, hoodies): Multiply - shows texture through design
- Hard surfaces (phones, laptops): Normal - clean, solid colors
- Glossy materials: Overlay or Soft Light - adds depth
- Paper/print mockups: Multiply at 80-90% opacity
Layer Masks vs Clipping Masks
Understanding how masks work with Smart Objects is crucial for creating reliable mockup templates. SudoMock supports both layer masks and clipping masks, but they behave differently:
Critical: Smart Object Layer Masks
Layer masks applied to the Smart Object layer itself affect the canvas-level display, not the embedded content. When you replace Smart Object content via API, the mask stays on the layer but does not clip the new design. This is standard Adobe Photoshop behavior.
Solution: If you need masking on the design itself, use a clipping mask layer above the Smart Object, or apply the mask inside the PSB (embedded Smart Object).
| Mask Type | Where to Apply | API Behavior |
|---|---|---|
| Layer Mask on SO | Smart Object layer | Mask preserved but may not affect new content |
| Clipping Mask | Layer above SO | Clips design to layer below - fully supported |
| Mask inside PSB | Inside Smart Object | Replaced when new content is placed |
| Layer Mask on Group | Group containing SO | Clips entire group - fully supported |
Best Practice for T-Shirt/Fabric Mockups
If your t-shirt mockup has a layer mask that shapes the design area, consider:
- Using Multiply blend mode instead of masks for natural fabric integration
- Placing the mask on a group containing the Smart Object, not directly on the SO
- Using clipping mask layers above the Smart Object for shape constraints
Nested Smart Objects
Unlike some competitors, SudoMock
1📁 Main PSD2├── Background3├── 📦 T-Shirt_Group4│ ├── Shirt_Base5│ └── 📦 Design_Smart_Object ← API targets this6│ └── 📦 Nested_Effect_SO ← Also supported7│ └── Your_Design8└── Shadow_Layer
Layer Effects on Smart Objects
SudoMock renders layer effects (layer styles) applied to Smart Object layers. Here's what's supported:
| Effect Type | Support | Notes |
|---|---|---|
| Drop Shadow | ✓ Full | Distance, spread, size, angle, opacity |
| Stroke | ✓ Full | Inside, outside, center positions |
| Blend If | ✓ Full | This Layer and Underlying Layer sliders |
| Inner Shadow | ✗ Not supported | Use Drop Shadow with negative offset as workaround |
| Outer/Inner Glow | ✗ Not supported | Rasterize or use color overlay |
| Bevel & Emboss | ✗ Not supported | Rasterize the effect layer |
Effects Inside vs Outside Smart Object
- Effects on the SO layer: Preserved when content is replaced
- Effects inside the PSB: Replaced along with the content
Keep decorative effects on the Smart Object layer itself for consistent rendering across all designs.
Step-by-Step: Creating Your Template
Set Up Your Canvas
Start with your product photo as the base. SudoMock accepts PSDs with these specifications:
- Max dimensions: 10,000×10,000px
- Max file size: 300MB
- Format: Standard PSD (Photoshop CC compatible)
Create the Smart Object
The Smart Object is where designs will be placed. This is the most critical step:
- Create a new layer or shape where the design should appear
- Right-click → Convert to Smart Object
- Double-click to open the embedded .psb file
- Set the PSB canvas to your desired design resolution
- Save and close the .psb
Smart Object Size Limits
Smart Object internal canvas can be up to 10,000×10,000px. The API will extract
the exact dimensions and return them in the size field of the response,
which you should use to prepare designs at the optimal resolution.
Apply Transforms
Make the design fit your product naturally using Photoshop's transform tools:
- Edit → Transform → Distort for perspective
- Edit → Transform → Warp for curved surfaces (mugs, fabric folds)
- Edit → Transform → Perspective for angled views
All transforms are preserved. The API extracts quad coordinates that represent
the four corner points of the transformed Smart Object.
Set Blend Mode
Choose from 27 supported blend modes. The most commonly used for mockups:
| Blend Mode | Best For | Effect |
|---|---|---|
| multiply | Fabrics, paper, wood | Design darkens, texture shows through |
| normal | Hard surfaces, screens | Solid design, no texture bleed |
| soft light | Subtle textures | Gentle integration, preserves highlights |
| overlay | Metallic, glossy | High contrast, vibrant colors |
| screen | Dark backgrounds | Lightens, good for glow effects |
| color burn | Vintage look | Intense darks, saturated colors |
Name Your Layers
Layer names appear in API responses. Use clear, descriptive names:
1✅ Good Names:2├── Design_Front3├── Design_Back4├── Logo_Chest5├── Label_Neck6└── Color_Overlay78❌ Bad Names:9├── Layer 110├── Layer 1 copy11├── Smart Object 112└── Group 1
Optimize File Size
While SudoMock supports large files, smaller files process faster and upload quicker:
- Delete Cropped Pixels: Image → Crop with "Delete Cropped Pixels" enabled removes hidden content outside canvas
- Flatten background layers that don't need editing
- Delete hidden layers you're not using
- Rasterize text layers that won't change
- Use "Purge All" (Edit → Purge) to clear history and clipboard
- Merge visible layers for non-essential decorative elements
- Save a copy to avoid bloated history states
Pro Tip: Smart Object Dimensions
Smart Object internal canvas (PSB) size affects file size significantly. If your design area is 2000×2000px, don't create a 10,000×10,000px Smart Object "just in case". Size it appropriately for your use case.
Recommended PSD Structure
Here's the recommended layer organization for a mockup template:
Smart Object Response Data
When you upload a PSD, the API extracts detailed metadata from each Smart Object. Understanding this data helps you build better integrations:
What you get after uploading a PSD
1{2"uuid": "550e8400-e29b-41d4-a716-446655440000",3"smart_objects": [4 {5 "uuid": "7c3e8f2a-1b4d-4e5f-8a9c-0d1e2f3a4b5c",6 "name": "Design_Front",7 "size": {8 "width": 3500,9 "height": 400010 },11 "position": {12 "x": 450,13 "y": 380,14 "width": 1200,15 "height": 140016 },17 "quad": [[450, 380], [1650, 420], [1600, 1780], [420, 1720]],18 "blend_mode": "multiply"19 }20]21}
size vs position
- size = Original Smart Object canvas (embedded PSB dimensions)
- position = Where it appears on the mockup (bounding box)
- quad = Four corner points if transformed (warp/perspective)
Prepare your designs at the size dimensions for best quality.
Export Options
When rendering mockups, you have full control over the output format and quality:
1const response = await fetch('https://api.sudomock.com/api/v1/render', {2method: 'POST',3headers: {4 'X-API-KEY': 'sm_your_api_key',5 'Content-Type': 'application/json'6},7body: JSON.stringify({8 mockup_uuid: '550e8400-e29b-41d4-a716-446655440000',9 assets: [{10 smart_object_uuid: '7c3e8f2a-1b4d-4e5f-8a9c-0d1e2f3a4b5c',11 asset_url: 'https://your-storage.com/design.png'12 }],13 export_options: {14 image_format: 'webp', // png, jpg, or webp (default)15 image_size: 2000, // 100-10000px16 quality: 95 // 1-100 (default 95)17 }18})19});
Quick Reference Checklist
Before Upload
☐ File size under 300MB
☐ Dimensions under 10,000×10,000px
☐ Smart Objects converted (not rasterized)
☐ Descriptive layer names
Smart Object Settings
☐ Blend mode set (multiply for fabrics)
☐ Transforms applied (warp, perspective)
☐ Visible (not hidden)
☐ Positioned correctly on canvas
☐ Internal canvas sized appropriately
Related Resources
Frequently Asked Questions
Related Articles

5 Ways to Scale Your POD Business with API
Learn how successful POD sellers use APIs to generate thousands of product variations automatically.

Complete Guide to Smart Objects in Mockups
Everything you need to know about Smart Objects for mockup templates. Setup, best practices, and common mistakes.
Ready to Try SudoMock?
Start automating your mockups with 500 free API credits.