gemini_live 0.0.2 copy "gemini_live: ^0.0.2" to clipboard
gemini_live: ^0.0.2 copied to clipboard

A new Gemini Live API Flutter package project.

Flutter Gemini Live #

pub version License Platform


✨ Features #

  • Gemini Live API (Experimental) for Flutter

🏁 Getting Started #

Prerequisites #

You need a Google Gemini API key to use this package. You can get your key from Google AI Studio.

Installation #

Add the package to your pubspec.yaml file:

dependencies:
  gemini_live: ^0.0.2 # Use the latest version

or

flutter pub add gemini_live

Install the package from your terminal:

flutter pub get

Now, import the package in your Dart code:

import 'package:gemini_live/gemini_live.dart';

πŸš€ Usage #

1. Initialize Gemini #

Initialize the Gemini service with your API key, preferably when your app starts (e.g., in your main function).

Security Note: Do not hardcode your API key directly in your source code. It is highly recommended to use a .env file with a package like flutter_dotenv to keep your credentials secure.

🀝 Contributing #

Contributions of all kinds are welcome, including bug reports, feature requests, and pull requests! Please feel free to open an issue on the issue tracker.

  1. Fork this repository.
  2. Create your feature branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request.

πŸ“œ License #

See the LICENSE file for more details.

5
likes
0
points
58
downloads

Publisher

unverified uploader

Weekly Downloads

A new Gemini Live API Flutter package project.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, http, json_annotation, web_socket_client

More

Packages that depend on gemini_live