This is a simple Flutter and Firebase project that allows you to generate images using the OpenAI API. With this app, you can create images with text prompts, turning your ideas into visual art.
- Flutter: v3.0.0 or higher
- Dart: v2.12.0 or higher
- Firebase authentication and Firestore services
WhatsApp.Video.2023-10-18.at.3.12.26.AM.mp4
-
Clone the repository:
https://github.com/shubhsardana29/ArtiGenius-AI.git
-
Navigate to the project directory:
cd artigeniusai
-
Install the dependencies:
flutter pub get
-
Set up Firebase for your project:
- Create a new Firebase project on the Firebase Console.
- Add your Android and iOS apps to the project and follow the provided instructions to download the configuration files (
google-services.json
andGoogleService-Info.plist
). - Enable the Authentication and Firestore services in the Firebase Console.
-
Replace the Firebase configuration files:
- For Android, copy the
google-services.json
file to theandroid/app
directory. - For iOS, copy the
GoogleService-Info.plist
file to theios/Runner
directory.
- For Android, copy the
-
Create a
api_key.dart
file in the lib directory and add your OpenAI API key asapiKey
. You can get your API key from your OpenAI account settings. -
Run the app
The app should now be running on your connected device or emulator.
If you encounter any issues or have suggestions for improvements, please open an issue. We welcome your feedback!