Vertex AI documentation is no longer being updated
Vertex AI's services are now part of Gemini Enterprise Agent Platform. See the most up-to-date information in the Agent Platform documentation.
Extract video chapters
Stay organized with collections
Save and categorize content based on your preferences.
Extract the chapters in a video as structured JSON
|
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.
|
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
I've compiled a schedule of events from the video, each with its duration and a description.
[
{
"timecode": "00:00 - 00:19",
"chapterSummary": "The video opens with breathtaking aerial views of Rio de Janeiro, showcasing iconic landmarks like Christ the Redeemer and Sugarloaf Mountain. It highlights the well-known tourist spots such as Ipanema and Copacabana beaches, depicting a vibrant city life with surfing, beach vendors, and music."
},
{
"timecode": "00:19 - 00:33",
"chapterSummary": "The focus shifts to the lesser-known side of Rio: the favelas. The narrator explains that one in five residents live here and that these areas are often only known through negative news reports about crime and poverty."
},
{
"timecode": "00:33 - 00:48",
"chapterSummary": "This chapter reveals that the negative stereotypes are only a small part of the story. It introduces Google's initiative to work with locals to map the favelas, emphasizing that having an address is a key part of identity. The video shows scenes of everyday life, community, and culture within the favelas."
},
{
"timecode": "00:48 - 00:57",
"chapterSummary": "The video concludes with a call to action, stating that over 1.4 million people live in Rio's favelas. It invites viewers to explore these communities in a 360-degree experience to see the reality for themselves, providing a link to the project."
}
]
|
| Model: |
gemini-2.5-pro |
| Temperature: |
0.2 |
| Max output tokens: |
8192 |
| TopK: |
40.0 |
| TopP: |
0.95 |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-13 UTC.
[null,null,["Last updated 2026-06-13 UTC."],[],[]]