curl --request POST \
--url https://api.tryhamsa.com/v2/tts/voices/extract-transcription \
--header 'Content-Type: application/json' \
--data '
{
"projectId": "ae6d58c6-c6bd-4ae0-ad74-b8b39c29928b",
"audioUrl": "https://cdn.tryhamsa.com/uploads/voice.wav",
"language": "en"
}
'{
"success": true,
"message": "Operation completed successfully",
"messageKey": "OPERATION_SUCCESSFUL",
"data": {
"transcription": "Hello, this is a transcription of your audio."
}
}Extract a text transcription from a voice audio sample.
curl --request POST \
--url https://api.tryhamsa.com/v2/tts/voices/extract-transcription \
--header 'Content-Type: application/json' \
--data '
{
"projectId": "ae6d58c6-c6bd-4ae0-ad74-b8b39c29928b",
"audioUrl": "https://cdn.tryhamsa.com/uploads/voice.wav",
"language": "en"
}
'{
"success": true,
"message": "Operation completed successfully",
"messageKey": "OPERATION_SUCCESSFUL",
"data": {
"transcription": "Hello, this is a transcription of your audio."
}
}Was this page helpful?