Gemini, tell me a story — Gemini Tips & Insights
    Neura Market
    Neura Market
    /Gemini
    Marketplace
    Directories
    Resources
    Gemini
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeekCoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityGemsExtensionsTrending
    GeminiBlogGemini, tell me a story
    Back to Blog
    Gemini, tell me a story
    sideprojects

    Gemini, tell me a story

    Jean-Phi Baconnais August 19, 2026
    3 views

    A French version is available here. Vacation time 🌴 We are at the end of July, it's my...

    A French version is available here.

    Vacation time 🌴

    We are at the end of July, it's my last day before my vacation. I attend several meetings, close several items on my TODO list, and end my day by shutting down my MacBook, happy to go on vacation after a very busy period. My single goal for the next 2 weeks: forget IT!

    The next day, my very first day of vacation, we receive a story box at home for our four-year-old son: a Lunii.

    <img src="https://jeanphi-baconnais.gitlab.io/img/2026-stories-generator/1-lunii.png" alt="Lunii" width=80%/>

    Image from the Lunii website: https://lunii.com/fr-fr/products/ma-fabrique-a-histoires-verte

    This is the second story box for our son; he wasn't really interested in the first one (a Tonie) despite the characters placed on top. It was hard for him to be calm and listen to stories. The Lunii is more portable with headphones, we are counting on it to fill some moments during our vacation, and especially during the long time in car.

    Stories can be found on the Lunii website, and it's also possible to record audio. This let us curious because we plan to record our own voices to read books or create custom stories.

    But ...

    💡 A new application?

    My brain left its fresh vacation mode and saw an opportunity: generating stories with AI. Because while our imagination can create stories, AI can also take us into domains or characters we have not imagine.

    Even though Gemini allows doing this in its interface, I decided to take my laptop and build a story generator application to try to save them on the Lunii 🚀.

    The first step consists of creating an application (of course with Quarkus and the Quinoa extension to have an integrated frontend) that generates stories for a 4-year-old child base on some contexts. I decided to choose two story formats:

    • Short format: about two minutes of listening.
    • Long format: more than five minutes.

    This application will allow me to generate a story randomly, or based on a prompt: a character, a place, and a context. I ask my son what kind of characters he would like, so I can save characters in the application to build a "series" of stories featuring the same characters. To illustrate the stories, a call to Google's image generation model, Nano Banana, and off we go.

    Here I am with the first baseline of my story generator.

    <img src="https://jeanphi-baconnais.gitlab.io//img/2026-stories-generator/2-welcome.png" alt="Application home page" width=80%/> <br/> <img src="https://jeanphi-baconnais.gitlab.io//img/2026-stories-generator/3-parameters.png" alt="Story settings" width=80%/>

    ➡️ At this point, these stories could be transferred to our son's Lunii by recording our reading.

    🗣️ Step 2: Integrating Text-to-Speech

    At this stage of implementation, of course I had something else in mind: converting these text stories into audio. AI models are evolving, and the latest versions of Gemini models allow text-to-speech with emotional nuance. Time to integrate this feature! After tweaking a few settings, the French voice sounds really nice for listening to stories, whether you're a parent or a child 😁.

    ➡️ At this stage, my app can generate stories that can be listened to and downloaded as MP3s. Perfect!

    <img src="https://jeanphi-baconnais.gitlab.io//img/2026-stories-generator/4-speechtotext.png" alt="Text-to-Speech integration" width=80%/>

    🧩 An integration with Lunii?

    To push it even further, couldn't we copy these MP3 files directly into the Lunii? At first glance no, Lunii requires a specific format. After a quick search online, I stumbled upon an open-source project: Studio. Developed in Java, this project provides a graphical interface to build Lunii-compatible stories from MP3 files.

    After fetching the project on my machine, I took a look at its multi-module architecture. To run it, I naturally had to compile the project, which built the various modules into my local repository.

    Using my image and MP3 file, I quickly managed to import this story into the Studio project, generate the Lunii format version, and copy it onto the story box's card. Perfect!

    ➡️ So I can generate a story, get the MP3 file, prepare the zip file using the Studio project, and transfer it to the box in just a few clicks. It's really satisfying. My son, listening to the first stories, enjoys them immensely. When the little boy in the story shares his name, it creates an immediate Wow effect. With this, we will be able to spark his imagination and help him unwind with his story box.

    🤔 What's next?

    My application is written in Java, and also the Studio project. To generate and copy a story, I have to start my application (yes, I know I could have quickly deployed it to Cloud Run, but wait... I'm on vacation, let's not forget that 😁), and launch the Studio project. That makes it two steps.

    Looking at the modules of the Studio project, I quickly realized I could integrate some of them directly into my application to get a seamless connection and Lunii management straight from my app.

    <img src="https://jeanphi-baconnais.gitlab.io//img/2026-stories-generator/5-studio-modules.png" alt="Maven modules of the Studio project" width=80%/>

    And after a few tests and integrating the core, drive, and metadata modules, it's done! My app, via a dedicated menu, allows me to manage the story and copy it to the Lunii in a few clicks 🤩.

    <img src="https://jeanphi-baconnais.gitlab.io//img/2026-stories-generator/6-final-app.png" alt="Final application overview" width=80%/> <br/>

    A big thank you to marian-m12l for creating this project, and to its open-source community who kept it evolving along with Lunii's hardware revisions.

    ⚠️ The main goal of this article is to show how, in a personal project, I experimented with Gemini models to generate stories in both text and audio form. It is important to emphasize that integration with Lunii via the Studio project operates outside of Lunii's official closed ecosystem and may potentially diverge from the brand's terms of service.

    🤖 Using models gemini-3.1-flash-tts-preview and gemini-3.5-flash-lite.

    👉 The project is available on GitLab: https://gitlab.com/jeanphi-baconnais-experiments/kids-histories-generator.

    Tags

    sideprojectsgeminiaikids

    Comments

    More Blog

    View all
    Hearing the Mountain's Roar: How Antigravity CLI's AI Agents & IoT Data Track Volcanic ShockwavesGeneral

    Hearing the Mountain's Roar: How Antigravity CLI's AI Agents & IoT Data Track Volcanic Shockwaves

    Turning 29k home weather stations and Gemini AI agents into a 15-minute volcanic warning...

    T
    Tanaike
    [AI in Practice] Gemini 3.5 Transcribe: Real-time Transcription and Speaker Diarization in a macOS Meeting Translation Appai

    [AI in Practice] Gemini 3.5 Transcribe: Real-time Transcription and Speaker Diarization in a macOS Meeting Translation App

    Previously I have a macOS App I use myself, gemini-live-translate-macos. It uses...

    E
    Evan Lin
    Mix and Match: Serving an ADK Agent to AWS and Azuregooglecloud

    Mix and Match: Serving an ADK Agent to AWS and Azure

    A Google ADK agent on Cloud Run, serving A2A to clients that are not ADK — a Strands agent on Bedrock AgentCore and an Agent Framework agent on Container Apps. The card that advertises your bind address, the reply that arrives twice, the event stream once a tool exists, and what Cloud Run brings to the mesh.

    X
    xbill
    Redefining the Role of Google Apps Script in the Era of Generative AIai

    Redefining the Role of Google Apps Script in the Era of Generative AI

    Abstract Generative AI and autonomous agents do not obsolete Google Apps Script (GAS);...

    T
    Tanaike
    3
    ADK Beyond Its Own Tests: What Happens When Your Agent Answers a Client That Is Not ADKgooglecloud

    ADK Beyond Its Own Tests: What Happens When Your Agent Answers a Client That Is Not ADK

    One ADK agent on Cloud Run, serving A2A to clients built on Strands and Microsoft Agent Framework, next to two agents that are not Google's. The ADK-specific findings — to_a2a() and the agent card, the reply that arrives twice, the event stream once a tool exists, and what Cloud Run brings to the mesh.

    X
    xbill
    3
    [Gemini API in Action] Adding a "Detailed Research Report" Button to a LINE Bot: Using Google Search Grounding to Turn Summariesai

    [Gemini API in Action] Adding a "Detailed Research Report" Button to a LINE Bot: Using Google Search Grounding to Turn Summaries

    Background My LINE Bot has always had a summary feature: you drop a URL in, it crawls...

    E
    Evan Lin

    Stay up to date

    Get the latest Gemini prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Gemini and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Gemini resource

    • Automate Blog Updates via Discord with GitHub and Gemini AIn8n · $9.99 · Related topic
    • Auto-Generate Tech News Blog Posts with NewsAPI & Google Gemini to WordPressn8n · $9.99 · Related topic
    • Process Multiple Media Files in Telegram with Gemini AI & PostgreSQL Databasen8n · $24.99 · Related topic
    • Kubernetes RCA and Alerting Using Gemini, Loki, Prometheus, Slackn8n · $24.99 · Related topic
    Browse all workflows