This project is an AI-powered World Builder that leverages the Gemini AI model to generate descriptions for various aspects of a fictional world, including geographical features, flora and fauna, natural resources, customs, traditions, religions, and rudimentary language based on user input.
- World Generation: Enter a world concept, and the AI generates descriptions for geographical features, flora and fauna, and natural resources.
- Cultural Tapestry: Define a societal structure, and the AI generates descriptions for customs, traditions, religions, and rudimentary language reflecting that structure.
- Character Generation: Generate new characters on the basis of the previous information generated.
-
Install Dependencies:
- Make sure you have Python installed on your system.
- Install required Python packages using
pip install -r requirements.txt
.
-
Run the Application:
- Execute
streamlit run app.py
to launch the Streamlit application locally.
- Execute
-
Interact with the AI:
- Enter your world concept in the text input field.
- Receive generated descriptions for geographical features, flora and fauna, and natural resources.
- Enter a societal structure in the text input field.
- Receive generated descriptions for customs, traditions, religions, and rudimentary language reflecting that structure.
os
streamlit
google.generativeai
- Obtain an API key from Google's Generative AI platform and replace
YOUR_API_KEY
with your actual API key ingenai.configure(api_key="YOUR_API_KEY")
.
- This project is for demonstration purposes only and may require additional customization for production use.
- [Abhishek Singh](link to your profile)