Search by

aisdk / bytedance

aisdk

ByteDance provider for PHP AI SDK

Package info

github.com/phpaisdk/bytedance

pkg:composer/aisdk/bytedance

Fund package maintenance!

Open Collective

Statistics

Installs: 8

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

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

This package is auto-updated.

Last update: 2026-11-03 18:52:00 UTC


README

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

Installation

composer require aisdk/bytedance

Set ARK_API_KEY in your environment.

Usage

use AiSdk\ByteDance;
use AiSdk\Generate;

$result = Generate::video('A paper boat drifting along a quiet river.')
    ->model(ByteDance::model('dreamina-seedance-2-5-260628'))
    ->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.