This is a Python application that generates pixelated images using AI. The app features:
- Main canvas for displaying generated images
- Chat panel for entering generation and modification commands
- Tool panel with common image modification tools
- Automatic pixelated style for all generated images
- Install dependencies:
pip install -r requirements.txt
- Create a
.env
file with your OpenAI API key:
OPENAI_API_KEY=your_api_key_here
- Run the application:
python main.py
- Image Generation: Use natural language prompts to generate pixelated images
- Image Modification: Modify existing images with additional prompts
- Save/Load: Save generated images to disk and load them back
- Pixelate Tool: Apply additional pixelation effects
- Resize Tool: Resize images while maintaining pixelated style
- Clear Canvas: Clear the current image
- Enter a prompt in the chat panel (e.g., "a cute cat in a forest")
- Click "Generate" to create a new pixelated image
- Use "Modify" to make changes to the current image
- Use the tool panel for additional image operations