require('dotenv').config();
const apiKey = process.env.GOOGLE_AI_API_KEY;
fetch(`https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent?key=${apiKey}`, {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    contents: [{ parts: [{ text: "Por favor, resuma o que é falado neste vídeo: https://www.youtube.com/watch?v=0g7qSGQIoxw" }] }]
  })
}).then(r => r.json()).then(j => console.dir(j, {depth: null})).catch(console.error);
