A partire dal 29 aprile 2025, i modelli Gemini 1.5 Pro e Gemini 1.5 Flash non sono disponibili nei progetti che non li hanno mai utilizzati, inclusi i nuovi progetti. Per maggiori dettagli, vedi Versioni e ciclo di vita dei modelli.
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Estrarre i capitoli di un video come JSON strutturato
Puoi eseguire query direttamente su un modello e testare i risultati restituiti quando utilizzi valori di parametro diversi con la console Cloud o richiamando direttamente l'API Vertex AI.
Suddividi i contenuti video in capitoli e fornisci un riepilogo per ogni capitolo. Acquisisci solo gli eventi e i momenti salienti chiave. Se non hai la certezza di una determinata informazione, non inventarla. Restituisce il risultato nel formato JSON con le seguenti chiavi : "timecode", "chapterSummary"
Risposta
[{"timecode":"00:00-00:04","chapterSummary":"The video starts with an aerial view of Rio de Janeiro, showcasing the Christ the Redeemer statue and the coastline. The title card for \"Google presents Beyond the Map\" is displayed."},{"timecode":"00:04-00:10","chapterSummary":"The video shows various scenes of Rio's famous beaches, including people playing soccer, a vendor selling hats, and a man relaxing on the sand. An aerial view of the city's landscape is also shown."},{"timecode":"00:10-00:18","chapterSummary":"The video continues to showcase the well-known aspects of Rio, such as a skateboarder, a man sunbathing, and people walking along the beach. It also features a street musician playing a guitar."},{"timecode":"00:18-00:35","chapterSummary":"The video shifts focus to the favelas, highlighting the dense housing and daily life within these communities. It also touches upon the negative perceptions often associated with favelas, such as crime and poverty."},{"timecode":"00:35-00:48","chapterSummary":"The video explains Google's initiative to map the favelas, emphasizing the importance of providing addresses to residents and fostering a better understanding of these communities. It shows scenes of daily life in the favelas, including children playing soccer and people going about their daily routines."},{"timecode":"00:48-00:57","chapterSummary":"The video concludes with text stating that over 1.4 million people in Rio live in favelas, inviting viewers to explore their world in 360° via a provided link. The Google logo and website address are displayed."}]
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[],[],null,["Extract the chapters in a video as structured JSON\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| You can query a model directly and test the results returned when using different parameter values with the Cloud console, or by calling the Vertex AI API directly. - For an example of using the Vertex AI API, see [Quickstart using the Vertex AI API](/vertex-ai/generative-ai/docs/start/quickstarts/api-quickstart). - To view this sample in the Cloud console: [Go to Google Cloud console](https://console.cloud.google.com/vertex-ai/generative/language/prompt-examples/Extract%20video%20chapters) \u003cbr /\u003e ||\n| Prompt Freeform Your browser does not support HTML5 video. Chapterize the video content by grouping the video content into chapters and providing a summary for each chapter. Please only capture key events and highlights. If you are not sure about any info, please do not make it up. Return the result in the JSON format with keys as follows : \"timecode\", \"chapterSummary\" Response [ { \"timecode\": \"00:00-00:04\", \"chapterSummary\": \"The video starts with an aerial view of Rio de Janeiro, showcasing the Christ the Redeemer statue and the coastline. The title card for \\\"Google presents Beyond the Map\\\" is displayed.\" }, { \"timecode\": \"00:04-00:10\", \"chapterSummary\": \"The video shows various scenes of Rio's famous beaches, including people playing soccer, a vendor selling hats, and a man relaxing on the sand. An aerial view of the city's landscape is also shown.\" }, { \"timecode\": \"00:10-00:18\", \"chapterSummary\": \"The video continues to showcase the well-known aspects of Rio, such as a skateboarder, a man sunbathing, and people walking along the beach. It also features a street musician playing a guitar.\" }, { \"timecode\": \"00:18-00:35\", \"chapterSummary\": \"The video shifts focus to the favelas, highlighting the dense housing and daily life within these communities. It also touches upon the negative perceptions often associated with favelas, such as crime and poverty.\" }, { \"timecode\": \"00:35-00:48\", \"chapterSummary\": \"The video explains Google's initiative to map the favelas, emphasizing the importance of providing addresses to residents and fostering a better understanding of these communities. It shows scenes of daily life in the favelas, including children playing soccer and people going about their daily routines.\" }, { \"timecode\": \"00:48-00:57\", \"chapterSummary\": \"The video concludes with text stating that over 1.4 million people in Rio live in favelas, inviting viewers to explore their world in 360° via a provided link. The Google logo and website address are displayed.\" } ] | |------------------------|----------------------| | **Model:** | gemini-1.5-flash-002 | | **Temperature:** | 0.2 | | **Max output tokens:** | 8192 | | **TopK:** | 40.0 | | **TopP:** | 0.95 | |"]]