Extrair capítulos do vídeo

Vídeo: extraia os capítulos de um vídeo como um JSON estruturado.

É possível consultar um modelo diretamente e testar os resultados retornados ao usar diferentes valores de parâmetros com o console do Cloud ou ao chamar a API Vertex AI diretamente.

Comando Formato livre

Para dividir o conteúdo do vídeo em capítulos, agrupe o conteúdo em capítulos e forneça um resumo de cada capítulo. Capture apenas eventos principais e destaques. Se você não tiver certeza sobre nenhuma informação, não invente. Retorne o resultado no formato JSON com as chaves da seguinte maneira: "timecode", "ChapterSummary"

Resposta


[
  {
    "timecode": "00:00-00:16",
    "chapterSummary": "The video opens with breathtaking aerial views of Rio de Janeiro, showcasing iconic landmarks such as Sugarloaf Mountain and the Christ the Redeemer statue. It then transitions to scenes of the vibrant beach culture and the bustling city life."
  },
  {
    "timecode": "00:16-00:36",
    "chapterSummary": "The video shifts its focus to the favelas, highlighting the stark contrast between the affluent areas of Rio and these underserved communities. It emphasizes the negative stereotypes associated with favelas, often portrayed through news reports as hubs of crime, poverty, and violence."
  },
  {
    "timecode": "00:36-00:57",
    "chapterSummary": "The video introduces Google's initiative to collaborate with favela residents in mapping their communities. It underscores the importance of providing favelas with a sense of identity and recognition by giving them addresses and making them visible on maps. The chapter emphasizes that favelas are not just places but communities with rich cultures and resilient people."
  }
]
Modelo: gemini-1.5-pro-preview-0409
Temperatura: 1
Máximo de tokens de saída: 8192
TopK: 40
TopP: 0,95