Powered by Google Gemini AI (gemini-2.5-flash)

AI Ghost Story Generator

Enter a World Where Every Shadow Hides a Story...

Turn your darkest ideas, haunted places, strange dreams, and forgotten legends into original ghost stories with the power of Google Gemini AI.

100% Free Web Access
Powered by Gemini AI
Works on Any Device

Create Your Own Nightmare

Give us an idea. Let the spirits tell the story.

Boo! Ready for a scary story? Click me for an idea!
Enter a haunted house, mysterious stranger, ancient curse, or dream. 0 / 2000
If left blank, the spirits will craft an original title.

How It Works

Bridging the veil between imagination and artificial intelligence.

Share Your Idea

Describe a haunted location, mysterious incident, ghostly character, childhood nightmare, or unsolved riddle.

Choose Your Horror Style

Pick your preferred story category (Haunted House, Ancient Folklore, Ghost Mystery, etc.) and narrative length.

Summon Your Story

Let the open-weight AI model transform your imagination into a ghost story with title, suspense, and chilling conclusion.

Powered by Google Gemini AI

Harnessing state-of-the-art cloud AI to weave rich, unpredictable supernatural narratives with deep atmospheric horror.

Cloud Edge Execution

Powered by Google Gemini. Accessible from any phone, tablet, or browser with 0 software or model downloads.

Bilingual Master Storytelling

Native, culturally authentic horror storytelling in both English and pure Devanagari Hindi (เคนเคฟเคจเฅเคฆเฅ€).

Production Serverless Security

Deployed with serverless security, server-side API key protection, and in-memory rate limiting.

Inspectable & Hackable

Fully open source under the MIT License. Clean Python Flask architecture with official Google GenAI SDK.

Fine-Tuned Horror Prompts

Specialized narrative guidance across 6 horror sub-genres, from ancient village folklore to psychological dread.

Multimodal Web Audio

Procedurally synthesized haunted winds and 55Hz sub-bass drones paired with browser speech synthesis.

Cloud Access

Ready to Summon: No downloads or local AI setups required. Enter any eerie premise and summon your story instantly!

Every Ghost Has a Story...

AI Ghost Story Generator is an open-source creative storytelling application that transforms simple ideas into imaginative ghost stories. Built using Python, Flask, and Google Gemini, it combines interactive web design, CSS animations, and cutting-edge generative AI to create an engaging storytelling experience.

Whether you are a developer exploring cloud AI orchestration, a horror enthusiast testing spooky prompts, or a creative writer hunting for inspiration, this project proves that immersive gothic experiences can be shared with anyone around the world.

How Developers Can Extend This Project:

  • โœจ Add new horror sub-genres (Cosmic Horror, Folk Horror, Cyberpunk Ghosts).
  • ๐Ÿ”Š Enhance procedural Web Audio effects with dynamic lightning audio synthesizers.
  • ๐ŸŽจ Create new CSS animated spectral characters and ambient weather states.
  • ๐Ÿ“ฆ Customize Gemini parameters (temperature, safety settings, tone instructions).