Extraire les chapitres vidéo

Extraire les chapitres d'une vidéo au format JSON structuré

Vous pouvez interroger un modèle directement et tester les résultats renvoyés lors de l'utilisation de différentes valeurs de paramètre en utilisant la console Cloud ou en appelant directement l'API Vertex AI.

Requête forme libre

Chapitrez le contenu vidéo en le regroupant en chapitres et en fournissant un résumé de chaque chapitre. Veuillez ne capturer que les événements clés et les temps forts. En cas de doute sur ces informations, veuillez ne pas les inventer. Renvoyez le résultat au format JSON avec des clés comme suit : "timecode", "chapterSummary"

Réponse

[
  {
    "timecode": "0:00-0:19",
    "chapterSummary": "A panoramic view of Rio de Janeiro, highlighting the iconic Christ the Redeemer statue, Copacabana Beach, and the vibrant city life."
  },
  {
    "timecode": "0:19-0:28",
    "chapterSummary": "Introduction to the favelas of Rio, a significant part of the city often depicted negatively in the media."
  },
  {
    "timecode": "0:28-0:37",
    "chapterSummary": "Challenging the stereotypical portrayal of favelas, showcasing the everyday lives and resilience of its inhabitants."
  },
  {
    "timecode": "0:37-0:49",
    "chapterSummary": "Google's initiative to map the favelas, emphasizing the importance of recognizing their identity and address."
  },
  {
    "timecode": "0:49-0:57",
    "chapterSummary": "An invitation to explore the favelas through Google's 360° virtual tour."
  }
]
Modèle : gemini-1.5-flash-001
Température : 1
Nombre maximal de jetons de sortie : 8 192
TopK : 40
TopP : 0,95