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

In this article:

  • gRPC request
  • BatchGenerateDownloadURLsRequest
  • BatchGenerateDownloadURLsResponse
  • ThumbnailDownloadURL
  • ScaledURL
  1. API reference
  2. gRPC
  3. Thumbnail
  4. BatchGenerateDownloadURLs

Video API, gRPC: ThumbnailService.BatchGenerateDownloadURLs

Written by
Yandex Cloud
Updated at April 24, 2025
  • gRPC request
  • BatchGenerateDownloadURLsRequest
  • BatchGenerateDownloadURLsResponse
  • ThumbnailDownloadURL
  • ScaledURL

Generate urls for downloading images.

gRPC request

rpc BatchGenerateDownloadURLs (BatchGenerateDownloadURLsRequest) returns (BatchGenerateDownloadURLsResponse)

BatchGenerateDownloadURLsRequest

{
  "channel_id": "string",
  "thumbnail_ids": [
    "string"
  ]
}

Field

Description

channel_id

string

Required field. ID of the channel.

thumbnail_ids[]

string

List of thumbnails IDs.

BatchGenerateDownloadURLsResponse

{
  "download_urls": [
    {
      "thumbnail_id": "string",
      "original_url": "string",
      "scaled_urls": [
        {
          "url": "string",
          "max_width": "int64",
          "max_height": "int64",
          "image_format": "ImageFormat"
        }
      ]
    }
  ]
}

Field

Description

download_urls[]

ThumbnailDownloadURL

List of download urls.

ThumbnailDownloadURL

Field

Description

thumbnail_id

string

ID of the thumbnail.

original_url

string

Original download url.

scaled_urls[]

ScaledURL

List of download urls, one per each available image size.

ScaledURL

Field

Description

url

string

Download url.

max_width

int64

Maximum width of the rectangle to inscribe the thumbnail into.

max_height

int64

Maximum height of the rectangle to inscribe the thumbnail into.

image_format

enum ImageFormat

Image format.

  • IMAGE_FORMAT_UNSPECIFIED: Image format unspecified.
  • JPEG: JPEG image format.
  • WEBP: WebP image format.

Was the article helpful?

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