Skip to content

SmitaPatel19/My-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 My-AI: Personal Virtual Voice Assistant

Overview

Welcome to My-AI, a Personal Virtual Voice Assistant powered by ChatGPT & DALL·E APIs, built with Flutter & Dart. This app can understand voice commands, generate intelligent responses, and even create AI-powered images effortlessly.

This project helped me learn API integration, design an attractive user interface, and build a robust AI-powered assistant that enhances user interaction with voice and visual AI capabilities.


✨ Features

Voice Commands – Speak naturally, and let the AI assist you.
ChatGPT-Powered Responses – Get intelligent, real-time answers.
AI Image Generation – Create stunning images using DALL·E.
User-Friendly UI – Modern and attractive design with smooth interactions.
API Integration – Seamless connection with ChatGPT & DALL·E APIs.


⚙ Core Functionality

🎙 Voice Recognition

  • Real-time speech-to-text conversion
  • Sound level visualization
  • Continuous listening mode (with 3-second pause threshold)
  • Automatic restart after silence

🤖 AI Interaction

  • ChatGPT text generation
  • DALL·E image generation
  • Automatic detection of image-generation prompts
  • Text-to-speech responses

💬 Conversation Management

  • Conversation history tracking (last 10 interactions)
  • Clear history functionality
  • Role-based message differentiation (user/assistant)

🛠 Tech Stack

Flutter & Dart – For building a cross-platform mobile app.
ChatGPT API – For AI-driven text responses.
DALL·E API – For AI-powered image generation.
Android Studio – For development and testing.


Getting Started

Prerequisites

Before running the app, ensure you have:

  • Flutter installed (Install Flutter)
  • An API key for ChatGPT & DALL·E (Get OpenAI API Key) (like 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)
  • Android Studio for running the emulator or a physical device

Installation

1️. Clone this repository:

git clone https://github.com/SmitaPatel19/My-AI.git

2️. Navigate to the project folder:

cd My-AI

3️. Install dependencies:

flutter pub get

4️. Set up your API keys for ChatGPT & DALL·E in the app’s configuration.


▶ Running the App

Run the app on an emulator or physical device:

flutter run

How to Use

🎙 Speak Commands – Ask the assistant anything, and it responds.
🖼 Generate AI Images – Describe an image, and DALL·E creates it for you.
💡 Enjoy Smart AI Assistance – Get instant responses to your queries.


🌱 Learning & Development

This project helped me:

  1. Learn API integration in Flutter.
  2. Understand AI-powered interactions.
  3. Design an intuitive and engaging UI.

🤝 Contributing

Want to contribute? Fork the repo, make changes, and submit a pull request! Let’s make AI even smarter together. 😊


🎉 Acknowledgements

Big thanks to Flutter, OpenAI (ChatGPT & DALL·E), and the AI developer community for making this project possible!

If you like this project, don’t forget to ⭐ Star the repo! 😊


About

My-AI is a Personal Virtual Voice Assistant built with Flutter & Dart, powered by ChatGPT & DALL·E APIs. It can understand voice commands, generate intelligent responses, and create AI-powered images effortlessly. This project helped me learn API integration, improve UI design, and enhance AI-powered interactions in mobile apps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors