This project uses AI to generate comic images based on provided prompts. It uses the Stability API for image generation and editing.
-
Environment Variables: Copy the
sample.env
file and rename it to.env
. Fill in the required API keys:OPENAI_API_KEY= YOUR OPEN API KEY STABILITY_KEY= YOUR STABILITY API KEY TOGETHER_API_KEY= YOUR TOGETHER API KEY
-
Install Dependencies: This project uses Python and pip for package management. Install the required packages with the following command:
pip install -r requirements.txt
To run the application, execute the app.py
file using Streamlit:
streamlit run app.py
This will start the Streamlit server and the application will be accessible at localhost:8501
in your web browser.
The application generates comic images based on the prompts you provide. You can also edit existing images by providing an image path and a prompt.
Contributions are welcome. Please open an issue to discuss your ideas or submit a pull request with your changes.
This project is licensed under the terms of the MIT license.