packages/revai/README.md
The Rev.ai provider for the AI SDK contains language model support for the Rev.ai transcription API.
The Rev.ai provider is available in the @ai-sdk/revai module. You can install it with
npm i @ai-sdk/revai
If you use coding agents such as Claude Code or Cursor, we highly recommend adding the AI SDK skill to your repository:
npx skills add vercel/ai
You can import the default provider instance revai from @ai-sdk/revai:
import { revai } from '@ai-sdk/revai';
import { revai } from '@ai-sdk/revai';
import { experimental_transcribe as transcribe } from 'ai';
const { text } = await transcribe({
model: revai.transcription('machine'),
audio: new URL(
'https://github.com/vercel/ai/raw/refs/heads/main/examples/ai-functions/data/galileo.mp3',
),
});
Please check out the Rev.ai provider documentation for more information.