I’m a big fan of mangas, comics, and webtoons, and I want to explore creating original comics tailored to fan preferences. Right now, I’m sharing the initial version of my story and character generation process.
A. User Input
-
User selects genre, writing style, and story length.
-
Defines characters with names, traits, and backgrounds.
B. Story Generation (Mistral-7B-Instruct)
-
A structured prompt generates the story.
-
The story is formatted and displayed.
-
Users can download it as a text file.
C. Character Image Generation (Stable Diffusion)
-
AI generates artistic images based on character traits.
-
Images are displayed alongside the story.
-
Users can download them.
Follow these steps to set up and run story generator Streamlit app:
-
Install Dependencies:
pip install -r requirements.txt
-
Create a .env File:
HUGGINGFACEHUB_API_TOKEN=your_huggingface_api_key_here
-
Run the Streamlit App:
streamlit run main.py
-
Interact with the App
-
Open the link displayed in the terminal (usually http://localhost:8501).
-
Customize the story settings (genre, characters, writing style, etc.).
-
Click "Generate Story" to create a unique AI-generated story.
-
View and download the generated story and images.
-