This content originally appeared on DEV Community and was authored by Anthony
This post is my submission for DEV Education Track: Build Apps with Google AI Studio.
What I Built
I created an Elder Scrolls Character Generator using Google AI Studio and the Gemini API. The app allows users to choose a race and sex, then uses a prompt template and Gemini’s generative power to produce a rich backstory and the Imagen API to generate the portrait for a unique character in the Elder Scrolls universe.
Prompts Used
Initial Prompt
Create an app that generates a unique Elder Scrolls character for use
in Skyrim Special Edition playthrough.
The app should:
- Prompt the user to select a race and sex.
- Use Gemini to generate:
- A lore-appropriate name.
- A rich backstory consistent with the Elder Scrolls universe.
- Use Imagen to generate a portrait that visually represents the
character, based on their race and sex.
Once the input is provided, display the generated name, backstory, and
image to the user.
Additional Prompt Refinements
As I tested and expanded the experience, I added the following enhancements to the prompt logic:
1. Alignment-Based Morality Slider
Prompt: Add a feature that would allow the user to choose a morality alignment using a slider based on the traditional nine alignments (e.g., Lawful Good, Chaotic Neutral, etc.). Use this selection to influence both the character's backstory and the visual output from Imagen.
2. Battle Style Generation
Prompt: Add a "Battle Style" section to the character information. Use Gemini to analyze the backstory and generate a playstyle suggestion that fits Elder Scrolls game mechanics e.g., stealth archer, battlemage, sword-and-board tank, etc. The battle style should feel grounded in the character's life story and personality.
3. Randomize Option
Prompt: Add a randomize feature that randomly selects race, sex, and alignment for the user. When this option is used, craft the backstory and personality to reflect indecision, laziness, or a cowardly nature.
Demo
Link: Elder Scrolls Character Generator
1st Iteration of Character Selection UI
Final Iteration of Character Selection UI
Randomized Generated Character
My Experience
Honestly, using Google AI Studio was pretty fun. The tutorial and the interface made it super easy to get started, and I was surprised by how quickly I could build something functional and cool.
I like how simple it was to add new features, like the alignment slider or randomized personalities, without needing to rework the whole app. It made it easy to keep iterating.
And it auto-fixed an error which was cool, so I didn't get to manually fix any errors that studio generated.
I can definitely see myself using it to rapidly prototype or quickly build out a proof of concept (POC). I'll have to play around with it more to see how it handles more complex applications and logic.
This content originally appeared on DEV Community and was authored by Anthony

Anthony | Sciencx (2025-07-09T23:39:47+00:00) Build an Elder Scrolls Character Generator with Google AI Studio (DevEd Submission). Retrieved from https://www.scien.cx/2025/07/09/build-an-elder-scrolls-character-generator-with-google-ai-studio-deved-submission/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.