update_thumbnail
Set a custom thumbnail for a YouTube video using a public image URL and video ID. Requires permission to edit the video.
Instructions
Sets the custom thumbnail for a YouTube video using an image from thumbnailUrl. The authenticated user must have permission to edit the video.
Args: thumbnail_url: Publicly accessible URL of the new thumbnail image. Must be JPG, GIF, or PNG; under 2MB. Recommended: 16:9, 1280x720 (min 640px width). video_id: Identifier of the YouTube video for which to update the thumbnail.
Returns: Object with 'data' (thumbnail resource), 'error' (if any), and 'successful' boolean.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_id | Yes | ||
| thumbnail_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||