flutter_gemini 3.0.0-dev.1 copy "flutter_gemini: ^3.0.0-dev.1" to clipboard
flutter_gemini: ^3.0.0-dev.1 copied to clipboard

Flutter Google Gemini SDK. Google Gemini is a set of cutting-edge large language models (LLMs) designed to be the driving force behind Google's future AI initiatives.

example/lib/main.dart

import 'package:flutter_gemini/flutter_gemini.dart';

const apiKey = 'AIza------tMww4---------rzu-----';
void main() {

  Gemini.init(apiKey: apiKey, enableDebugging: true);

  Gemini.instance.prompt(parts: [
    Part.text('Write a story about a magic backpack'),
  ]).then((value) {
    print(value?.output);
  });
}
360
likes
0
points
4.28k
downloads

Publisher

verified publisherbabakcode.com

Weekly Downloads

Flutter Google Gemini SDK. Google Gemini is a set of cutting-edge large language models (LLMs) designed to be the driving force behind Google's future AI initiatives.

Repository (GitHub)
View/report issues

Topics

#gemini #ai #google-gemini #flutter-gemini

License

unknown (license)

Dependencies

dio, mime

More

Packages that depend on flutter_gemini