omni_ai 0.6.0
omni_ai: ^0.6.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 Flutter:
$ flutter pub add omni_aiThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
omni_ai: ^0.6.0Alternatively, your editor might support 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';