Skip to main content
The fal_client package provides a Dart interface for calling fal AI models in Flutter applications.

Installation

flutter pub add fal_client

Quick Start

import 'package:fal_client/fal_client.dart';

final fal = FalClient.withCredentials("YOUR_FAL_KEY");

final result = await fal.subscribe("fal-ai/flux/dev", input: {
  "prompt": "a cat",
  "seed": 6252023,
  "image_size": "landscape_4_3",
  "num_images": 4
});

print(result);

Supported Platforms

  • Flutter (iOS, Android, Web, Desktop)
  • Dart (standalone)

API Reference

Dart API Reference

Full API documentation on pub.dev

GitHub Repository

Source code and examples

Example App

Simple Flutter app using fal image inference