A Flutter application for virtual clothing try-on using AI-powered image generation. Upload photos of yourself and clothing items to see how outfits would look on you!
- Virtual Try-On: Upload a person image and a garment image to generate realistic try-on results
- Cross-Platform Support: Built with Flutter for Android, iOS, Web, Windows, macOS, and Linux
- AI-Powered: Integrates with fal.ai's image generation services for high-quality results
- Modern UI: Clean, intuitive interface built with Material Design and Google Fonts
- File Management: Easy image selection and upload with permission handling
- Flutter SDK 3.5.3 or higher
- Dart SDK
- fal.ai API key (for AI try-on functionality)
- Clone the repository:
git clone https://github.com/f8th/tryon_me.git
cd tryon_me- Install dependencies:
flutter pub get- Set up environment variables:
- Create a
.envfile in the root directory - Add your fal.ai API credentials:
- Create a
FAL_API_KEY=your_api_key_here
- Run the app:
flutter run- http (^1.2.2) - HTTP requests for API communication
- permission_handler (^11.3.1) - Handle device permissions
- file_picker (^8.1.7) - Select images from device
- device_info_plus (^11.2.0) - Get device information
- cross_file (^0.3.4+2) - Cross-platform file handling
- fal_client (^0.3.0) - Integration with fal.ai services
- flutter_dotenv (^5.2.1) - Environment variable management
- google_fonts (^6.2.1) - Beautiful typography
lib/
├── main.dart # Application entry point
├── models/ # Data models
├── screens/ # UI screens
├── services/ # Business logic and API services
├── utils/ # Utility functions and helpers
└── widgets/ # Reusable UI components
- Launch the App: Open TryOn Me on your device
- Select Person Image: Upload a photo of yourself or a model
- Select Garment Image: Upload an image of the clothing item you want to try on
- Generate: Wait for the AI to process and generate the try-on result
- View Results: See how the outfit looks on you!
The app requires the following permissions:
- Storage Access: To select images from your device
- Internet: To communicate with AI services
flutter testAndroid:
flutter build apk --releaseiOS:
flutter build ios --releaseWeb:
flutter build web --releaseContributions, issues, and feature requests are welcome! Feel free to check the issues page.
This project is available for personal and educational use.
If you encounter any issues or have questions, please open an issue on GitHub.
Made with ❤️ using Flutter