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

Account → Photo Mockup: Create

AI-generated

Summary

Create a SudoMock photo mockup from a public image URL or base64 image data, optionally naming it and defining print areas. Choose synchronous creation for the API response or asynchronous creation to queue a photo_mockup_create job.

Inputs

  • Source Type (required) — Choose Image URL (default) or Base64 Image; this determines which source field is used.
  • Source URL (required) — Public image URL used when Source Type is Image URL.
  • Source Base64 (required) — Base64 image data used when Source Type is Base64 Image.
  • Name — Optional human-readable name for the photo mockup.
  • Run Asynchronously — Defaults to false. When enabled, queues creation and returns the job response immediately; otherwise returns the API response from the creation request.
  • Print Areas — Optional list of print areas. For each area, provide X and Y coordinates for four points; the node sends them as a points array.

Output shape

One n8n item per input item, containing the SudoMock API response as JSON.

For asynchronous creation, the response is the queued job response; use its job_id with Photo Mockup: Get Job to track completion. Print areas are omitted from the request when none are provided.

Links

Discussion