Search by

aisdk / luma

aisdk

Official Luma provider for the PHP AI SDK.

Package info

github.com/phpaisdk/luma

pkg:composer/aisdk/luma

Fund package maintenance!

Open Collective

Statistics

Installs: 12

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 1

v0.11.0 2026-10-31 02:58 UTC

This package is auto-updated.

Last update: 2026-11-03 18:56:11 UTC


README

Video generation with Luma for the framework-agnostic PHP AI SDK.

Installation

composer require aisdk/luma

Set LUMA_API_KEY in your environment.

Usage

use AiSdk\Generate;
use AiSdk\Luma;

$result = Generate::video('A paper boat drifting along a quiet river.')
    ->model(Luma::model('ray-2'))
    ->aspectRatio('16:9')
    ->duration(5)
    ->run(timeout: 600);

$result->output->save(__DIR__.'/video.mp4');

Documentation

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

Contributing ยท Support

License

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