GPT-4o Transcribe
GPT-4o Transcribe is a speech-to-text model built on the GPT-4o architecture, delivering lower word error rates and stronger language recognition than the original Whisper models for production transcription workloads.
index.ts
import { experimental_transcribe as transcribe } from 'ai';import { gateway } from '@ai-sdk/gateway';import { readFile } from 'node:fs/promises';
const result = await transcribe({ model: gateway.transcriptionModel('openai/gpt-4o-transcribe'), audio: await readFile('audio.mp3'),});More models by OpenAI
| Model |
|---|