aisdk / prodia
Official Black Forest Labs provider for the PHP AI SDK.
Fund package maintenance!
v0.11.0
2026-10-31 02:58 UTC
Requires
- php: ^8.3
- aisdk/core: ^0.11.0
Requires (Dev)
- laravel/pint: ^1.18
- nyholm/psr7: ^1.8
- pestphp/pest: ^3.0 || ^4.0
- phpstan/phpstan: ^2.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Image generation with Prodia for the framework-agnostic PHP AI SDK.
Installation
composer require aisdk/prodia
Set PRODIA_TOKEN in your environment.
Usage
use AiSdk\Generate; use AiSdk\Prodia; $result = Generate::image('A mountain lake at sunrise, soft natural light.') ->model(Prodia::model('inference.flux-2.pro.txt2img.v1')) ->run(); $result->output->save(__DIR__.'/image.png');
Documentation
Read the documentation for configuration, supported features, and more examples.
License
The MIT License (MIT). See LICENSE for details.