Name:
interface
Value:
Amplify has re-imagined the way frontend developers build fullstack applications. Develop and deploy without the hassle.
Gen1 DocsLegacy

Page updated Mar 26, 2026

オーディオをテキストに変換

注: 最初にはじめにセクションを完了してください。ここでは適切なポリシーアクションを持つIAMロールを設定します

APIの使用

マイクからの録音など、PCMオーディオバイトバッファをテキストに変換できます。

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

サポートされているすべての言語と言語固有の機能の完全なリストを表示するには、サポートされている言語のリストを参照してください。Amplify Predictionsで機能するには、言語データ入力タイプがストリーミングをサポートしている必要があります。