Voice Gateway

Speech-to-Text

Transcribe speech into text.


Service Docs

Voice Gateway : Speech-to-Text

People like talking. Let them do the talking and your application do the listening. With Speech-to-Text you can take human speech and convert it into text that you application can act upon.


The Speech-to-Text service allows an application to have a speech-to-text (STT) conversion performed on a long or short audio stream and for the speech in that audio stream to be transcribed as text. This service can be used in interactive systems (e.g. voice controlled systems) or for offline transcribing of speech.


  • Upload an audio file (MP3)
  • Storage of text from TTS converted speech
  • Retrieve text of speech once TTS conversion complete
  • Realtime transcription of speech (coming soon)

The Speech-to-Text service is one of the many building blocks we are releasing over the coming months as part of the Voice Gateway, and making available through the Voice API.


Need to convert text-to-speech? See our Text-to-Speech service.


Note that the Speech-to-Text service may not convert speech to the correct text in all cases.



Convert speech to text using the Voice Gateway Speech-to-Text service with RESTful Voice API
Example using cURL

Submit conversion request

Request:

curl -X POST "https://api.melroselabs.com/voice/speechtotext/" \
    -H 'Content-Type: audio/mp3' \
    -H 'x-api-key: [API_KEY]' \
    --data-binary @file.mp3

Response:

{"transactionID": "1ccead78-6550-4aac-a6b4-a4942b908659"}

Retrieve text of speech

Request:

curl -X GET "https://api.melroselabs.com/voice/speechtotext/1ccead78-6550-4aac-a6b4-a4942b908659" \
    -H 'x-api-key: [API_KEY]'

Response:

{"text": "Alice was beginning to get very tired of sitting by her sister on the bank and of having nothing to do."}

Service snapshot

  • Convert file (MP3) containing speech to text
  • Syncronous and asyncronous RESTful API
  • Text storage
  • Fast automatic speech recognition

Find out more about this service...

Please provide your first name.
Please provide your last name.
Please provide a valid company name.
Please provide a valid email address.
Please type your message.