All Articles
Wiring Circuit Breakers and Graceful Degradation into Gemini API — an Indie App's Stability-First Notes
When you run Gemini API in production for an indie app, something upstream breaks at least a few times a month. Here are the building blocks for circuit breakers and graceful degradation I settled on, with the implementation traps I actually hit.
Building a Wallpaper Variation Pipeline with Gemini 3.2 Flash Image Output — How an Indie Developer Splits the Work with Imagen 4 and Cut Monthly API Cost
An indie developer's working notes on combining Gemini 3.2 Flash Image Output with Imagen 4 to power a wallpaper-variation feature. Includes Python code, cost numbers, and three production traps from running wallpaper apps with 50M+ downloads since 2014.
Why Your Apps Script Stops Mid-Batch When Calling the Gemini API — UrlFetchApp Timeouts and the 6-Minute Execution Limit
When Apps Script calls the Gemini API, two limits collide: UrlFetchApp's response timeout and the 6-minute script runtime cap. Here is how to tell them apart and how I work around them with chunking, checkpoints, and time-based triggers.
Building Automatic Wallpaper Category Classification with Gemini Vision
A developer behind 50M+ download wallpaper apps shares how they implemented automatic image category classification using the Gemini Vision API — including accuracy results, real pitfalls, and a cost comparison with GPT-4o Vision.
Gemini API asyncio Patterns for Production: How I Cut Processing Time by 80% in My Indie App Backend
A hands-on report on integrating Gemini API asyncio into a production backend. Covers Semaphore-based rate limiting, exponential backoff, and partial failure handling from real experience building a 50M+ download wallpaper app.
Auto-generating Japanese and English Release Notes from git log with Gemini API — A Real Implementation from Beautiful HD Wallpapers v2.1.0
I realized I was spending 1–2 hours per release writing notes in multiple languages. Here's how I automated that with Gemini API and git log — tested on Beautiful HD Wallpapers v2.1.0, with code you can run today.
Diagnosing INVALID_ARGUMENT Errors in Gemini API Batch Image Analysis
When using the Gemini API to analyze multiple images at once, INVALID_ARGUMENT errors can be surprisingly hard to diagnose. This guide covers the three root causes—MIME type mismatches, inline data size limits, and contents structure errors—with code to fix each one.
Auto-Generating App Metadata in 30 Languages with Gemini API — Lessons from Beautiful HD Wallpapers
How I used Gemini API to auto-generate App Store and Google Play metadata in 30 languages for a 50M+ download wallpaper app. Covers prompt design, character limit handling, and real results from 3 months of production use.
Automating App Store and Google Play Review Replies with Gemini API — The 8-Second Rule I Discovered the Hard Way
A practical implementation record of automating multilingual app review replies using Gemini API, based on managing apps with 50M+ cumulative downloads. Covers the undocumented 8-second wait rule that Apple's API silently enforces.
Debugging Gemini API Calls from Next.js App Router Server Actions
Practical solutions for the most common errors when calling Gemini API from Next.js App Router Server Actions: undefined env vars, broken streaming, and deploy-only failures.
Testing Gemini Vision for Wallpaper Auto-Classification — Real Accuracy Numbers and Pitfalls
An indie developer behind a 50M+ download wallpaper app shares a hands-on Gemini Vision classification experiment — including a first attempt at 67% accuracy and the improvements that brought it to 87%.
Automating Firebase Crashlytics Analysis with Gemini API — A Real-World Implementation from an Indie App
A real-world implementation record of automating Firebase Crashlytics log analysis with Gemini API, validated in the development of a wallpaper app with 50M+ downloads. Includes Before/After code for a RecyclerView crash fix and a production cost breakdown.