runapi-ai/openai-transcription

RunAPI OpenAI Transcription Composer package for PHP applications

Maintainers

Package info

github.com/runapi-ai/openai-transcription-php

Homepage

Documentation

pkg:composer/runapi-ai/openai-transcription

Transparency log

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0 2026-08-07 11:55 UTC

This package is auto-updated.

Last update: 2026-08-07 12:27:18 UTC


README

Packagist License

Use the OpenAI Transcription PHP SDK to transcribe audio through RunAPI with a synchronous Composer client. JSON formats return associative arrays; text and subtitle formats return their exact strings.

Install

composer require runapi-ai/openai-transcription

Quick start

<?php

require __DIR__ . "/vendor/autoload.php";

use RunApi\OpenaiTranscription\OpenaiTranscriptionClient;

$client = new OpenaiTranscriptionClient(); // reads RUNAPI_API_KEY
$result = $client->speechToText->run('audio.mp3');

echo is_string($result) ? $result : $result['text'] . PHP_EOL;

Keep RUNAPI_API_KEY in the environment or your secret manager.

Links

License

Licensed under the Apache License, Version 2.0.