Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI Studio
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Service page
Yandex Cloud Video
Documentation
Yandex Cloud Video
    • Overview
    • Control
    • Troubleshooting
  • Access management
  • Pricing policy
    • API authentication
    • Getting started with the API
      • Overview
        • Overview
        • Get
        • List
        • Create
        • BatchGenerateDownloadURLs
        • GenerateUploadURL
        • Delete
  • Audit Trails events
  • Release notes

In this article:

  • HTTP request
  • Body parameters
  • Response
  • ThumbnailDownloadURL
  • ScaledURL
  1. API reference
  2. REST
  3. Thumbnail
  4. BatchGenerateDownloadURLs

Video API, REST: Thumbnail.BatchGenerateDownloadURLs

Written by
Yandex Cloud
Updated at August 8, 2025
  • HTTP request
  • Body parameters
  • Response
  • ThumbnailDownloadURL
  • ScaledURL

Generates download URLs for multiple thumbnails in a single request.
The response includes URLs for both original and scaled versions of each thumbnail.
This is useful for efficiently retrieving multiple thumbnails at once.

HTTP requestHTTP request

POST https://video.api.cloud.yandex.net/video/v1/thumbnails:batchGenerateDownloadURLs

Body parametersBody parameters

{
  "channelId": "string",
  "thumbnailIds": [
    "string"
  ]
}

Field

Description

channelId

string

Required field. ID of the channel containing the thumbnails.

thumbnailIds[]

string

List of thumbnail IDs for which to generate download URLs.

ResponseResponse

HTTP Code: 200 - OK

{
  "downloadUrls": [
    {
      "thumbnailId": "string",
      "originalUrl": "string",
      "scaledUrls": [
        {
          "url": "string",
          "maxWidth": "string",
          "maxHeight": "string",
          "imageFormat": "string"
        }
      ]
    }
  ]
}

Field

Description

downloadUrls[]

ThumbnailDownloadURL

List of download URLs for the requested thumbnails.
Each entry contains URLs for both the original image and various scaled versions.

ThumbnailDownloadURLThumbnailDownloadURL

Field

Description

thumbnailId

string

ID of the thumbnail for which download URLs are provided.

originalUrl

string

URL for downloading the original, unmodified thumbnail image.
This provides access to the image at its original resolution and format.

scaledUrls[]

ScaledURL

List of URLs for downloading scaled versions of the thumbnail.
Different scaled versions are optimized for different display sizes and purposes.

ScaledURLScaledURL

Represents a URL for a specific scaled version of a thumbnail image.

Field

Description

url

string

URL for downloading this scaled version of the thumbnail.

maxWidth

string (int64)

Maximum width in pixels of the scaled image.
The actual width may be smaller to maintain the aspect ratio.

maxHeight

string (int64)

Maximum height in pixels of the scaled image.
The actual height may be smaller to maintain the aspect ratio.

imageFormat

enum (ImageFormat)

Format of the scaled image (JPEG, WebP, etc.).
Different formats offer different trade-offs between quality and file size.

  • IMAGE_FORMAT_UNSPECIFIED: The image format is not specified.
  • JPEG: JPEG image format.
    Provides good compression with some quality loss.
    Widely supported across all platforms and browsers.
  • WEBP: WebP image format.
    Provides better compression than JPEG with similar quality.
    May not be supported on all platforms and older browsers.

Was the article helpful?

Previous
Create
Next
GenerateUploadURL
© 2025 Direct Cursus Technology L.L.C.