Transcribe audio.
POST/ai/transcribe
Transcribe an audio file to text. This supports the following file types: flac, m4a, mp3, mp4, mpeg, mpga, oga, ogg, wav, webm. The maximum file size is 25MB.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
urlstring
The URL to the audio file.
Example:
https://www.pacdv.com/sounds/voices/am-i-totally-screwed-or.wavbufferstring
The Base64-encoded audio file. Can be provided instead of url.
langstring
The audio language. Default is en.
Example:
enResponses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
textstringrequired
The transcription result.
Example:
Ladies and gentlemen, am I totally screwed, or what?{
"text": "Ladies and gentlemen, am I totally screwed, or what?"
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}