feat: initial commit for MediaGen AI project

This commit is contained in:
David Frassi
2026-08-21 18:26:12 +02:00
commit d8e0d0f4c1
32 changed files with 18723 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import 'dotenv/config';
async function testReplicate() {
const token = process.env.REPLICATE_API_TOKEN || "test";
const response = await fetch('https://api.replicate.com/v1/models/black-forest-labs/flux-schnell', {
headers: {
'Authorization': `Bearer ${token}`
}
});
console.log(response.status, await response.text());
}
testReplicate();