A beautiful, modern Flutter application that transforms your imagination into stunning visuals using AI. Create amazing artwork with just a text description!
- ๐จ AI-Powered Image Generation: Generate high-quality images from text prompts using Pollinations AI
- ๐ฎ Multiple AI Models: Choose from 6 different AI models including Flux Pro, Realism, Anime Style, 3D Render, and more
- ๐ Flexible Image Sizes: Support for various resolutions from 512ร512 to 1920ร1080
- ๐ก Smart Suggestions: Quick prompt ideas with beautiful categorized suggestions
- ๐ฑ Cross-Platform: Works seamlessly on Android, iOS, and Desktop
- โฌ๏ธ Easy Downloads: Save generated images directly to your device with proper permissions handling
- ๐ญ Modern UI: Gorgeous glass-morphism design with smooth animations
- ๐ฑ Responsive Design: Optimized layouts for both mobile and tablet screens
- โก Fast Generation: Efficient image generation with fallback options for reliability
- Flutter SDK (>=3.0.0)
- Dart (>=3.0.0)
- Android Studio or VS Code with Flutter extensions
- An Android device/emulator or iOS device/simulator for mobile testing
-
Clone the repository
git clone https://github.com/YatharthSanghavi/Fluxgen_flutter.git cd Fluxgen_flutter
-
Install dependencies
flutter pub get
-
Run the application
flutter run
dependencies:
flutter:
sdk: flutter
http: ^1.1.0
cached_network_image: ^3.3.0
flutter_spinkit: ^5.2.0
share_plus: ^7.2.1
path_provider: ^2.1.1
permission_handler: ^11.0.1
device_info_plus: ^10.1.0
- Enter Your Vision: Type a descriptive prompt in the text field
- Choose Settings: Select your preferred AI model and image size
- Generate: Tap the "Generate Image" button and watch the magic happen
- Download: Save your masterpiece to your device
- Create More: Generate new variations or try different prompts
- "A futuristic cityscape with neon lights and flying cars"
- "A majestic dragon soaring through storm clouds"
- "A serene Japanese garden with cherry blossoms at sunset"
- "A cyberpunk warrior with glowing armor in a dark alley"
- Flux Pro: High-quality general-purpose image generation
- Realism: Photorealistic images with incredible detail
- CablyAI: Unique artistic style with vibrant colors
- Anime Style: Perfect for anime and manga-inspired artwork
- 3D Render: Professional 3D-rendered images
- Turbo Fast: Quick generation for rapid prototyping
- โ Android (API 21+)
- โ iOS (iOS 12.0+)
- โ Windows (Windows 10+)
- โ macOS (macOS 10.14+)
- โ Linux (Ubuntu 18.04+)
The app requests the following permissions:
- Storage Permission (Android): To save generated images to your device
- Photos Permission (iOS): To save images to your photo library
- Glass Morphism Design: Modern frosted glass effect throughout the interface
- Smooth Animations: Engaging transitions and loading states
- Responsive Layout: Adapts beautifully to different screen sizes
- Color-Coded Elements: Intuitive color system for different features
- Haptic Feedback: Tactile responses for better user experience
The app uses the Pollinations AI API, which is free and doesn't require an API key. However, you can modify the API endpoint in the _generateImage()
method if needed.
lib/
โโโ main.dart # Main application entry point
- Image Generation: Uses HTTP requests to Pollinations AI API
- File Management: Handles downloads across different platforms
- Permission Handling: Manages storage permissions for Android/iOS
- Responsive Design: Adapts UI based on screen size
- Error Handling: Graceful fallbacks and user-friendly error messages
- Visit release page to download apk: Release Page
- Direct Download android apk file: Download apk
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is not for commercial use.
- Pollinations AI for providing free AI image generation API
- Flutter team for the amazing framework
- The open-source community for the wonderful packages used
If you encounter any issues or have questions:
- Check the Issues section
- Create a new issue if your problem isn't already reported
- Provide as much detail as possible including device info and error messages