Set Video Thumbnail
youtube_set_thumbnailSet a custom thumbnail for a YouTube video by uploading a local image file. Accepts PNG, JPG, GIF, and BMP formats up to 2 MB.
Instructions
Upload and set a custom thumbnail for a video.
The image is streamed from a local file. The MIME type is inferred from the file extension (.png, .jpg/.jpeg, .gif, .bmp).
Args
videoId (string, required): video to update the thumbnail for
imagePath (string, required): absolute path to the local image file
Returns Short confirmation + thumbnail resource with URLs for all size variants.
Examples
Set thumbnail:
{ "videoId": "abc123", "imagePath": "/tmp/thumb.jpg" }
Errors
400: file not found, unsupported format, or image too large (max 2 MB)
403: thumbnails require a verified channel or custom thumbnail permission
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| videoId | Yes | ID of the video to set the thumbnail for. | |
| imagePath | Yes | Absolute path to the local image file (.png, .jpg, .jpeg, .gif, .bmp). |