The day a "images aren't showing" bug dragged me from the frontend down to Google Cloud org policies
I had built a feature that generates product images with AI. One day I noticed the gallery was empty — not even a "generating" indicator. I started thinking "five-minute bug," and ended up wiring together Google Cloud org policies, IAM, Vertex AI, and Cloudflare AI Gateway. Here's the whole thing, start to finish, with every wall I hit along the way.
My app (sayfa.app) has a Studio feature: the user picks a product photo, tweaks the scene/lighting/style, and AI generates a professional product image. Behind the scenes it runs Google's Gemini image model (gemini-3-pro-image).
My complaint was simple: