Cloudinary icon

Cloudinary

Upload images and videos, generate images with AI from text prompts or reference images, build optimized transformation and delivery URLs, generate video players, and manage, search, tag, and edit metadata in your Cloudinary media library

Transform → Video: Resize

AI-generated

Summary

Resize a video asset stored in Cloudinary by specifying the target width and height, fit mode, padding background, and other optional transformation parameters to generate a transformed video delivery URL.

Inputs

  • Public ID (required) — The Cloudinary public ID of the video asset to resize, including any folder path but without the file extension.
  • Type — The Cloudinary delivery type of the asset; usually 'Upload' for public assets. Other types like 'Private' or social profiles may require signed URLs, which are not supported by this node.
  • Continue From Transformation — An optional prior transformation string to prepend, allowing chaining of multiple transformations by combining URLs.
  • Width — Target width in pixels for resizing. Set to 0 to size by height only.
  • Height — Target height in pixels for resizing. Set to 0 to size by width only.
  • Fit — The fit mode defining how the video fits within the specified dimensions: limit, fit, padding variants, or scale.
  • Pad Background — Background color mode for padded area when using pad fit modes, e.g., black, auto (predominant color), blurred, or a solid color.
  • Background Color — Specifies a named or hex color used as background when 'Solid Color' padding is chosen.
  • Additional Options — Optional additional parameters such as asset version to help bust CDN caches.

Output shape

A single transformed video delivery URL string

The node returns a delivery URL for the resized video incorporating all specified transformations. The URL can be used to access the transformed video. Users should note that the node does not generate signed URLs required for private or authenticated delivery types, so those may fail to load without further handling.

Links

Discussion