PSD Preparation
Prepare your Photoshop mockup files for optimal rendering. Follow these guidelines to ensure your templates work perfectly with SudoMock.
Smart Objects
Editable design areas
High Resolution
3000px+ recommended
Organized Layers
Named & grouped
File Requirements
SudoMock accepts Photoshop files (.psd) that meet these requirements:
- Photoshop CC 2015 or newer
- Maximum file size via API: Adobe's official PSD file size limit; via dashboard: 300MB
- At least one visible Smart Object or one text layer
- RGB color mode recommended (CMYK, Grayscale, Indexed and Lab are auto-converted to RGB; Duotone and Multichannel render in grayscale, without their spot/ink colors)
- 8-bit or 16-bit depth
File Size Tip
Setting Up Smart Objects
Smart Objects define the areas where artwork will be placed. They are required for artwork replacement, but the REST API can upload and render a text-only PSD without one.
Creating a Smart Object
- Select the layer(s) that will hold the design
- Right-click → Convert to Smart Object
- Or use Layer → Smart Objects → Convert to Smart Object
- Double-click the smart object to edit its contents
- The contents determine the design area dimensions
Smart Object Size
Naming Conventions
Name your smart objects descriptively. These names appear in the API response:
Good Names
Front DesignBack LogoSleeve Print LeftLabel Tag
Bad Names
Layer 1Smart Object 1Copy of Layerasdfgh
Perspective & Transforms
SudoMock preserves smart object transformations, including:
- Distort: Perspective warp for 3D surfaces
- Warp: Curved surfaces like mugs, fabric folds
- Rotate: Angled design placement
- Scale: Size relative to mockup
Preview Coordinates
Layer Effects & Blending
Certain layer effects are supported:
✓ Supported
- Blend modes (Multiply, Screen, Overlay, etc.)
- Opacity
- Layer masks
- Clipping masks
⚠ Flatten These
- Complex layer styles (bevel, emboss)
- 3D effects
- Video layers
- Adjustment layers (outside smart objects)
Layer Organization
A well-organized PSD is easier to maintain and renders more reliably:
1// Recommended layer structure2📁 T-Shirt Mockup.psd3├── 📁 Adjustments (top)4│ ├── Brightness/Contrast5│ └── Color Balance6├── 📁 Overlays7│ ├── Fabric Texture8│ └── Shadow9├── 📁 Design Areas10│ ├── 🔷 Front Design (Smart Object)11│ └── 🔷 Back Logo (Smart Object)12├── 📁 Product13│ ├── T-Shirt Body14│ ├── Collar15│ └── Sleeves16└── 📁 Background17 └── White Background
Optimization Checklist
Linked Smart Objects
@artwork.psb rather than embedded) upload fine and render as placeholders using their placement geometry. For best fidelity, use Layer → Smart Objects → Embed Linked before uploading. If a linked smart object has no usable placement geometry, the render returns 422 LINKED_SMART_OBJECT_CONTENT_MISSING. That error is permanent, so embed the smart object or supply the design in the render request rather than retrying the same file.Testing Your PSD
Before using a PSD in production:
- Upload to SudoMock via the PSD Mockup Editor
- Verify all Smart Objects and text layers are detected
- Test the artwork and text overrides your integration will use
- Check that transforms and effects render correctly
- Export and inspect the result at full resolution
Use the PSD Mockup Editor
Need a Test File?
Try our sample PSD (67.1MB) with 2 smart object layers - perfect for testing the workflow.
Download Sample PSD(67.1MB)This template powers your storefront editor too
Need More Help?
Learn about smart objects in depth or contact our support team.