YouTubeYouTubeSocial

Set a custom thumbnail on your YouTube video

youtube.youtube.video.thumbnail.set

Set the custom thumbnail on one of your YouTube videos

Price
freeプロバイダー原価
Success rate
—成功率データはまだありません成功率データはまだありません
Latency p50
——
Last verified
—Not verified yet
POSThttps://toolswitch.dev/v1/tools/youtube.youtube.video.thumbnail.setPreview
  • Uses platform quota
  • Synchronous response
  • Reads public data

パラメータ

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 をコンソールで作成したキーに置き換えてください。

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

このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。