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

PSD Mockup → PSD Mockup: Render

AI-generated

Summary

Renders a PSD mockup with designs applied to smart objects, optional text layers, hidden layers, and export options. Returns rendered image URLs synchronously or a job ID for asynchronous processing.

Inputs

  • mockupUuid (required) — UUID of the uploaded mockup template (from Upload PSD response).
  • smartObjects — List of smart objects to fill. Each requires uuid and assetUrl (or base64). Includes fit mode, adjustments (blur, brightness, contrast, opacity, saturation, vibrance), color overlay, positioning, size overrides, background removal, etc.
  • textLayers — Optional array of text layer overrides. Each item needs uuid plus text or segments, and can include font, font_size, color, stroke_color, and fit (overflow, shrink, or clip).
  • hiddenLayers — Optional array of up to 50 layer UUIDs to hide from the render.
  • exportOptions — Output settings: dpi (72-2400), exportLabel, imageFormat (webp/png/jpg), imageSize (width in pixels), originalSize (use PSD's own size), quality (1-100 for JPG/WebP).
  • isAsync — If true, render runs asynchronously and returns a job_id immediately; otherwise returns the rendered image URLs synchronously.

Output shape

The API response is returned unchanged, with added convenience fields when synchronous: renderedImageUrl (URL of first rendered image) and allRenderedUrls (array of URLs for all rendered smart objects). When asynchronous, the response contains a job_id to track via the Get Job operation.

Export options let you control DPI, format, size, and quality; originalSize overrides imageSize with the PSD's native dimensions.

Links

Discussion