Files
CreaBook/server/dist/prompts/genreTemplates.js
2026-04-05 03:08:53 +02:00

186 lines
9.1 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.genreTemplates = void 0;
exports.genreTemplates = {
fiction: {
name: 'Fiction',
description: 'General literary fiction with focus on character development and narrative',
icon: '📖',
structure: ['Introduction', 'Rising Action', 'Climax', 'Falling Action', 'Resolution'],
prompts: {
outline: 'Create a compelling fiction outline with well-developed characters and a satisfying narrative arc.',
chapter: 'Write a chapter that advances the plot while deepening character development.'
},
defaults: {
tone: 'engaging and literary',
pov: 'third-person or first-person',
typicalLength: '70,000-100,000 words'
}
},
mystery: {
name: 'Mystery',
description: 'Puzzle-driven narratives with clues, suspects, and a satisfying reveal',
icon: '🔍',
structure: ['Crime/Discovery', 'Investigation', 'Red Herrings', 'Breakthrough', 'Confrontation', 'Resolution'],
prompts: {
outline: 'Create a mystery outline with a compelling crime, multiple suspects with motives, red herrings, and a surprising but logical solution.',
chapter: 'Write a mystery chapter that reveals clues while maintaining suspense. Balance investigation scenes with character development.'
},
defaults: {
tone: 'suspenseful and methodical',
pov: 'third-person limited or first-person detective',
typicalLength: '80,000-100,000 words'
}
},
romance: {
name: 'Romance',
description: 'Love-centered stories with emotional intimacy and satisfying relationship resolution',
icon: '💕',
structure: ['Meet Cute', 'Attraction', 'Conflict', 'Dark Moment', 'Grand Gesture', 'HEA/HFN'],
prompts: {
outline: 'Create a romance outline with compelling chemistry, meaningful conflict, and an emotionally satisfying happy-ever-after or happy-for-now ending.',
chapter: 'Write a romance chapter that develops the relationship, creates emotional depth, and builds romantic tension.'
},
defaults: {
tone: 'warm and emotionally engaging',
pov: 'dual POV or single POV',
typicalLength: '50,000-90,000 words'
}
},
scifi: {
name: 'Science Fiction',
description: 'Speculative fiction exploring technology, space, time, and their impact on humanity',
icon: '🚀',
structure: ['Status Quo', 'Inciting Discovery', 'Exploration', 'Crisis', 'Resolution/New Order'],
prompts: {
outline: 'Create a sci-fi outline with believable technology/science, compelling world-building, and exploration of big ideas about humanity and progress.',
chapter: 'Write a sci-fi chapter that balances technical concepts with character emotion. Show the impact of technology on human experience.'
},
defaults: {
tone: 'thoughtful and imaginative',
pov: 'third-person omniscient or limited',
typicalLength: '90,000-120,000 words'
}
},
fantasy: {
name: 'Fantasy',
description: 'Magical worlds with supernatural elements, quests, and epic stakes',
icon: '🐉',
structure: ['Ordinary World', 'Call to Adventure', 'Trials', 'Ordeal', 'Reward', 'Return'],
prompts: {
outline: 'Create a fantasy outline with consistent magic systems, rich world-building, memorable characters, and an epic quest or conflict.',
chapter: 'Write a fantasy chapter that showcases the magic system and world while advancing character arcs and plot.'
},
defaults: {
tone: 'epic and wondrous',
pov: 'third-person limited or multiple POV',
typicalLength: '100,000-150,000 words'
}
},
horror: {
name: 'Horror',
description: 'Fear-driven narratives designed to unsettle, frighten, and provoke dread',
icon: '👻',
structure: ['Normalcy', 'First Disturbance', 'Escalation', 'All Is Lost', 'Confrontation', 'Aftermath'],
prompts: {
outline: 'Create a horror outline with building dread, effective scares, and psychological depth. Balance tension with release.',
chapter: 'Write a horror chapter that builds atmosphere and dread. Use pacing and sensory details to create fear.'
},
defaults: {
tone: 'dark and unsettling',
pov: 'first-person or close third-person',
typicalLength: '70,000-90,000 words'
}
},
thriller: {
name: 'Thriller',
description: 'High-stakes, fast-paced narratives with constant tension and danger',
icon: '⚡',
structure: ['Status Quo', 'Threat Emerges', 'Cat and Mouse', 'All Is Lost', 'Final Confrontation'],
prompts: {
outline: 'Create a thriller outline with relentless pacing, high stakes, and a formidable antagonist. Keep tension high throughout.',
chapter: 'Write a thriller chapter with strong pacing, cliffhangers, and escalating stakes. Keep readers on edge.'
},
defaults: {
tone: 'intense and gripping',
pov: 'multiple POV or close third-person',
typicalLength: '80,000-100,000 words'
}
},
children: {
name: "Children's Book",
description: 'Age-appropriate stories with clear morals, simple language, and engaging characters',
icon: '🧸',
structure: ['Introduction', 'Problem', 'Attempts', 'Solution', 'Lesson'],
prompts: {
outline: 'Create a children\'s book outline with age-appropriate themes, simple but engaging plot, and a clear positive message or lesson.',
chapter: 'Write a children\'s book chapter with simple vocabulary, engaging rhythm, and clear imagery. Keep sentences short and lively.'
},
defaults: {
tone: 'warm and encouraging',
pov: 'third-person simple',
typicalLength: '500-1000 words (picture book) or 10,000-30,000 (chapter book)'
}
},
nonfiction: {
name: 'Non-Fiction',
description: 'Factual, informative content organized around a central topic or argument',
icon: '📚',
structure: ['Introduction/Thesis', 'Background', 'Main Arguments', 'Evidence', 'Conclusion'],
prompts: {
outline: 'Create a non-fiction outline with clear organization, logical flow, and well-supported arguments or information.',
chapter: 'Write a non-fiction chapter that is informative, well-organized, and engaging. Use examples and clear explanations.'
},
defaults: {
tone: 'authoritative and accessible',
pov: 'authoritative voice',
typicalLength: '60,000-80,000 words'
}
},
selfhelp: {
name: 'Self-Help',
description: 'Practical guidance for personal improvement and growth',
icon: '🌱',
structure: ['Problem Identification', 'Root Causes', 'Solution Framework', 'Implementation', 'Maintenance'],
prompts: {
outline: 'Create a self-help outline with actionable advice, practical exercises, and a clear transformation path for readers.',
chapter: 'Write a self-help chapter with clear takeaways, practical exercises, and motivating examples. Balance theory with action.'
},
defaults: {
tone: 'encouraging and practical',
pov: 'direct address to reader',
typicalLength: '50,000-70,000 words'
}
},
business: {
name: 'Business',
description: 'Professional insights, strategies, and case studies for business success',
icon: '💼',
structure: ['Current Landscape', 'Key Principles', 'Case Studies', 'Implementation Guide', 'Future Outlook'],
prompts: {
outline: 'Create a business book outline with actionable strategies, real-world examples, and clear frameworks readers can apply.',
chapter: 'Write a business chapter with data-driven insights, case studies, and actionable takeaways. Balance theory with practice.'
},
defaults: {
tone: 'professional and authoritative',
pov: 'expert voice',
typicalLength: '60,000-80,000 words'
}
},
memoir: {
name: 'Memoir',
description: 'Personal life stories focused on transformation and universal themes',
icon: '✍️',
structure: ['Before', 'Catalyst', 'Journey', 'Transformation', 'After/Reflection'],
prompts: {
outline: 'Create a memoir outline that weaves personal narrative with universal themes. Focus on transformation and meaning.',
chapter: 'Write a memoir chapter with vivid scenes, honest reflection, and emotional truth. Show, don\'t tell.'
},
defaults: {
tone: 'intimate and reflective',
pov: 'first-person',
typicalLength: '70,000-90,000 words'
}
}
};
//# sourceMappingURL=genreTemplates.js.map