From 6d3716a059e00f394f874de1b021f47b5e4d9f74 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Thu, 18 Dec 2025 23:21:24 -0500 Subject: [PATCH] docs: update MycroZine task notes with RunPod proxy fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- ...055 - Integrate-MycroZine-generator-tool-into-canvas.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/backlog/tasks/task-055 - Integrate-MycroZine-generator-tool-into-canvas.md b/backlog/tasks/task-055 - Integrate-MycroZine-generator-tool-into-canvas.md index 602f770..ed41007 100644 --- a/backlog/tasks/task-055 - Integrate-MycroZine-generator-tool-into-canvas.md +++ b/backlog/tasks/task-055 - Integrate-MycroZine-generator-tool-into-canvas.md @@ -65,4 +65,11 @@ Integrated Gemini Nano Banana Pro for image generation: - Updated canvas MycroZineGeneratorShapeUtil.tsx to call Gemini API directly with proper types - Added getGeminiConfig() to clientConfig.ts for API key management - Aspect ratio: 3:4 portrait for zine pages (825x1275 target dimensions) + +2025-12-18: Fixed geo-restriction issue for image generation +- Direct Gemini API calls were blocked in EU (Netcup server location) +- Created RunPod serverless proxy (US-based) to bypass geo-restrictions +- Added /api/generate-image endpoint to zine.jeffemmett.com that returns base64 +- Updated canvas MycroZineGeneratorShapeUtil to call zine.jeffemmett.com API instead of Gemini directly +- Image generation now works reliably from any location