A Django web application that provides users with daily AI image generation challenges. Users can submit their prompts, generate images using DALL-E, and compete with other users in a fun and engaging way.
- Daily AI image generation challenges
- User authentication and profiles
- Image generation using DALL-E API
- Challenge system with AI-powered judging
- Leaderboard system
- Beautiful Bootstrap-based UI
- Python 3.8 or higher
- OpenAI API key
- Virtual environment (recommended)
- Clone the repository:
git clone <repository-url>
cd into the root folder
- Create and activate a virtual environment:
python -m venv venv
# On Windows:
venv\Scripts\activate
# On Unix or MacOS:
source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Create a
.env
file in the project root and add your OpenAI API key:
OPENAI_API_KEY=your_api_key_here
SECRET_KEY=your_secret_key_here
DEBUG=True
- Run migrations:
python manage.py migrate
- Create a superuser (optional):
python manage.py createsuperuser
- Run the development server:
python manage.py runserver
- Visit http://127.0.0.1:8000/ in your browser
- Register a new account or log in
- View the daily challenge on the home page
- Submit your prompt to generate an image
- Challenge other users' submissions
- View your profile and track your progress
- Check the leaderboard to see how you rank
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.