Skip to content

ryugenxd/BasicArtGenAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Bit Map Generator

A simple desktop application that generates 2D pixel art representations of objects using the Gemini AI API.

Features

  • 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

Prerequisites

  • Go 1.16 or higher
  • Fyne dependencies
  • Google Gemini API key

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/image-generate.git
cd image-generate
  1. Install dependencies:
go mod tidy
  1. Copy the environment file and add your API key:
cp .env.example .env
  1. Add your Gemini API key to the .env file:
API_KEY="your_api_key_here"

Usage

  1. Run the application:
go run main.go
  1. Enter an object name in the text input field (e.g., "cat", "house", "tree")
  2. Click the "Generate" button
  3. The application will display a pixel art representation of your input

Technical Details

  • 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

License

MIT License

Contributing

Feel free to submit issues and pull requests.

About

Text2BitMap: AI-powered Prompt-to-Pixel Art Generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages