omni_ai 0.6.1
omni_ai: ^0.6.1 copied to clipboard
One Flutter API for every AI provider: Gemini, Vercel AI Gateway, OpenRouter and more. Stream text, call tools, build agents, and generate images, speech and video.
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.1Alternatively, 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';