aisdk/klingai

Kling AI provider for PHP AI SDK

Maintainers

Package info

github.com/phpaisdk/klingai

pkg:composer/aisdk/klingai

Transparency log

Fund package maintenance!

Open Collective

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.8.0 2026-07-15 09:29 UTC

This package is auto-updated.

Last update: 2026-07-17 02:24:44 UTC


README

GitHub Workflow Status Total Downloads Latest Version License Why PHP in 2026

Supports Kling image generation, text-to-speech, text-to-video, image-to-video, motion control, and current Omni image/video workflows with image, video, element, voice, and multi-shot references.

Use the current KLINGAI_API_KEY, or legacy KLINGAI_ACCESS_KEY and KLINGAI_SECRET_KEY credentials.

$video = Generate::video('A cinematic product reveal')
    ->model(KlingAi::model('kling-v3-omni'))
    ->aspectRatio('16:9')
    ->duration(8)
    ->providerOptions('klingai', ['sound' => 'on'])
    ->run(timeout: 600);

Documentation

Community