← fusionlot.eu|Blog AdminPowered by Gemini 2.0 Flash · Free tier
View blog →

AI Blog Post Generator

Enter a topic → Gemini writes trilingual SL + EN + DE content matching the site schema → preview → publish.

API routes are not a separate process: they run on the same host and port as this page (e.g. if next dev chose 3002, use localhost:3002). Quick check: GET /api/health

How it works

  • Calls Gemini 2.0 Flash — Google AI Studio free tier (1,500 req/day, no GCP credits used)
  • Preview generates without writing files. Publish writes public/locales/sl|en|de/blog.json + blogPosts.js
  • After publishing, restart the dev server or run npm run build to see the post live
  • New categories: add ai and security to BLOG_CATEGORIES in blogPosts.js and locale files