Search by

aisdk / revai

aisdk

Official RevAi provider for the PHP AI SDK.

Package info

github.com/phpaisdk/revai

pkg:composer/aisdk/revai

Fund package maintenance!

Open Collective

Statistics

Installs: 9

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:58:22 UTC


README

Audio transcription with Rev.ai for the framework-agnostic PHP AI SDK.

Installation

composer require aisdk/revai

Set REVAI_ACCESS_TOKEN in your environment.

Usage

use AiSdk\Content;
use AiSdk\Generate;
use AiSdk\RevAi;

$result = Generate::transcription(Content::audio(__DIR__.'/meeting.mp3'))
    ->model(RevAi::model('machine'))
    ->run();

echo $result->output->text;

Documentation

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

Contributing ยท Support

License

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