UI/UX: Adiciona campo opcional para colagem manual de transcrição no VideoMind

This commit is contained in:
2026-06-05 22:19:33 +00:00
parent 281005a8bc
commit 3781c848da
2395 changed files with 242184 additions and 20 deletions
+9
View File
@@ -0,0 +1,9 @@
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);