fal_client 0.2.0 fal_client: ^0.2.0 copied to clipboard
The Dart client library for fal.ai model APIs. You can use it to call multiple AI models on your Dart and Flutter apps.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add fal_client
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
fal_client: ^0.2.0
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:fal_client/client.dart';
import 'package:fal_client/config.dart';
import 'package:fal_client/exception.dart';
import 'package:fal_client/http.dart';
import 'package:fal_client/queue.dart';
import 'package:fal_client/runtime/platform.dart';
import 'package:fal_client/runtime/platform/base.dart';
import 'package:fal_client/runtime/platform/html.dart';
import 'package:fal_client/runtime/platform/interface.dart';
import 'package:fal_client/runtime/platform/io.dart';
import 'package:fal_client/runtime/version.dart';
import 'package:fal_client/storage.dart';