RandomAI is an AI-powered story generation and publishing platform that transforms simple topics into complete story packages with illustrations, audio narrations, and translations.
- Story Generation: Creates original sci-fi short stories from any given topic
- Editorial Review: Provides professional editorial feedback
- Social Media Teaser: Generates catchy 2-sentence teasers
- Japanese Translation: Translates stories into Japanese with cultural nuance
- Illustration Generation: Creates anime-style illustrations using DALL-E 3
- Audio Narration: Converts stories into professional audio narrations
- Streamlit: Web interface
- LlamaIndex: Workflow management
- NVIDIA AI Foundation Models: Story generation and refinement
- OpenAI:
- DALL-E 3 for illustrations
- Text-to-Speech for audio narration
- Tavily: Research and content gathering
-
Research Phase:
- Gathers initial research on the topic
- Identifies and researches three subtopics for deeper context
-
Writing Phase:
- Generates initial story draft
- Receives editorial feedback
- Refines story based on feedback
-
Production Phase:
- Creates social media teaser
- Translates to Japanese
- Generates illustration
- Creates audio narration
Locally: clone the app on your machine. create a virtual env, for example with conda. then install the neccasary packages with
pip install -r requirements.txt
after that, please create a .env file and put in API keys for NVIDIA NIM, Tavily, and OpenAI
finally, to run the app
streamlit run app.py
Some sample artifacts are inside the publication folder.