This post is my submission for DEV Education Track: Build Apps with Google AI Studio.
What I Built
I made a meme generator — dead simple, just how memes should be. The idea was to let users either upload an image or click one directly from their webcam, and then the app adds a funny meme caption using AI.
The core prompt I used went something like:
“Create a short, funny meme caption based on the given image. Be witty but don’t overdo it.”
I didn't want cringy or forced stuff — just something that makes you grin.
Demo
🔗 https://memeswift.streamlit.app/
You can:
Upload your own photo
Or take one on the spot
Then hit “Generate Meme”
And voilà — AI adds a caption that (hopefully) doesn’t suck
It’s fast, minimal, and works on both mobile and desktop.
My Experience
Getting this to work in Streamlit with Google AI Studio was smoother than I expected. I thought image input to AI would be a pain, but feeding the uploaded image along with a simple prompt got decent results right away.
The tricky bit was keeping the meme tone light and not making it sound like a machine wrote it. I had to tweak the prompt a few times — even added examples like “When you realize it's Monday again” to give the AI a vibe to follow.
Also, Streamlit made the UI part painless. I didn’t touch HTML or CSS — just a few lines and I had a working web app.
Screenshots -
Top comments (0)