Amplify has re-imagined the way frontend developers build fullstack applications. Develop and deploy without the hassle.

Page updated May 2, 2024

Transcribe audio to text

Note: Make sure to complete the getting started section first, where you will set up the IAM roles with the right policy actions

Working with the API

You can transcribe a PCM Audio byte buffer to Text, such as a recording from microphone.

import { Predictions } from '@aws-amplify/predictions';
const { transcription } = await Predictions.convert({
transcription: {
source: {
bytes
}
}
})

To view the complete list of all the supported languages and language specific features refer to the supported languages list. The language data input type has to support streaming for it to work with Amplify Predictions.