SudoMock icon

SudoMock

Generate PSD mockups, photo mockups and product videos for Print-on-Demand automation. Upload PSDs, turn product photos into mockups, render with your designs, render videos, run renders asynchronously, track jobs, and manage webhooks.

Actions229

Photo Mockup → PSD Mockup: Render

AI-generated

Summary

Render a PSD mockup template by filling its smart objects with specified design images, optionally overriding text layers, hiding layers, and customizing export settings. Supports synchronous or asynchronous processing with job tracking.

Inputs

  • Mockup UUID (required) — UUID of the uploaded PSD mockup template to render (obtained from the Upload PSD operation).
  • Smart Objects (required) — A collection of smart objects to fill, each requiring its UUID (from the uploaded PSD) and a design image URL or base64 data, plus optional fitting mode and appearance adjustments like blur, brightness, rotation, and color overlay.
  • Text Layers — Optional JSON array to override text layers, each with a UUID and new text or segments, plus optional font, size, color, stroke color, and fitting behavior.
  • Hidden Layers — Optional JSON array of up to 50 layer UUIDs to exclude from the render, including nested layers inside smart objects or groups.
  • Export Options — Settings to customize output image format (WebP, PNG, JPEG), size (width in pixels), quality, DPI for print resolution, original PSD size usage, and optional export label for filename.
  • Run Asynchronously — Boolean flag to perform rendering as a background job. If true, returns a job_id immediately instead of the rendered image; use Get Job operation to track status and results.

Output shape

a single JSON object containing the render response from the API

When run synchronously, returns render result data including an array of print files with export paths (URLs). Convenience fields add the first rendered image URL as 'renderedImageUrl' and all rendered image URLs as 'allRenderedUrls'. When run asynchronously, returns a job_id for tracking via the Get Job operation.

Examples

Example 1: Render a PSD mockup synchronously using multiple smart objects with specific design URLs and fit modes, applying optional appearance adjustments and custom export settings.

Set the Mockup UUID to the target PSD template UUID, provide Smart Objects with their UUIDs and design image URLs, configure fit modes and appearance options, optionally set Text Layers and Hidden Layers as JSON, define Export Options like image format and size, and leave Run Asynchronously unchecked.

Example 2: Render a PSD mockup asynchronously and retrieve the job ID for later polling.

Set the Mockup UUID and Smart Objects as usual, set 'Run Asynchronously' to true, and use the returned job_id with the Get Job operation to track rendering progress and get the final output URL(s).

Links

Discussion