const fanficTopics = [
“Harry Potter”, “Naruto”, “Marvel Cinematic Universe (MCU)”, “Supernatural”, “Twilight”,
“BTS (K-pop fandom)”, “Percy Jackson & the Olympians”, “Star Wars”, “Attack on Titan (Shingeki no Kyojin)”,
“The Hunger Games”, “The Lord of the Rings / The Hobbit”, “Game of Thrones / A Song of Ice and Fire”,
“Doctor Who”, “Sherlock (BBC series)”, “One Direction (RPF)”, “My Hero Academia”,
“Avatar: The Last Airbender”, “Stranger Things”, “Hetalia: Axis Powers”, “Dragon Ball Z”,
“The Vampire Diaries”, “Teen Wolf”, “Pokémon”, “Final Fantasy (all games)”,
“Disney Animated Universe (e.g., Frozen, Tangled)”, “Glee”, “The Legend of Zelda”, “The 100”,
“The Umbrella Academy”, “Miraculous Ladybug”, “Sonic the Hedgehog”, “The Witcher”,
“Hamilton (Musical)”, “Tokyo Revengers”, “Danganronpa”, “RWBY”, “Inuyasha”,
“The Walking Dead”, “Voltron: Legendary Defender”, “Fruits Basket”, “Fullmetal Alchemist”,
“Fate Series (Fate/Stay Night, Fate/Zero)”, “Kingdom Hearts”, “Buffy the Vampire Slayer”,
“Undertale”, “Good Omens”, “Assassin’s Creed”, “Hades (video game)”, “The Sims”,
“Persona Series (e.g., Persona 5)”, “Overwatch”, “Resident Evil”, “Five Nights at Freddy’s”,
“Dead by Daylight”, “Shadowhunters / The Mortal Instruments”, “Bridgerton”,
“The Chronicles of Narnia”, “South Park”, “Mass Effect”, “The Mandalorian”,
“Sk8 the Infinity”, “Arcane (League of Legends)”, “Star Trek”, “Death Note”,
“League of Legends”, “She-Ra and the Princesses of Power”, “Fire Emblem”,
“Steven Universe”, “Gravity Falls”, “Fairy Tail”, “Black Butler (Kuroshitsuji)”,
“The Owl House”, “Criminal Minds”, “Hannibal (TV series)”, “Chicago Fire / One Chicago Universe”,
“Law & Order: SVU”, “Avatar (James Cameron movie)”, “Diablo (video game series)”, “Vikings (TV series)”,
“American Horror Story”, “Stargate SG-1”, “Yu-Gi-Oh!”, “Sailor Moon”, “The Great Gatsby”,
“Eragon (The Inheritance Cycle)”, “How to Train Your Dragon”, “Blade Runner”, “Peaky Blinders”,
“The Dark Tower (Stephen King)”, “Coraline”, “Shrek”, “Warrior Cats”, “Spy x Family”,
“Chainsaw Man”, “Mo Dao Zu Shi (The Untamed)”, “Horizon Zero Dawn”, “Sherlock Holmes (classic novels)”,
“Bleach”, “Attack of the Killer Tomatoes”, “Cyberpunk 2077”, “Elden Ring”,
“The Sandman (Neil Gaiman)”, “Dune (Frank Herbert)”, “The Expanse”, “Wheel of Time”,
“Critical Role”, “Undead Unluck”, “Hellboy”, “The Boys (Amazon Prime)”, “Invincible (comic)”,
“The Matrix”, “Stray (video game)”, “League of Extraordinary Gentlemen”, “The Umbrella Academy”,
“Red Dead Redemption”, “Outer Worlds”, “Shadow of the Colossus”, “Titanfall”, “Horizon Zero Dawn”,
“Silent Hill”, “Genshin Impact”, “Warframe”, “Neon Genesis Evangelion”, “Trigun”,
“Cowboy Bebop”, “Code Geass”, “Akira”, “Samurai Champloo”, “Soul Eater”,
“The Princess Bride”, “The Incredibles”, “Kung Fu Panda”, “Howl’s Moving Castle”,
“Studio Ghibli Universe”, “Wreck-It Ralph”, “Inside Out”, “Frozen”, “Big Hero 6”,
“Frozen II”, “Zootopia”, “Encanto”, “Toy Story”, “Lilo & Stitch”, “Treasure Planet”,
“Atlantis: The Lost Empire”, “Mulan”, “Hercules (Disney)”, “The Road to El Dorado”,
“Anastasia”, “The Secret of NIMH”, “The Land Before Time”, “The Iron Giant”,
“Rick and Morty”, “Futurama”, “Disenchantment”, “Bojack Horseman”, “Archer”,
“The Dragon Prince”, “The Legend of Korra”, “Kipo and the Age of Wonderbeasts”,
“Infinity Train”, “Adventure Time”, “Regular Show”, “Amazing World of Gumball”,
“Gravity Falls”, “Steven Universe Future”, “OK K.O.! Let’s Be Heroes”,
“Total Drama Island”, “Camp Lazlo”, “Phineas and Ferb”, “Kim Possible”,
“Ben 10”, “Teen Titans”, “Young Justice”, “Justice League Unlimited”,
“Static Shock”, “Batman: The Animated Series”, “Superman: The Animated Series”,
“Gargoyles”, “X-Men: The Animated Series”, “Spider-Man (1994 animated series)”,
“Batman Beyond”, “Scooby-Doo”, “Looney Tunes”, “Tom and Jerry”, “The Flintstones”,
“The Jetsons”, “Animaniacs”, “Pinky and the Brain”, “DuckTales (original)”,
“Chip ‘n Dale: Rescue Rangers”, “Darkwing Duck”, “TailSpin”, “Gargoyles”,
“Bonkers”, “The Magic School Bus”, “Arthur”, “Clifford the Big Red Dog”,
“Bluey”, “Peppa Pig”, “Dora the Explorer”, “Paw Patrol”, “Octonauts”,
“Caillou”, “Sesame Street”, “Barney & Friends”, “Teletubbies”,
“The Hunger Games”, “Twilight”, “The Avengers (MCU)”, “Black Panther”, “Iron Man”, “Captain America”,
“Thor”, “Doctor Strange”, “Guardians of the Galaxy”, “Shang-Chi”, “Spider-Man (Tom Holland series)”,
“The Amazing Spider-Man (Andrew Garfield series)”, “Spider-Man (Sam Raimi trilogy)”, “The X-Men”,
“Deadpool”, “The Fantastic Four”, “Wonder Woman”, “Aquaman”, “The Justice League”, “The Flash (DCU)”,
“Man of Steel”, “The Dark Knight Trilogy”, “Joker (2019)”, “The Batman (2022)”, “Shazam!”,
“Birds of Prey”, “Suicide Squad”, “Harley Quinn”, “The Matrix”, “John Wick”, “Mad Max: Fury Road”,
“Blade Runner 2049”, “Inception”, “Interstellar”, “Tenet”, “Dune (2021)”, “The Lord of the Rings”,
“The Hobbit”, “The Chronicles of Narnia”, “The Twilight Saga”, “The Divergent Series”, “The Maze Runner”,
“The Fault in Our Stars”, “Me Before You”, “The Notebook”, “Titanic”, “La La Land”,
“The Great Gatsby (2013)”, “The Perks of Being a Wallflower”, “The Breakfast Club”, “Ferris Bueller’s Day Off”,
“Clueless”, “Legally Blonde”, “Mean Girls”, “Pitch Perfect”, “The Devil Wears Prada”,
“Crazy Rich Asians”, “To All the Boys I’ve Loved Before”, “The Kissing Booth”,
“The Princess Diaries”, “Enchanted”, “Maleficent”, “Sleeping Beauty (Disney)”, “Beauty and the Beast”,
“Cinderella (live-action)”, “Snow White and the Huntsman”, “Frozen”, “Moana”, “Tangled”, “The Little Mermaid”,
“Aladdin”, “Mulan”, “Pocahontas”, “Hercules (Disney)”, “The Hunchback of Notre Dame”, “Raya and the Last Dragon”,
“The Incredibles”, “Big Hero 6”, “Toy Story”, “Finding Nemo”, “Monsters, Inc.”, “Cars”,
“The Good Dinosaur”, “Soul”, “Turning Red”, “Coco”, “Encanto”, “Zootopia”,
“Wreck-It Ralph”, “Frozen II”, “How to Train Your Dragon”, “Kung Fu Panda”, “Shrek”,
“The Secret Life of Pets”, “Despicable Me”, “The Minions”, “Ice Age”, “Rio”, “The Lego Movie”,
“Zeus (Greek mythology)”, “Hera (Greek mythology)”, “Poseidon (Greek mythology)”, “Hades (Greek mythology)”,
“Athena (Greek mythology)”, “Apollo (Greek mythology)”, “Artemis (Greek mythology)”, “Ares (Greek mythology)”,
“Aphrodite (Greek mythology)”, “Hermes (Greek mythology)”, “Hephaestus (Greek mythology)”,
“Demeter (Greek mythology)”, “Persephone (Greek mythology)”, “Dionysus (Greek mythology)”,
“Hercules (Greek mythology)”, “Achilles (Greek mythology)”, “Odysseus (Greek mythology)”,
“Penelope (Greek mythology)”, “Orpheus and Eurydice”, “Jason and the Argonauts”,
“Medea (Greek mythology)”, “Theseus and the Minotaur”, “Icarus and Daedalus”,
“The Titans (Greek mythology)”, “Cronus (Greek mythology)”, “Rhea (Greek mythology)”
];

const historicalTimePeriods = [
“Prehistoric Era”, “Paleolithic Era”, “Mesolithic Era”, “Neolithic Era”, “Bronze Age”, “Iron Age”,
“Ancient Egypt”, “Old Kingdom (Ancient Egypt)”, “Middle Kingdom (Ancient Egypt)”, “New Kingdom (Ancient Egypt)”,
“Sumerian Period”, “Akkadian Empire”, “Babylonian Empire”, “Hittite Empire”, “Assyrian Empire”,
“Ancient Greece”, “Mycenaean Greece”, “Dark Ages (Greece)”, “Classical Greece”, “Hellenistic Period”,
“Ancient Rome”, “Roman Republic”, “Roman Empire”, “Pax Romana”, “Late Antiquity”,
“Fall of the Western Roman Empire”, “Byzantine Empire”, “Medieval Period (Middle Ages)”, “Early Middle Ages”,
“High Middle Ages”, “Late Middle Ages”, “Viking Age”, “Carolingian Empire”, “Islamic Golden Age”, “Crusades”,
“Mongol Empire”, “Renaissance”, “Italian Renaissance”, “Northern Renaissance”, “Age of Discovery”,
“Aztec Empire”, “Inca Empire”, “Ming Dynasty”, “Reformation”, “Scientific Revolution”, “Age of Enlightenment”,
“Thirty Years’ War”, “English Civil War”, “Colonial America”, “Industrial Revolution”, “American Revolution”,
“French Revolution”, “Napoleonic Wars”, “Victorian Era”, “Meiji Restoration”, “American Civil War”,
“Gilded Age”, “Progressive Era”, “World War I”, “Russian Revolution”, “Interwar Period”, “Great Depression”,
“World War II”, “Cold War”, “Korean War”, “Vietnam War”, “Civil Rights Movement”, “Space Race”,
“Fall of the Berlin Wall”, “End of the Cold War”, “21st Century”, “War on Terror”, “Arab Spring”,
“Ancient India (Vedic Period)”, “Maurya Empire”, “Gupta Empire”, “Harappan Civilization (Indus Valley)”,
“Tang Dynasty”, “Song Dynasty”, “Qing Dynasty”, “Tokugawa Shogunate (Edo Period)”, “Samurai Era (Feudal Japan)”,
“Pre-Columbian Americas”, “Black Death”, “Ottoman Empire”, “Safavid Empire”, “Mughal Empire”,
“Zulu Kingdom”, “Age of Imperialism”, “Decolonization of Africa”, “Roaring Twenties”, “Stone Age”,
“Copper Age”, “Atlantic Slave Trade”, “Punic Wars”, “Age of Piracy”, “Irish Potato Famine”, “Gold Rush”,
“Information Age”, “Digital Revolution”, “Ice Age (Pleistocene Epoch)”, “Rise of Homo Sapiens”,
“Mesopotamian Civilization”, “Persian Empire (Achaemenid Empire)”, “Battle of Thermopylae”,
“Golden Age of Athens”, “Peloponnesian War”, “Rise of Sparta”, “Etruscan Civilization”,”Prometheus (Greek mythology)”, “Pandora (Greek mythology)”, “Narcissus and Echo”,
“The Fates (Greek mythology)”, “The Muses (Greek mythology)”, “Medusa (Greek mythology)”,
“The Gorgons (Greek mythology)”, “The Cyclops (Greek mythology)”, “The Sirens (Greek mythology)”,
“Pegasus (Greek mythology)”, “Chiron (Greek mythology)”, “Cerberus (Greek mythology)”,
“The Sphinx (Greek mythology)”, “The Chimera (Greek mythology)”, “Fenrir (Norse mythology)”,
“Odin (Norse mythology)”, “Thor (Norse mythology)”, “Loki (Norse mythology)”, “Freya (Norse mythology)”,
“Frigg (Norse mythology)”, “Baldur (Norse mythology)”, “Tyr (Norse mythology)”, “Heimdall (Norse mythology)”,
“Hel (Norse mythology)”, “The Valkyries (Norse mythology)”, “Ymir (Norse mythology)”,
“Korean Three Kingdoms Period”, “Golden Age of Timbuktu”, “Suez Crisis”, “Fall of Constantinople”,
“Era of the Pharaohs”, “Rise of Carthage”, “Zhou Dynasty”, “Shang Dynasty”, “Warring States Period (China)”,
“Ancient Mayan Civilization”, “Classical Mesoamerica”, “Nasca Period (Peru)”, “Ancestral Puebloan Era”,
“Ancient Nubian Kingdoms”, “Kingdom of Kush”, “Axumite Empire”, “Medieval Scotland”,
“Medieval Wales”, “Norman Conquest of England”, “Feudal Japan”, “Age of the Samurai”,
“Plantagenet Dynasty”, “The Hundred Years’ War”, “Wars of the Roses”, “Hanseatic League Dominance”,
“Italian City-States Era”, “Golden Age of Islam”, “Mali Empire”, “Hanseatic Renaissance”,
“Rise of the Khmer Empire”, “Angkor Wat Construction”, “Rise of the Ashanti Empire”, “Colonization of Australia”,
“Zulu Resistance”, “Edo Period Isolationism”, “Taiping Rebellion”, “Boxer Rebellion”,
“Expansion of the British Empire”, “French Colonial Empire”, “Spanish Conquistadors Era”,
“Portuguese Age of Exploration”, “Dutch East Indies Period”, “Ming Treasure Voyages”,
“Rise of the Safavid Empire”, “The Persian Renaissance”, “The Iberian Union”, “Danish Empire”,
“Rise of Kievan Rus”, “Fall of the Teutonic Knights”, “Prussian Expansion”, “Holy Roman Empire Peak”,
“Caribbean Piracy Era”, “American Frontier Era”, “California Gold Rush”, “Mexican-American War”,
“Haitian Revolution”, “Bolivarian Wars of Independence”, “Spanish-American War”,
“Panama Canal Construction”, “Great Migration in America”, “Prohibition Era”, “Dust Bowl Period”,
“Rise of Nazi Germany”, “The Blitz in London”, “D-Day Invasion”, “Atomic Age Begins”,
“Post-War Reconstruction”, “Decolonization of India”, “Partition of Palestine”,
“Cold War Proxy Wars”, “Cuban Missile Crisis”, “Berlin Airlift”, “Apollo Space Program”,
“Watergate Scandal”, “Iran Hostage Crisis”, “The Falklands War”, “Collapse of the Soviet Union”,
“Rwandan Genocide”, “Yugoslav Wars”, “Rise of the European Union”, “Dot-Com Bubble”,
“9/11 and Its Aftermath”, “Global Financial Crisis (2008)”, “COVID-19 Pandemic”, “Ongoing Climate Crisis”,
“China’s Belt and Road Initiative”, “Digital Transformation Era”, “AI Revolution”, “Exploration of Mars”,
“21st Century Social Movements”, “Arab-Israeli Conflicts”, “Kashmir Disputes”, “South China Sea Tensions”,
“Rise of Blockchain and Cryptocurrency”, “Post-Colonial Africa”, “Pacific War (WWII)”, “Rise of the United Nations”,
“Advent of the Green Energy Movement”, “Revolutions of 1848”, “German Unification”, “Italian Unification”,
“Papal States Fall”, “Austro-Hungarian Empire Peak”, “Russo-Japanese War”, “First Balkan War”,
“Second Balkan War”, “Turkish War of Independence”, “Establishment of NATO”
];

const interestingHistoricalFigures = [
“Leonardo da Vinci”, “Cleopatra VII”, “Julius Caesar”, “Albert Einstein”, “Marie Curie”, “Alexander the Great”,
“Genghis Khan”, “Joan of Arc”, “Napoleon Bonaparte”, “Queen Elizabeth I”, “Mahatma Gandhi”, “Winston Churchill”,
“Abraham Lincoln”, “Harriet Tubman”, “Martin Luther King Jr.”, “Theodore Roosevelt”, “Frida Kahlo”,
“Nikola Tesla”, “Ada Lovelace”, “Socrates”, “Plato”, “Aristotle”, “Galileo Galilei”, “Isaac Newton”,
“Hatshepsut”, “Catherine the Great”, “William Shakespeare”, “Oscar Wilde”, “Ludwig van Beethoven”,
“Wolfgang Amadeus Mozart”, “Salvador Dalí”, “Vincent van Gogh”, “Pablo Picasso”, “Emperor Meiji”,
“Attila the Hun”, “Sun Tzu”, “Marco Polo”, “Christopher Columbus”, “Ferdinand Magellan”, “Amerigo Vespucci”,
“George Washington”, “Benjamin Franklin”, “Thomas Jefferson”, “Rosa Parks”, “Florence Nightingale”,
“Emmeline Pankhurst”, “Malcolm X”, “Che Guevara”, “Simon Bolivar”, “Nelson Mandela”, “Eleanor Roosevelt”,
“Elizabeth Blackwell”, “Jane Austen”, “Mary Shelley”, “Charles Darwin”, “Louis Pasteur”, “Sigmund Freud”,
“Karl Marx”, “Frederick Douglass”, “Toussaint Louverture”, “Confucius”, “Qin Shi Huang”, “Emperor Akihito”,
“Amelia Earhart”, “Yuri Gagarin”, “Neil Armstrong”, “Grace Hopper”, “Alan Turing”, “Jackie Robinson”,
“Harun al-Rashid”, “Shaka Zulu”, “Vlad the Impaler”, “Queen Victoria”, “Geronimo”, “Empress Dowager Cixi”,
“Tecumseh”, “Simon Wiesenthal”, “John Locke”, “Thomas Paine”, “Voltaire”, “Mary Wollstonecraft”,
“Zora Neale Hurston”, “Langston Hughes”, “Ella Fitzgerald”, “Billie Holiday”, “Miles Davis”, “Charlie Parker”,
“Sitting Bull”, “Chief Joseph”, “Alexander Hamilton”, “Aaron Burr”, “Boudica”, “Nefertiti”, “Marcus Aurelius”,
“Ramses II”, “Tutankhamun”, “Sun Yat-sen”, “Ho Chi Minh”, “Fidel Castro”, “Malala Yousafzai”,
“Anne Frank”, “Olympe de Gouges”, “Emily Dickinson”, “Edgar Allan Poe”, “Beatrix Potter”, “Mark Twain”,
“Louisa May Alcott”, “Virginia Woolf”, “Simone de Beauvoir”, “Jean-Paul Sartre”, “Albert Camus”, “Friedrich Nietzsche”,
“Arthur Schopenhauer”, “Immanuel Kant”, “John Stuart Mill”, “Baruch Spinoza”, “David Hume”, “Jean-Jacques Rousseau”,
“Georg Wilhelm Friedrich Hegel”, “William Blake”, “Homer”, “Euripides”, “Sophocles”, “Aeschylus”,
“Antonie van Leeuwenhoek”, “Gregor Mendel”, “Rachel Carson”, “Chien-Shiung Wu”, “Rosalind Franklin”, “Barbara McClintock”,
“James Clerk Maxwell”, “Erwin Schrödinger”, “Werner Heisenberg”, “Richard Feynman”, “Max Planck”, “Enrico Fermi”,
“Claude Monet”, “Edgar Degas”, “Henri Matisse”, “Paul Cézanne”, “Gustav Klimt”, “Henri Rousseau”,
“Edvard Munch”, “Marcel Duchamp”, “René Magritte”, “Georges Seurat”, “Francisco Goya”, “Diego Rivera”,
“Mary Anning”, “Elizabeth Cady Stanton”, “Clara Barton”, “Sojourner Truth”, “Sacagawea”, “Josephine Baker”,
“Edith Cavell”, “George Orwell”, “T.S. Eliot”, “James Joyce”, “Franz Kafka”, “Virginia Apgar”,
“Lise Meitner”, “Maria Goeppert Mayer”, “Gertrude Elion”, “Linus Pauling”, “Carl Sagan”, “Stephen Hawking”,
“Katherine Johnson”, “Margaret Hamilton”, “Jane Goodall”, “Dian Fossey”, “Carl Linnaeus”, “Alexander Fleming”,
“Alfred Wegener”, “Charles Babbage”, “Hedy Lamarr”, “Wangari Maathai”, “Desmond Tutu”, “Aung San Suu Kyi”,
“Indira Gandhi”, “Golda Meir”, “Margaret Thatcher”, “Benazir Bhutto”, “Angela Merkel”, “Jacinda Ardern”,
“John F. Kennedy”, “Barack Obama”, “Theodore Herzl”, “David Ben-Gurion”, “Nelson Rockefeller”, “John D. Rockefeller”,
“Andrew Carnegie”, “Cornelius Vanderbilt”, “Henry Ford”, “Eli Whitney”, “George Eastman”, “Philo Farnsworth”,
“Nikolaus Otto”, “Alexander Graham Bell”, “Guglielmo Marconi”, “Steve Jobs”, “Bill Gates”, “Elon Musk”,
“Jeff Bezos”, “Warren Buffett”, “Howard Hughes”, “Buzz Aldrin”, “Mae Jemison”, “Valentina Tereshkova”,
“Pythagoras”, “Euclid”, “Archimedes”, “Leonhard Euler”, “Carl Friedrich Gauss”, “Ada Yonath”, “Finn MacCool (Irish mythology)”, “The Tuatha Dé Danann (Irish mythology)”, “Brigid (Irish mythology)”,
“Dagda (Irish mythology)”, “Lugh (Irish mythology)”, “Set (Egyptian mythology)”,
“Osiris (Egyptian mythology)”, “Isis (Egyptian mythology)”, “Horus (Egyptian mythology)”,
“Anubis (Egyptian mythology)”, “Ra (Egyptian mythology)”, “Thoth (Egyptian mythology)”,
“Bastet (Egyptian mythology)”, “Sekhmet (Egyptian mythology)”, “Hathor (Egyptian mythology)”,
“Amun (Egyptian mythology)”, “Amaterasu (Japanese mythology)”, “Susanoo (Japanese mythology)”,
“Tsukuyomi (Japanese mythology)”, “Izanagi and Izanami (Japanese mythology)”,
“Kitsune (Japanese mythology)”, “Tengu (Japanese mythology)”, “Ryujin (Japanese mythology)”,
“Quetzalcoatl (Aztec mythology)”, “Huitzilopochtli (Aztec mythology)”, “Tezcatlipoca (Aztec mythology)”,
“Xipe Totec (Aztec mythology)”, “Viracocha (Inca mythology)”, “Inti (Inca mythology)”,
“Maria Montessori”, “Helen Keller”, “Eleanor of Aquitaine”, “Isabella of Castile”, “Matthias Corvinus”, “Robert the Bruce”
];

const storyArchetypes = [
“Hero’s journey to redemption”,
“Forbidden love against the odds”,
“The tragic downfall of a hero”,
“The rise of an underdog to greatness”,
“A quest to uncover hidden truth”,
“The battle between good and evil”,
“The reluctant hero’s call to adventure”,
“The betrayal that shatters trust”,
“A stranger changes everything”,
“A rivalry that pushes both to the brink”,
“A sacrifice for the greater good”,
“The journey to self-discovery”,
“A rebellion against a corrupt power”,
“A race against time to prevent disaster”,
“An ordinary person thrust into extraordinary circumstances”,
“A community banding together to face a threat”,
“The forbidden pursuit of dangerous knowledge”,
“A tragic romance doomed from the start”,
“The rise and fall of a powerful figure”,
“A mystery that unravels dark secrets”,
“The unlikely friendship that changes lives”,
“The haunted past returning to the present”,
“A battle for survival in a hostile world”,
“A journey to recover something lost”,
“The triumph of hope against despair”,
“The reconciliation of a broken relationship”,
“The pursuit of justice against overwhelming odds”,
“The exploration of a strange and unknown world”,
“A quest to fulfill an ancient prophecy”,
“A duel of wits between equals”,
“A war that divides families and friends”,
“A vision of a utopia turned dystopia”,
“A test of loyalty in the face of temptation”,
“A mentor guiding a reluctant apprentice”,
“The slow corruption of a virtuous soul”,
“The hunt for a dangerous fugitive”,
“The redemption of a villain seeking forgiveness”,
“The journey to rebuild after loss”,
“The transformation from cowardice to bravery”,
“A clash of cultures that leads to understanding”,
“The journey into the unknown to find meaning”,
“The outcast fighting for a place in society”,
“The bond between a human and a creature”,
“The conflict between duty and desire”,
“A team overcoming differences to achieve a goal”,
“The exploration of love in unlikely circumstances”,
“A war of ideals between generations”,
“The clash of destiny and free will”,
“The discovery of hidden strength within”,
“The quest to avenge a fallen loved one”,
“A forbidden journey into sacred lands”,
“The awakening of a hidden power”,
“The rise of a leader in a time of chaos”,
“The rebellion that sparks a revolution”,
“The stranger with a mysterious past”,
“A family torn apart by secrets”,
“The fight to protect a vulnerable group”,
“The creation of a legacy for future generations”,
“The search for an elusive treasure”,
“The battle to resist a powerful temptation”,
“The struggle to break free from oppression”,
“A discovery that changes the world”,
“The journey to forgive oneself”,
“The rise of hope in a seemingly hopeless world”,
“The quest to preserve a dying world”,
“The fight against an unstoppable force”,
“A journey to prove one’s worth”,
“The tragic cost of ambition”,
“The emergence of a hero from unlikely origins”,
“The reunion of a family after years apart”,
“The pursuit of freedom in a controlled society”,
“The discovery of a hidden enemy within”,
“The search for identity in a fractured world”,
“A return to the homeland after exile”,
“The test of faith in a time of crisis”,
“The struggle to rebuild a shattered world”,
“A battle to protect the innocent from harm”,
“The bond formed through shared adversity”,
“The journey to conquer one’s fears”,
“A journey to redeem a broken legacy”,
“The pursuit of a dream against overwhelming odds”,
“The quest to uncover a forgotten history”,
“A confrontation with the ghosts of the past”,
“The rise of a new world from the ashes of the old”,
“The pursuit of love in a fractured world”,
“The choice between love and duty”,
“The rise of an antihero against a corrupt system”,
“The search for belonging in a hostile world”,
“The fight to protect a fragile peace”,
“The rediscovery of a lost art or craft”,
“The clash between science and superstition”,
“The awakening of a society to its own flaws”
];

const fanFictionPremises = [
“Enemies forced to work together”,
“Alternate universe where roles are reversed”,
“Character gets transported to another fandom”,
“Secret love letters cause chaos”,
“Rival teams compete in a tournament”,
“Villain joins the heroes’ side”,
“Time loop forces character growth”,
“Unexpected family reunion reveals secrets”,
“Magical artifact creates alternate realities”,
“Side character becomes the unexpected hero”,
“Character wakes up with no memory of their life”,
“A magical wish brings a beloved character back to life”,
“Rivalry turns into unexpected romance”,
“Characters are trapped in a shared dream world”,
“A character discovers a hidden prophecy about themselves”,
“An ancient curse forces characters to relive a tragedy”,
“A character pretends to be their counterpart in another universe”,
“A prank war spirals out of control”,
“The main character gets stuck in the antagonist’s body”,
“A villain’s diary reveals their true motives”,
“The heroes’ mentor hides a dark secret”,
“Characters must protect a fragile truce between factions”,
“The hero is framed for a crime and must clear their name”,
“A mysterious stranger from the future warns of an impending threat”,
“A character’s powers are transferred to someone unexpected”,
“A forgotten friendship resurfaces during a crisis”,
“A shared enemy forces rival groups to unite”,
“A powerful character goes missing, and everyone suspects foul play”,
“An accidental love potion causes mayhem”,
“A competition for leadership divides the group”,
“A time traveler alters the past, creating a new timeline”,
“The antagonist tries to atone for their actions by helping the heroes”,
“A festival reveals hidden truths about the characters”,
“A mysterious illness threatens the group’s survival”,
“The group is forced to participate in a dangerous game”,
“A character discovers they are not who they thought they were”,
“The villain switches sides but isn’t trusted by the heroes”,
“A side character accidentally becomes the leader”,
“A magical storm traps characters in a single location”,
“A prophecy names a surprising character as the chosen one”,
“The group must survive on an isolated island”,
“A character is granted the ability to relive one day over and over”,
“A mysterious artifact grants a character immense power”,
“A character discovers they have a long-lost sibling”,
“The villain and hero are forced to swap places”,
“A misunderstanding causes the heroes to turn against each other”,
“A character from the past reappears with a warning”,
“The main character is cursed to tell the truth, no matter what”,
“A character gains the ability to read minds, with unintended consequences”,
“A villain kidnaps a hero and reveals a shocking truth”,
“The group discovers a secret society operating behind the scenes”,
“The antagonist falls in love with the protagonist”,
“A character’s greatest fear comes to life”,
“The group must solve a mystery to prevent a catastrophe”,
“A character gains control of time and must use it wisely”,
“The group is split into two opposing factions”,
“A character is given a chance to rewrite their past”,
“A secret weapon falls into the wrong hands”,
“A villain is revealed to have a tragic backstory”,
“The heroes are captured and must rely on their wits to escape”,
“A character is transported to a world where they are the villain”,
“A character discovers a hidden power they can’t control”,
“A forbidden romance between members of opposing factions”,
“A magical festival reveals the group’s true desires”,
“A character’s double life is exposed”,
“A mysterious benefactor offers the group assistance”,
“A character wakes up in an alternate timeline”,
“The group must retrieve a stolen relic before it’s too late”,
“A prophecy foretells the rise of a new villain”,
“A character fakes their death to uncover a conspiracy”,
“A forgotten ally returns to help in a time of need”,
“The group discovers a hidden city with dangerous secrets”,
“The antagonist is actually a hero in disguise”,
“A villain manipulates the group into turning on each other”,
“A character’s memories are erased, but fragments begin to return”,
“A character must confront the consequences of a wish they made”,
“The group must navigate a world that’s entirely underwater”,
“A new member joins the group and causes tension”,
“The group is forced to play a game where the stakes are life and death”,
“A villain offers to help the heroes, but at a price”,
“A character is haunted by visions of an impending disaster”,
“A forbidden spell unleashes chaos”,
“A competition to decide the fate of the world”,
“The group must protect a young child with mysterious powers”,
“A character is turned into an animal and must find a way back”,
“A character wakes up with no powers and must adapt”,
“The group discovers a hidden prophecy that changes everything”,
“The group must infiltrate the enemy’s stronghold in disguise”,
“A character accidentally reveals their secret identity”,
“The antagonist saves the hero from certain death”,
“The group discovers they’ve been pawns in a larger scheme”,
“A rival group challenges the heroes for control”,
“A magical storm forces characters to face their fears”
];
const popCharactersForAltHistory = [
“Homer Simpson (The Simpsons)”,
“Peter Griffin (Family Guy)”,
“Michael Scott (The Office)”,
“Dwight Schrute (The Office)”,
“Ron Swanson (Parks and Recreation)”,
“Leslie Knope (Parks and Recreation)”,
“Stewie Griffin (Family Guy)”,
“Cartman (South Park)”,
“Rick Sanchez (Rick and Morty)”,
“Morty Smith (Rick and Morty)”,
“Jerry Smith (Rick and Morty)”,
“BoJack Horseman (BoJack Horseman)”,
“Todd Chavez (BoJack Horseman)”,
“Mr. Peanutbutter (BoJack Horseman)”,
“Velma Dinkley (Scooby-Doo)”,
“Shaggy Rogers (Scooby-Doo)”,
“Daphne Blake (Scooby-Doo)”,
“Fred Jones (Scooby-Doo)”,
“Scooby-Doo (Scooby-Doo)”,
“SpongeBob SquarePants (SpongeBob SquarePants)”,
“Patrick Star (SpongeBob SquarePants)”,
“Squidward Tentacles (SpongeBob SquarePants)”,
“Mr. Krabs (SpongeBob SquarePants)”,
“Sandy Cheeks (SpongeBob SquarePants)”,
“Sheldon Plankton (SpongeBob SquarePants)”,
“Jake the Dog (Adventure Time)”,
“Finn the Human (Adventure Time)”,
“Marceline the Vampire Queen (Adventure Time)”,
“Ice King (Adventure Time)”,
“Princess Bubblegum (Adventure Time)”,
“Bart Simpson (The Simpsons)”,
“Lisa Simpson (The Simpsons)”,
“Maggie Simpson (The Simpsons)”,
“Bender (Futurama)”,
“Fry (Futurama)”,
“Leela (Futurama)”,
“Zoidberg (Futurama)”,
“Professor Farnsworth (Futurama)”,
“Kermit the Frog (The Muppets)”,
“Miss Piggy (The Muppets)”,
“Gonzo (The Muppets)”,
“Fozzie Bear (The Muppets)”,
“Statler and Waldorf (The Muppets)”,
“Elmo (Sesame Street)”,
“Cookie Monster (Sesame Street)”,
“Big Bird (Sesame Street)”,
“Oscar the Grouch (Sesame Street)”,
“Ernie (Sesame Street)”,
“Bert (Sesame Street)”,
“Barney the Dinosaur (Barney & Friends)”,
“Blue (Blue’s Clues)”,
“Steve (Blue’s Clues)”,
“Dora (Dora the Explorer)”,
“Boots (Dora the Explorer)”,
“Swiper (Dora the Explorer)”,
“George Costanza (Seinfeld)”,
“Elaine Benes (Seinfeld)”,
“Cosmo Kramer (Seinfeld)”,
“Jerry Seinfeld (Seinfeld)”,
“Newman (Seinfeld)”,
“Chandler Bing (Friends)”,
“Monica Geller (Friends)”,
“Ross Geller (Friends)”,
“Rachel Green (Friends)”,
“Phoebe Buffay (Friends)”,
“Joey Tribbiani (Friends)”,
“Sheldon Cooper (The Big Bang Theory)”,
“Leonard Hofstadter (The Big Bang Theory)”,
“Penny (The Big Bang Theory)”,
“Howard Wolowitz (The Big Bang Theory)”,
“Raj Koothrappali (The Big Bang Theory)”,
“Jim Halpert (The Office)”,
“Pam Beesly (The Office)”,
“Creed Bratton (The Office)”,
“Kevin Malone (The Office)”,
“Jan Levinson (The Office)”,
“Tony Stark (Iron Man, MCU)”,
“Steve Rogers (Captain America, MCU)”,
“Loki (Thor, MCU)”,
“Bruce Banner (The Hulk, MCU)”,
“Thor (MCU)”,
“Natasha Romanoff (Black Widow, MCU)”,
“Hawkeye (MCU)”,
“Deadpool (Deadpool)”,
“Wolverine (X-Men)”,
“Magneto (X-Men)”,
“Charles Xavier (X-Men)”,
“Jean Grey (X-Men)”,
“Mystique (X-Men)”,
“Hannibal Lecter (Silence of the Lambs)”,
“Forrest Gump (Forrest Gump)”,
“Ellen Ripley (Alien)”,
“Sarah Connor (Terminator)”,
“John McClane (Die Hard)”,
“Marty McFly (Back to the Future)”,
“Doc Brown (Back to the Future)”
];

//fanFictionPremises
//storyArchetypes
//fanficTopics
//interestingHistoricalFigures
//historicalTimePeriods
//popCharactersForAltHistory
let prompt1Template = `Create a clever intriguing alternate history concept from the ${getRandomString(historicalTimePeriods)}. Include a ${getRandomString(storyArchetypes)} archetype in the concept. What short and long-term impact would it have?`;

let prompt2Template = `Based on the user prompt plan out a fan-fiction alt-history story that includes ${getRandomString(fanficTopics)}, and ${getRandomString(interestingHistoricalFigures)} or ${getRandomString(interestingHistoricalFigures)} or ${getRandomString(popCharactersForAltHistory)}. The main plot is our alternate history story but it have one b-story. The story should event-driven. The sequence of events is crucial to good story. Plan a compelling suprising event-driven story. Be brief but specific.`;

// Return Results
return { prompt1: prompt1Template, prompt2: prompt2Template };


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *