Search by

aisdk / hume

aisdk

Official Hume provider for the PHP AI SDK.

Package info

github.com/phpaisdk/hume

pkg:composer/aisdk/hume

Fund package maintenance!

Open Collective

Statistics

Installs: 18

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:55:27 UTC


README

Speech generation with Hume for the framework-agnostic PHP AI SDK.

Installation

composer require aisdk/hume

Set HUME_API_KEY in your environment and replace your-voice-id with a voice from your Hume account.

Usage

use AiSdk\Generate;
use AiSdk\Hume;

$result = Generate::speech('Welcome to the PHP AI SDK.')
    ->model(Hume::model('default'))
    ->voice('your-voice-id')
    ->providerOptions('hume', ['version' => '2'])
    ->run();

$result->output->save(__DIR__.'/speech.mp3');

Hume selects Octave through the version provider option; the SDK model ID is a local reference.

Documentation

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

Contributing ยท Support

License

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