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

Job → Render Video

AI-generated

Summary

Render a short product video either by first rendering a PSD mockup with your design and animating it, or by animating an existing public image URL directly.

Inputs

  • Input Mode (required) — Choose 'Render Mockup' to render a PSD mockup template with your designs before animating, or 'Animate Image URL' to animate a provided public image URL directly.
  • Mockup UUID (required) — UUID of the uploaded PSD mockup template to animate. Required if Input Mode is 'Render Mockup'.
  • Smart Objects — List of smart objects to fill with your designs when Input Mode is 'Render Mockup'. Each includes a smart object UUID, design image URL, and fit mode (fill, fit, or crop).
  • Image URL (required) — Public HTTPS image URL to animate directly, supported formats include PNG, JPG, JPEG, WebP, GIF, and AVIF. Required if Input Mode is 'Animate Image URL'.
  • Webhook URL — Optional one-time HTTPS URL to receive a notification when the video job finishes, independent of saved webhook endpoints.
  • Video Options — Options to customize the video such as Duration (seconds, typically 4 or 6), inclusion of generated audio, animation motion style (ambient or showcase), and an optional advanced model override by specifying a model ID.
  • Wait for Completion — Boolean flag to poll the video rendering job until it finishes and return the final result, instead of returning immediately with the queued job.
  • Poll Timeout (Seconds) — Maximum number of seconds to wait for the video rendering job to complete if polling is enabled. Defaults to 300 seconds.

Output shape

a single JSON object

Returns the queued job immediately by default with a job ID. If 'Wait for Completion' is enabled, it polls until the job finishes, then returns the full job details including a result URL if the video was generated successfully.

Examples

Example 1: Render a video by first rendering a PSD mockup template with designs and animating it

Set Input Mode to 'Render Mockup', provide the Mockup UUID and optionally Smart Objects to fill designs, configure Video Options as needed, and optionally specify a Webhook URL and enable 'Wait for Completion' to get the video without polling manually.

Example 2: Animate an existing image URL directly

Set Input Mode to 'Animate Image URL' and provide a valid public HTTPS image URL. Optionally configure Video Options, Webhook URL, and whether to wait for job completion.

Links

Discussion