omni_ai 0.3.0
omni_ai: ^0.3.0 copied to clipboard
One easy Flutter API for every AI provider: Vercel AI Gateway, Google Gemini, OpenRouter, LM Studio, ElevenLabs, Addis AI and on-device speech. Stream text, call tools, build agents with web search, c [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add omni_aiWith Flutter:
$ flutter pub add omni_aiThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
omni_ai: ^0.3.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:omni_ai/omni_ai.dart';