A Flutter application that allows users to create drawings and transform them into realistic images using artificial intelligence.
- Free-hand drawing
- Various color and thickness options
- Eraser tool
- Undo functionality
- Save drawings
- Transform drawings into realistic images using AI
- Save transformed images
- Credit system for AI transformations
- Earn credits by watching ads
- Premium membership options
- Install Flutter (https://flutter.dev/docs/get-started/install)
- Clone the repository
git clone https://github.com/omerfarukx/ai-drawing-converter
- Install dependencies
flutter pub get
- Set up your API key
- Create
lib/core/config/api_config.dart
file - Add the following content:
- Create
class ApiConfig {
static const String apiKey = 'YOUR_API_KEY';
static const String baseUrl = 'YOUR_API_BASE_URL';
static const String imageToImageEndpoint = 'YOUR_ENDPOINT';
}
- Use the screen to draw
- Select color and thickness from the toolbar on the left
- Use the save button to save your drawing
- Click the AI button for AI transformation
- Use the save button to save the generated image
- Fork this repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'feat: Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.