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 → Image: Crop

AI-generated

Summary

Builds a Cloudinary delivery URL that crops the specified image by exact dimensions or aspect ratio, optionally using a focus point or generative fill. Returns the URL and transformation string for use in a workflow; it does not modify the stored asset.

Inputs

  • Public ID (required) — Asset public ID, including any folder path and without the file extension.
  • Type — Cloudinary delivery type; defaults to Upload. Private and Authenticated assets, and some social sources, may need signed URLs that this node does not generate.
  • Continue From Transformation — Optional prior transformation string to prepend, allowing this crop to build on an earlier Transform step.
  • Crop By — Choose exact Dimensions or an Aspect Ratio.
  • Width and Height — For Dimensions, set the target crop size in pixels.
  • Aspect Ratio — For Aspect Ratio, provide a ratio such as 16:9 or a decimal such as 1.5.
  • Width — Optional target width in pixels when cropping by aspect ratio; height is derived.
  • Focus — Choose Auto (smart detection), Face, or Center to determine the crop focus.
  • Generative Fill — For images, optionally extend the image with generated content to reach the target shape. This can cost extra transformation credits and may render asynchronously on the first request.
  • Generative Fill Prompt — Optional prompt guiding generated fill content; shown when Generative Fill is enabled.
  • Version — Optional asset version used in the delivery URL to bust CDN caches.

Output shape

A single item containing the generated delivery URL and transformation string.

The crop does not add automatic format or quality optimization. Chain Image: Optimize or use Compose: Combine Transformations to add those settings.

Links

Discussion