curl --request POST \
--url https://api.trieve.ai/api/message/transcribe_audio \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TR-Dataset: <tr-dataset>' \
--data '{
"base64_audio": "<string>"
}'
"<string>"
Uses whisper-1
to transcribe an audio file passed in as a base64 encoded string.
curl --request POST \
--url https://api.trieve.ai/api/message/transcribe_audio \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TR-Dataset: <tr-dataset>' \
--data '{
"base64_audio": "<string>"
}'
"<string>"
The dataset id or tracking_id to use for the request. We assume you intend to use an id if the value is a valid uuid.
JSON request payload to transcribe an audio file
The body is of type object
.
The transcribed text
The response is of type string
.
Was this page helpful?