YouTubeYouTubeSocial

Set a custom thumbnail on your YouTube video

youtube.youtube.video.thumbnail.set

Set the custom thumbnail on one of your YouTube videos

价格
free按供应商原价
成功率
—暂无成功率数据暂无成功率数据
延迟 p50
——
最后验证
—尚未验证
POSThttps://toolswitch.dev/v1/tools/youtube.youtube.video.thumbnail.set预览
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

same /upload/ host path as the video upload. Custom thumbnails need the channel to be verified — an unverified channel gets HTTP 403 forbidden even though the scope is correct, which reads like a permissions bug and is not one

参数类型必填说明示例
查询参数
videoId字符串必填the id videos.insert returneddQw4w9WgXcQ
uploadType字符串可选media for a straight single-shot upload of the image bytesmedia
  • 查询参数
  • videoId字符串必填

    the id videos.insert returned

    示例:dQw4w9WgXcQ

  • uploadType字符串可选

    media for a straight single-shot upload of the image bytes

    示例:media

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

预览
curl -X POST 'https://toolswitch.dev/v1/tools/youtube.youtube.video.thumbnail.set' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 free 计费,已含服务费。