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

Font → PSD Mockup: Render

AI-generated

Summary

Render a PSD mockup template using specified smart objects, optional text layers, and hidden layers, producing a customized image output either synchronously or asynchronously.

Inputs

  • Mockup UUID (required) — UUID of the uploaded PSD mockup template to render (obtained from uploading a PSD template).
  • Smart Objects — Array of smart objects to fill with your design images, each requiring a UUID, design URL or base64 image, fit mode, and optional parameters like size, position, rotation, color overlay, and image adjustments.
  • Text Layers — Optional JSON array overriding text layers by UUID, with text content and styling such as font, size, color, stroke color, and fit mode (overflow, shrink, or clip).
  • Hidden Layers — Optional JSON array of up to 50 layer UUIDs to exclude from the render, including group and layers inside smart objects.
  • Export Options — Settings controlling output image format, size, quality, DPI, and filename labeling.
  • Run Asynchronously — Boolean flag to process the render in the background and return a job_id immediately; otherwise, the rendered image is returned inline.

Output shape

a single JSON object with render result details

The output contains a success indicator, detailed render data, and extracted top-level fields for convenience: 'renderedImageUrl' (URL of the first rendered image) and 'allRenderedUrls' (array of all rendered image URLs); if asynchronous rendering is used, a job_id is returned instead and can be tracked using the 'Get Job' operation.

Examples

Example 1: Render a PSD mockup synchronously with one smart object filled by an image URL and default fit mode, returning the rendered image URL.

Set Mockup UUID to target template; add Smart Object with uuid and assetUrl; optionally set textLayers and hiddenLayers as JSON arrays; leave Run Asynchronously false; optionally adjust Export Options for format and size.

Links

Discussion