Cloudinary Video API Features You’re Probably Not Using Yet

Source: Cloudinary Blog•

Cloudinary Video API Features You’re Probably Not Using Yet

Most teams adopt Cloudinary to solve an immediate problem, usually to upload a file, embed a video, or resize an image. The feature ships, and the team moves on. But Cloudinary Video API includes capabilities that go well beyond basic upload and delivery, and many of them can eliminate manual…

Most teams adopt Cloudinary to solve an immediate problem, usually to upload a file, embed a video, or resize an image. The feature ships, and the team moves on. But Cloudinary Video API includes capabilities that go well beyond basic upload and delivery, and many of them can eliminate manual editing work entirely.

This guide covers seven video features that are built into the API but often go unused: smart cropping with AI gravity, dynamic overlays, auto-captioning and chaptering, signed expiring URLs, audio replacement, AI-generated video previews, and video concatenation. Each one includes use cases, implementation details, and code examples you can drop into your project.

By the end, you’ll know how to:

  • Crop and reframe videos automatically for any aspect ratio using AI gravity.
  • Overlay images, text, and video clips onto a base video at delivery time.
  • Generate transcripts, captions, and chapter markers from uploaded videos.
  • Secure video access with signed, time-limited URLs.
  • Replace or mute audio tracks without re-editing the source file.
  • Generate short, AI-selected video previews and animated GIFs.
  • Concatenate multiple clips into a single video through URL parameters.

To follow along with the code examples, you need:

  • A free Cloudinary account. Note your cloud name from the dashboard.
  • The Cloudinary Node.js SDK installed (npm install cloudinary).
  • At least one video uploaded to your Cloudinary Media Library.

Some features (auto-captioning, AI tagging) require add-ons enabled in your Cloudinary account. The relevant sections note when an add-on is needed.

Cloudinary analyzes video content frame by frame and keeps the most important subject in frame during crop and aspect ratio conversions. Instead of manually editing separate versions for Stories, Reels, and landscape web players, you generate all variants from a single source video.

When to use it:

  • Deliver vertical, square, and landscape versions from one base video, keeping faces or products in frame.
  • Reframe lectures or interviews automatically, keeping the speaker centered without manual editing.

How to implement it:

Set the gravity parameter to auto in your transformation chain. You can also target specific subjects with auto:object:

The g_auto parameter tells Cloudinary to detect the most visually important region in each frame and keep it centered during the crop.

You can overlay images, videos, or styled text onto a base video at delivery time. This means watermarks, branded CTAs, personalized text (like a customer’s name), or even a short ad clip layered onto the video, all without editing the source file.

When to use it:

  • Add a branded watermark or QR code to every video.
  • Inject dynamic text like “Congratulations, [Name]!” or countdown timers.
  • Prepend or append a short ad clip (video-on-video).

How to implement it:

Use the overlay and layer_apply flags in your transformation:

The first block overlays a promo video clip. The second overlays a logo image in the bottom-right corner. Both apply at delivery time through URL parameters.

Cloudinary AI-powered transcription add-ons generate speaker-segmented, timestamped transcripts within minutes of upload. These transcripts feed into subtitle overlays, searchable text layers, or chapter metadata. The feature supports over 100 languages and eliminates manual subtitle editing.

When to use it:

  • Add captions automatically for accessibility and SEO.
  • Display an interactive transcript alongside the video for search and navigation.
  • Generate chapter markers for long-form content like webinars and tutorials.

How to implement it:

Enable the Google or Azure transcription add-on in your Cloudinary account. Then set raw_convert or auto_transcription in the upload call:

Note:

The transcription add-on must be enabled in your Cloudinary account before this works. Navigate to Settings > Add-ons to install it.

Signed URLs include an expiration timestamp and a cryptographic signature. Cloudinary CDN verifies both on every request. If the timestamp has passed or the signature doesn’t match, the CDN blocks access. Combined with role-based upload presets, you can limit which transformations different customer types can apply.

When to use it:

  • Secure premium or gated content with time-limited access.
  • Restrict transformations or uploads based on customer role (admin vs. public).

How to implement it:

Set sign_url: true and expires_at in the SDK:

Always generate signed URLs on your server, never in client-side code. The signature uses your API secret, which must stay private.

Cloudinary lets you replace, mute, or layer audio tracks using transformation parameters. You overlay an audio file onto the base video, adjust volume levels with e_volume, and control encoding with audio_codec. No manual editing or re-uploading required.

When to use it:

  • Replace original audio with localized narration (English to French voice-over).
  • Add background music to customer-uploaded videos.
  • Mute copyrighted or unwanted audio.

How to implement it:

Specify an overlay with an audio file and apply flags: layer_apply:

The audio_codec: 'aac' parameter ensures the final video has valid audio encoding for broad browser compatibility.

Cloudinary analyzes a video using deep learning, identifies the most engaging segments, and stitches them into a short preview or animated GIF. This automates the work of scrubbing through footage to find the best moments.

When to use it:

  • Create hover previews on video thumbnail grids.
  • Generate short clips for social media promotion.
  • Show quick product demo previews on e-commerce pages.

How to implement it:

Use the e_preview parameter in the delivery URL. You can control the total duration and number of segments:

This generates a five-second animated GIF from the most engaging moments in the video.

Cloudinary lets you stitch multiple video clips or images into a single video through URL parameters. The fl_splice flag appends an overlaid asset to the base video instead of displaying it on top.

When to use it:

  • Prepend a personalized welcome clip or name card to a product tutorial.
  • Append an outro with a CTA to every video in a campaign.
  • Automate bulk video creation from reusable segments.

How to implement it:

Use l_video: to specify the asset to append, followed by fl_splice and fl_layer_apply:

This appends outro_clip to the end of product_demo. You can chain multiple splices to build longer sequences from reusable segments.

To see how these features work together, consider an e-commerce platform where sellers upload product videos.

When a new product video arrives, g_auto cropping generates vertical, square, and landscape variants for different platforms. If the video includes audio, you can replace it with localized narration for different regions or mute it for autoplay contexts.

For promotions, text overlays inject discount codes or product details directly onto the video based on campaign rules, without editing the source file. For longer product walkthroughs, auto-chaptering lets customers jump to the sections that matter most (specs, installation, how-to).

On listing pages, e_preview generates short hover previews that show the product in motion. Auto-captioning adds subtitles for accessibility and SEO. For early-access products, signed URLs restrict viewing to authorized customers with time-limited links.

Every feature runs through the same API. One source video. Multiple outputs. No manual editing.

  • Use eager transformations for heavy processing. Complex operations like initial cropping, audio replacement, and chapter generation should run at upload time, not at delivery time. This moves the processing cost from the first viewer’s request to the upload phase, ensuring fast first loads for high-traffic assets.
  • Reserve on-the-fly transformations for dynamic content. Overlaying unique discount codes based on customer data or generating personalized text should happen at delivery time because the output changes per request.
  • Always include f_auto and q_auto. These two parameters automatically select the most efficient format and compression level for each viewer’s browser. They should appear in every production video URL.
  • Generate signed URLs server-side only. Signed URLs contain your API secret in their signature. Always generate them on your server. Never expose the signing logic in client-side code.

These seven features are built into Cloudinary Video API. They don’t require separate editing software, additional infrastructure, or complex server-side scripts. Each one is available through URL parameters or SDK calls.

Pick one feature that addresses a pain point in your current workflow and try it. Smart cropping and f_auto/q_auto are the fastest wins. Auto-captioning and video previews typically have the highest impact on engagement. Audio replacement and concatenation open up localization and personalization workflows that would otherwise require a full video editing pipeline.

Here are a few next steps:

  • Start with smart cropping. Generate three aspect ratio variants from your most-viewed video and compare engagement across platforms.
  • Add auto-captioning to new uploads. Enable the transcription add-on and set raw_convert in your upload preset so every video gets captions automatically.
  • Build a preview grid. Use e_preview to generate hover GIFs for your video thumbnail pages. Measure whether preview-enabled thumbnails increase click-through rates.
  • Test audio replacement for localization. Take one product demo and generate versions with narration in two or three languages using audio overlays.

Resources:

  • Cloudinary video transformations documentation
  • Video overlay documentation
  • Auto-captioning and transcription
  • Signed URLs and access control
  • Video Player documentation
  • Image and video glossary

AI gravity, set with the g_auto parameter, analyzes video content frame by frame to detect the most visually important subject and keeps it in frame during cropping or aspect ratio changes. This lets you generate vertical, square, and landscape variants from a single source video without manually re-editing each one.

Yes. Cloudinary’s AI-powered transcription add-ons generate speaker-segmented, timestamped transcripts shortly after upload, supporting over 100 languages, which can then feed subtitle overlays or chapter markers.

Yes. Cloudinary lets you overlay a new audio track onto an existing video, adjust volume, and set the audio codec entirely through transformation parameters, so localized narration or background music can be added at delivery time.

Using the e_preview transformation, Cloudinary applies deep learning to identify the most engaging segments of a video and stitches them into a short preview or animated GIF, useful for hover previews, social clips, or product demo thumbnails. Configuration options like duration and segment count are detailed in the video previews and posters documentation.

No. Cloudinary’s fl_splice flag lets you append one video clip to another directly through URL parameters, which is useful for adding intros, outros, or personalized name cards without a video editing pipeline. The video concatenation documentation covers the full syntax, including chaining multiple splices together.

What this article says