V-Blaze and V-Cloud Online Help

Submitting a Sample File for Text Transcription

To download the sample audio file that is used in this chapter, right-click here and select Save link as from the pop-up menu that displays.

The following command calls the V‑Cloud API, specifies the address of the callback server, specifies that you want text format output, and identifies the audio file that you want to transcribe:

curl -F callback=http://www.example.com:5555 \
     -F token=123e4567e89b12d3a456426655440000 \
     -F output=text \
     -F "file=@sample7.wav;type=audio/x-wav" \

This sample command sends a text transcript of the audio file sample7.wav to the callback server. The text that was transcribed via the curl command that was shown previously is the following:

Thank you for calling Center point energy technical support. I understand you need to report a gas leak and I have your name please
my name is Joe and I thank you Mr. Know what is your address or account number
my address and then one Martin Houston, Texas is there. Anyone inside the house? I know everyone is out of the house. I notice the strange smell when I got home and I called you I am sending and gas technician to your home to fix the problem. Could you give me a good number to reach you at
you can call 28195345 zero's.
Thank you, please be safe and wait for the technician to arrive call us back if anything changes.
Thank you, bye. Good bye and thank you for calling Center point energy.

Note that the sample audio file used in this example is a mono audio file, so the different portions of the audio in which voices are active (known as utterances) are separated by newlines.