Update thumbnail from video

Select frame from video to use as thumbnail.

Path Parameters
  • asset_id
    Type: string
    required

    Asset id of the video asset which needs to be deleted.

Body
application/json
  • frame_at_second
    Type: integer Format: int32
    required

    Frame secound

Responses
  • text/plain
Request Example for post/video/assets/{asset_id}/thumbnail-select
import Gumlet from '@gumlet/nodejs-sdk';

const client = new Gumlet({
  apiKey: process.env['API_KEY'], // defaults to the API_KEY env var
});

const videoAsset = await client.videoAssets.thumbnailSelect('assetId', { frame_at_second: 2 });

console.log(videoAsset);
{
  "success": true,
  "asset_id": "6495e52a01e29f9a90f3e884",
  "thumbnail_updated_at": 1787073689058
}