Skip to content

FableForgeAI-StoryEngine integrates cutting-edge AI technologies including Gemini-Pro, Hugging Face models, and Gradio interfaces to provide an immersive platform for generating stories, engaging with chatbots, and creating comic videos, showcasing the synergy of AI in creative storytelling and interactive content creation.

Notifications You must be signed in to change notification settings

Mohit6304/FableForgeAI-StoryEngine

Repository files navigation

FableForgeAI-StoryEngine

Welcome to FableForgeAI-StoryEngine, an innovative platform designed to harness the power of AI for creating engaging narratives, chat experiences, and comic videos. Built with the fusion of several advanced AI models, including Gemini-Pro from Google's generative AI suite, this project offers users a unique opportunity to interact with, and generate creative content in new and exciting ways.

Architecture

architecture

Features

FableForgeAI-StoryEngine provides a range of features across different domains of content creation:

ChatBot

  • Engage in interactive conversations with an AI-powered chatbot.
  • Utilize Gemini-Pro model for generating responses.

Story Generator

  • Generate short stories based on user inputs and uploaded images.
  • Support for text-to-speech conversion for narrating the generated stories.
  • Utilize Gemini-Pro and Gemini-Pro-Vision models for text and image-to-text generation.

Comic Video Generator

  • Create comic videos from user-provided story prompts.
  • Leverage embeddings model response and Gradio Client for video generation.

Installation

To set up FableForgeAI-StoryEngine on your local machine, follow these steps:

  1. Clone the Repository

    git clone https://github.com/Mohit6304/FableForgeAI-StoryEngine.git
    cd FableForgeAI-StoryEngine
    
  2. Install Requirements

  • Ensure you have Python 3.7+ installed on your machine.
  • Install all required libraries using pip:
    pip install -r requirements.txt
    
  1. Configure API Keys
  • Create a .env file in the root directory of the project.
  • Add the following lines to your .env file:
    GEMINI_API_KEY=your_gemini_api_key_here
    HUGGINGFACE_API_KEY=your_huggingface_access_token_here
    

Replace your_gemini_api_key_here and your_huggingface_access_token_here with your actual API keys.

Usage

To use FableForgeAI-StoryEngine, execute the main.py script:

streamlit run main.py

Upon running, you can access the web interface through your browser at the address indicated by Streamlit, typically http://localhost:8501.

Interacting with the Features

  • ChatBot: Select 'ChatBot' from the sidebar menu and start conversing with the AI by typing in your messages.
  • Story Generator: Navigate to 'Story Generator', upload an image (optional), provide some details or a theme for your story, and click on "Generate Story".
  • Comic Video Generator: Choose 'Comic Video Generator', enter the story prompt in the provided text area, and click on "Generate Comic" to create your comic video.

About

FableForgeAI-StoryEngine integrates cutting-edge AI technologies including Gemini-Pro, Hugging Face models, and Gradio interfaces to provide an immersive platform for generating stories, engaging with chatbots, and creating comic videos, showcasing the synergy of AI in creative storytelling and interactive content creation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages