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
freeAl precio del proveedor
Success rate
—Aún no hay datos de tasa de éxitoAún no hay datos de tasa de éxito
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

Parámetros

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

ParámetroTipoObligatorioDescripciónEjemplo
Parámetros de consulta
videoIdcadenaObligatoriothe id videos.insert returneddQw4w9WgXcQ
uploadTypecadenaOpcionalmedia for a straight single-shot upload of the image bytesmedia
  • Parámetros de consulta
  • videoIdcadenaObligatorio

    the id videos.insert returned

    Ejemplo: dQw4w9WgXcQ

  • uploadTypecadenaOpcional

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

    Ejemplo: media

Ejemplos de código

Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.

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

La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a free, incluida la tarifa de servicio.