Skip to content

Latest commit

 

History

History
72 lines (52 loc) · 1.92 KB

README.md

File metadata and controls

72 lines (52 loc) · 1.92 KB

AI 2D Game Asset Creator.

Generate 2D Game Assets utilising artificial intelligence, natural language processing and fine-tuned text-to-image deep learning models.

DashboardImage

Installation Guide

1. Install OpenAI

Install OpenAPI:

pip install openai

Add your OpenAI API key to a .env file like so: OPENAI_API_KEY=yourapikeyhere.

2. Install LangChain

Install LangChain:

pip install langchain

3. Install Streamlit

Install Streamlit:

pip install streamlit

4. Install Dotenv

Install Dotenv:

pip install python-dotenv

5. Run the server

CD/ into the project directory and run the command:

streamlit run app.py

Sample Responses:

SampleOutputImage2

Features

  • Chain together LLM generated output via pipeline architecture in order to create 2D game assets such as quests, items, storyline, character dialogue, etc.
  • Customise and fine-tune deeplearning text-to-image models to suit sylistic preferences.
  • Export 2D generated assets created by simple prompts.

.env

Create a .env file in the root project directory. Add the following variables with their relevant API keys: OPENAI_API_KEY, LEONARDO_AI_API_KEY, LEONARDO_AI_USER_ID. Refer to Leonardo AI's API documentation https://docs.leonardo.ai/reference NOTE: WIP - Creating database & API to store data.

# API Keys
OPENAI_API_KEY=""
LEONARDO_AI_API_KEY=""
LEONARDO_AI_USER_ID=""

License

MIT