Skip to main content
Mobile ApplicationCompleted

EpicTales: AI-Powered Story Generator for Children

A native Android app that uses Google Gemini to generate age-appropriate stories on demand and reads them aloud with text-to-speech in nine languages.

DeveloperMustafa Kürşad Başer
Started: Dec 2024Completed: Apr 2025
EpicTales: AI-Powered Story Generator for Children

EpicTales generates short, age-appropriate stories for children with Google Gemini and reads them aloud in the child's language with the device's text-to-speech engine. The app picks up where bedtime story books leave off: a parent picks an age group, taps a topic, and the app produces an original story along with narration, all in seconds. It is published on Google Play as Epic Tales: Stories for Kids, in the Education category, and has been there since April 2025.

For the parent and child:

  • AI-generated stories: Each story is produced fresh through Gemini against an age-aware prompt
  • Read-aloud narration: Built-in TTS reads the story in the selected language, with reasonable voice fallbacks when a specific voice is missing on the device
  • Nine languages: English, Turkish, German, Spanish, French, Russian, Portuguese, Arabic, and Hindi
  • Five age groups: 1 to 3, 4 to 5, 6 to 7, 8 to 9, and 10 and up, each with a distinct prompt template
  • Saved stories: A story can be kept for reading and listening later without a connection
  • Font settings: Adjustable fonts, with font handling reworked for every language, which matters when the nine languages span Latin, Cyrillic, Arabic and Devanagari scripts
  • Playful UI: Animated Jetpack Compose interface with cloud and sky themes built around Material 3
  • Monetization: AdMob banner and rewarded ads

How a story is made: The chosen age group and the chosen language both go into the prompt, so tone and vocabulary are set by the request rather than corrected afterwards. Each age group has its own template. The prompt goes to Google's Gemini API, and the story that comes back is shown on screen and handed to the text-to-speech engine. If the device has no voice for the selected language, playback falls back to one it does have.

Stories are stored in Firebase Firestore with offline persistence enabled, and previously generated stories are cached, so they can be read again with no connection.

How it is built:

  • MVVM: ViewModels per screen, with state hoisted into Compose
  • Repository pattern: A single layer between the UI and the two data sources (Firestore and Gemini)
  • Jetpack Compose with Material 3: Declarative UI with dynamic theming
  • Firebase Firestore: Remote story store with offline persistence enabled
  • TTS engine: Multi-language playback with graceful fallback when the requested locale is missing
  • Hilt: Dependency injection across networking, repositories, and use cases
  • Gemini API: Prompted with both the chosen age group and the chosen language to keep tone and vocabulary appropriate

Privacy: Story prompts are sent to the Gemini API over an encrypted connection, and Google's privacy policy covers what Gemini processes, as the app's privacy policy on this site states. On Google Play the app is committed to the Play Families Policy.

The listing shows version 1.7.3, updated in April 2026. The app requires Android 7.0 or later.

Project Gallery

Tech Stack

KotlinJetpack ComposeFirebase FirestoreGoogle Gemini APIHiltRetrofitCoroutinesText-to-Speech