Python Project: AI Image Generator App

From the creator

Build a Tinder-style AI image generator in Python with Streamlit and Google’s Gemini API: set up the project with uv, design a clean Streamlit UI (prompt, image uploader, generate button), and transform uploaded photos using Gemini 2.5 Flash Image Preview—secure your API key, parse image outputs, handle long-running tasks with spinners, and render before/after previews in a responsive two-column layout. --- 🔗 *Links* - 💻 Code from the video: https://github.com/alejandro-ao/gemini-image-generation-app - 🔥 Use this app for FREE: https://gemini-image-generation-app.onrender.com/ - 🚀 Join my FREE community: https://learn.alejandro-ao.com - ❤️ Support me: [Buy me a coffee or beer](https://link.alejandro-ao.com/l83gNq) - ✉️ Channel & AI Engineering newsletter: https://link.alejandro-ao.com/AIIguB --- 🤓 *Topics Covered* - Setup: Python + Streamlit, uv project setup, app scaffolding - UI Components: sidebar API key input, prompt text area, file uploader, generate button, two-column preview - User Experience: loading spinner, conditional rendering, error handling, success/warning states - Image Generation: Gemini 2.5 Flash Preview, google-genai SDK, image I/O with Pillow, API response handling - Practical Use: prompt engineering examples, portfolio-ready AI app combining Streamlit + Gemini API --- ⏰ *Timestamps* 0:00:00 - Intro 0:00:53 - Project overview & demo 0:01:00 - Project setup with uv (init) 0:01:51 - Add dependencies & run Streamlit 0:02:54 - Scaffold the Streamlit app & page config 0:04:39 - Sidebar: API key input (session state/env var) 0:07:15 - Prompt text area & file uploader 0:11:07 - Layout: two-column design, show uploaded image 0:13:45 - Call Gemini 2.5 Flash Image Preview & render result 0:19:24 - Conclusion

Stop watching · start building
Matched to Nano Banana Tutorial

Makers residency 4th edition

Your idea can be anything. At our last workshops, people built plant-based nutrition businesses, a way to measure planetary resilience, crochet headwear and a way to connect lonely people living in the same building. An asset manager went on to raise an additional £25M on their fund within nine months. The fourth workshop is a full day at KOKO with Nick Sarafa, learning to build with Claude Code. Bring the thing you keep meaning to start. We’ll bring the pizza.

◆ Fri 13 Nov 2026 ◆ KOKO, London
Makers residency 4th edition
Live event
Makers residency 4th edition
Fri 13 Nov 2026

More like this

Running one yourself?

List your AI event,
wherever it is.

A meetup, a workshop, a hackathon, a conference. Any city, or online. Tell us about it and it lands in front of people already learning this stuff.