A simple desktop application that generates 2D pixel art representations of objects using the Gemini AI API.
- Generate pixel art representations from text descriptions
- Real-time visualization using Fyne GUI framework
- Integration with Google's Gemini AI API
- Simple and intuitive user interface
- Go 1.16 or higher
- Fyne dependencies
- Google Gemini API key
- Clone the repository:
git clone https://github.com/yourusername/image-generate.git
cd image-generate
- Install dependencies:
go mod tidy
- Copy the environment file and add your API key:
cp .env.example .env
- Add your Gemini API key to the
.env
file:
API_KEY="your_api_key_here"
- Run the application:
go run main.go
- Enter an object name in the text input field (e.g., "cat", "house", "tree")
- Click the "Generate" button
- The application will display a pixel art representation of your input
- Built with Go and Fyne GUI framework
- Uses Google's Gemini AI API for image generation
- Generates pixel art in a grid format (10x10 to 20x20)
- Renders using simple rectangular shapes
MIT License
Feel free to submit issues and pull requests.