OpenAI-compatible audio transcription SDKs for JavaScript, Python, Ruby, Go, Java, and PHP on RunAPI.
Transcribe audio with whisper-1 or gpt-transcribe. JSON formats return
structured data; text and subtitle formats preserve their exact response body.
Install
npm install @runapi.ai/openai-transcription
pip install runapi-openai-transcription
gem install runapi-openai-transcription
go get github.com/runapi-ai/openai-transcription-sdk/go@latestFor Java, install ai.runapi:runapi-openai-transcription:0.1.0.
The PHP package is released from the split repository at
https://github.com/runapi-ai/openai-transcription-php.
Quick start
import { OpenaiTranscriptionClient } from '@runapi.ai/openai-transcription';
const client = new OpenaiTranscriptionClient();
const result = await client.speechToText.run({
file: new Blob([audioBytes], { type: 'audio/mpeg' }),
filename: 'audio.mp3',
});
console.log(result);Variants
See the OpenAI Transcription model page for current pricing, formats, limits, and usage details.
License
Licensed under the Apache License, Version 2.0.