# GenStory - Full LLMs Usage Documentation ## Introduction GenStory (https://www.genstory.app) is an AI-powered story generation platform that transforms user ideas into beautifully illustrated digital storybooks. This comprehensive document provides detailed information about AI models, technologies, services, and integration methods used by GenStory. ## Platform Pages and Documentation - [Home](https://www.genstory.app): Main platform homepage and story discovery - [Story Generate](https://www.genstory.app/story-generate): AI story generation tool for text and image inputs - [Gemini Storybook](https://www.genstory.app/gemini-storybook): Dedicated SEO landing page for AI storybook generation powered by Google Gemini technology - [Story Library](https://www.genstory.app/stories): Browse and explore published AI-generated storybooks - [Pricing](https://www.genstory.app/pricing): View subscription plans, pricing tiers, and credit options - [My Credits](https://www.genstory.app/my-credits): Manage your account credits and usage - [My Orders](https://www.genstory.app/my-orders): View your purchase history and order details - [Terms of Service](https://www.genstory.app/terms-of-service): Service terms and conditions - [Privacy Policy](https://www.genstory.app/privacy-policy): Privacy policy and data handling practices - [LLMs Documentation](https://www.genstory.app/llms.txt): Brief AI usage documentation ## Platform Overview GenStory is a complete storybook creation platform that leverages advanced AI technology to create: - Complete story narratives from text prompts - Illustrations and artwork for storybooks - Interactive story experiences with page-turning effects - Multi-format digital storybook outputs - Multi-language support for global users ## AI Models and Services ### Text Generation AI **Model:** Google Gemini - **Provider:** Google - **Purpose:** Story generation, narrative creation, character development, and dialogue generation - **API Integration:** Google Gemini API - **Capabilities:** - Generate complete story narratives with engaging plots - Create character descriptions, development arcs, and dialogues - Develop story plots, themes, and narrative structures - Support multiple languages for global audiences - Process user prompts and generate coherent story text - **Usage Patterns:** - User submits text prompts describing story ideas, characters, or themes - AI generates complete story narratives with proper structure - Content is automatically formatted and prepared for display - Stories are saved with metadata for user retrieval ### Image Generation AI **Model:** Google Gemini - **Provider:** Google - **Purpose:** Illustration and artwork generation for storybooks - **API Integration:** Google Gemini API - **Capabilities:** - Create book covers and scene illustrations - Generate character artwork and visual elements - Design visual storytelling elements matching narratives - Produce high-quality artwork in various art styles - Create illustrations for each scene of the story - **Usage Patterns:** - Generate cover images based on story themes and genres - Create scene-by-scene illustrations matching story progression - Produce artwork that matches story narratives and character descriptions - Automatically resize and optimize images for web display ## Content Generation Process ### Story Creation Workflow 1. **User Input:** User provides story prompt, preferences, and style selections 2. **AI Processing:** Google Gemini AI generates story text and visual suggestions 3. **Content Generation:** AI creates illustrations matching the narrative 4. **Formatting:** Generated content is formatted and prepared for interactive display 5. **Publication:** Story is saved with metadata and made available to users 6. **Sharing:** Users can share their stories through links or social media ### Technology Stack - **Frontend Framework:** Next.js, React, TypeScript - **Natural Language Processing:** Google Gemini AI for understanding and generating text - **Image Generation AI:** Google Gemini AI for creating illustrations - **Content Management:** PostgreSQL database for organizing and storing generated content - **Cloud Infrastructure:** Vercel for scalable content generation and hosting - **Payment Processing:** Creem payment integration for subscriptions and credits - **Authentication:** NextAuth.js for secure user authentication ## Data Handling ### User Data - Story prompts and generated content are stored securely - User preferences and settings are maintained - Generated stories are associated with user accounts ### AI Processing - Prompts are processed by AI models in real-time - Generated content is stored on secure servers - Processing history is maintained for user reference ## Privacy and Security - All user data is encrypted in transit and at rest - AI processing complies with data privacy regulations - Generated content is stored securely - Users can delete their generated content at any time ## API Integration and Services GenStory integrates with multiple services to provide a complete story generation platform: - **Google Gemini API:** For text and image generation - **NextAuth.js:** For secure authentication and user management - **PostgreSQL Database:** For content storage and user data management - **Vercel Platform:** For hosting, deployment, and content delivery - **Creem Payment API:** For payment processing and subscription management - **Email Services:** For notifications and user communication ## Supported Features - **Text-to-Story Generation:** Create stories from text prompts - **Image-to-Story Generation:** Generate stories from image inputs - **Gemini Storybook Generation:** Create personalized, illustrated storybooks using Google Gemini AI with multiple art styles (cartoon, watercolor, 3D rendering, cyberpunk, oil painting, pixel art, plush texture, and more) - **Multi-language Support:** Generate stories in 45+ languages for global users - **Customizable Story Themes:** Various art styles and narrative approaches - **Interactive Story Reading:** Page-turning effects and responsive design - **Export and Sharing:** Multiple export formats and social sharing - **Credit System:** Flexible payment options for story generation - **User Dashboard:** Track generation history and manage stories ## Pricing and Subscription GenStory offers flexible pricing options: - **Free Tier:** Limited story generations - **Credit System:** Pay-as-you-go credit-based model - **Subscription Plans:** Monthly and annual subscriptions for unlimited generation - **Business Plans:** Enterprise solutions for teams and organizations ## Security and Compliance GenStory is committed to: - **Data Security:** All data encrypted in transit and at rest - **Privacy Protection:** GDPR and data privacy regulation compliance - **Transparent AI Usage:** Open documentation of AI models and processes - **User Rights:** Users can delete content and data at any time - **Ethical AI:** Responsible AI development and deployment ## Documentation Links - **Main Platform:** https://www.genstory.app - **Terms of Service:** https://www.genstory.app/terms-of-service - **Privacy Policy:** https://www.genstory.app/privacy-policy - **LLMs Documentation:** https://www.genstory.app/llms.txt - **Developer Documentation:** https://www.genstory.app/docs ## Last Updated This document is updated regularly to reflect our current AI usage and platform features. **Last Updated:** 2025-01-17 ## Contact Information For questions about AI usage, technical details, or data practices: - **Email:** support@genstory.app - **Website:** https://www.genstory.app - **Support:** Available through our website ## Attribution and Acknowledgment GenStory acknowledges the AI technologies (Google Gemini) that enable our story generation platform and is committed to ethical AI usage, transparent documentation, and continuous improvement of our services.