cd /news/artificial-intelligence/my-protrait-maker · home topics artificial-intelligence article
[ARTICLE · art-12410] src=dev.to ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

MY PROTRAIT MAKER

The article describes "My Portrait Maker," an RPG character portrait generator built using Google AI Studio. The app uses Gemini to expand user inputs into detailed descriptions and Imagen to generate corresponding artwork, with features like a dark gaming theme, localStorage for history, and an API key input field. The developer notes that the project demonstrates how powerful prompts can be transformed into functional applications.

read1 min views27 publishedMay 23, 2026

This post is my submission for DEV Education Track: Build Apps with Google AI Studio. What I Built I build an RPG Character Portrait Generator that successfully uses both Gemini (to expand simple ideas into detailed descriptions) and Imagen (to turn those descriptions into art), use the prompts below. Prompt: "Build a web application called 'My Portrait Maker.' Features:

  • User Input: A text field for character name and a dropdown for 'Universe' (choices: High Fantasy, Cyberpunk, Cosmic Horror, Steampunk, Post-Apocalyptic).
  • Character Traits: Add buttons or chips for Race (Human, Elf, Orc, Android, etc.) and Class (Warrior, Mage, Hacker, Pilot).
  • The Logic: When the user clicks 'Generate', the app should first send the user's choices to Gemini to write a 50-word, highly detailed cinematic visual description of the character.
  • Image Generation: Take that Gemini-generated description and pass it automatically to the Imagen API to generate a high-quality 1:1 portrait.
  • Gallery: Display the generated image alongside the character name and the description Gemini wrote. Include a 'Download' button to save the portrait as a PNG.
  • Persistence: Use localStorage so the user can see their previous character creations in a 'History' section.
  • Add an API Key input field in the App UI so I can paste my key directly into the running app to test it. Styling: Use a dark, professional 'gaming' theme with gold accents and a responsive layout." Demo https://my-portrait-maker-652806875882.asia-southeast1.run.app My Experience I learned how a good and powerful prompt can be converted into a stunning application. Technology is getting so advanced that user can create what he imagines.
── more in #artificial-intelligence 4 stories · sorted by recency
── more on @gemini 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/my-protrait-maker] indexed:0 read:1min 2026-05-23 ·