It is simple integration of OpenAI Apis in Flutter using the http request where the speech is converted to text and then sent to the OpenApi Api to get the prompt with output in the form of Images or Chat or Text using DALL-E api or Chat api in OpenAI!!
Step 1: --> cd dir --> git clone https://github.com/Raghav-995/openaiflutter.git
Step2: --> add the OpenAI key in openaiflutter/openai/key.dart file where you need to add your key for value const # openAIAPIKey = 'Your OpenApi Key';
Step3: --> flutter pub upgrade or flutter pub get
step4: --> flutter run
Step5: --> Flutter build apk --split-per-abi
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.