Skip to main content
ShirePath Solutions

Drawing 02.11, ai application

Christmas Story Card

Guided questions become a personal card with a story written for the family and read aloud in a chosen voice, shared at its own link or exported as a PDF.

VercelFirebaseFirebaseID tokenpages, checkoutstorynarrationaudiocredits1234567BrowserNext.js onVercelCloud FunctionsOpenAIElevenLabsFirebaseStorageFirestoreVercelFirebaseFirebaseID tokenpages, checkoutstorynarrationaudiocredits1234567BrowserNext.js onVercelCloudFunctionsOpenAIElevenLabsFirebaseStorageFirestore
Fig. 1. Guided answers become a written story, then a narrated card; the heavy work runs in Firebase functions.
Parts list for Christmas Story Card
No.PartWhat it does here
1BrowserAnswers the guided questions, uploads photos, and plays the finished card.
2Next.js on VercelPages, the shareable card, and Stripe Checkout with a webhook that grants credits.
3Cloud FunctionsWrites the questions and the story, makes the narration, and exports PDFs, behind a Firebase token.
4OpenAIWrites the guided questions and the story from the answers.
5ElevenLabsReads the story aloud in the chosen voice.
6Firebase StorageFamily photos and the narration audio.
7FirestoreCards, stories, users, and plan credits.

Why it exists

I wanted to send my family something more meaningful than a generic card, so I built a way to write a personal story from a few answers, narrate it, and share it as a card.

How it is built

The pages and the shareable card run on Vercel; the heavy work runs in Firebase functions behind the signed-in user's token. OpenAI writes the guided questions and then the story from the answers, ElevenLabs reads it aloud in the chosen voice, and the audio is stored with the card's photos.

Stripe Checkout sells credits and subscriptions, and its webhook writes the buyer's plan to Firestore, which sets how many rewrites, narrations, and PDF exports a card gets. The PDF export runs a headless browser in a function that is allowed nine minutes.

What it does

  • Guided questions that become a written story
  • Narration in a chosen voice
  • A shareable link for every card, and PDF export
  • Credits and subscriptions through Stripe

Plates

Plate 1. Christmas Story Card, as it looks live.

© 2026 ShirePath Solutions LLC. Built by Conner Contreras and crew in Columbia, Tennessee.