Search by

aisdk / fal

aisdk

Official fal provider for the PHP AI SDK.

Package info

github.com/phpaisdk/fal

pkg:composer/aisdk/fal

Fund package maintenance!

Open Collective

Statistics

Installs: 9

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.11.1 2026-11-11 04:03 UTC

This package is auto-updated.

Last update: 2026-11-11 04:03:49 UTC


README

Image generation with fal for the framework-agnostic PHP AI SDK. Also supports video, speech generation, and transcription.

Installation

composer require aisdk/fal

Set FAL_API_KEY in your environment.

Usage

use AiSdk\Fal;
use AiSdk\Generate;

$result = Generate::image('A mountain lake at sunrise, soft natural light.')
    ->model(Fal::model('fal-ai/flux-2-pro'))
    ->run();

$result->output->save(__DIR__.'/image.png');

Documentation

Read the documentation for configuration, supported features, and more examples.

Contributing ยท Support

License

The MIT License (MIT). See LICENSE for details.