V-Blaze and V-Cloud Online Help

Real Time

Important

This method requires V‑Blaze version 7.2 or greater.

Real-time calls can be emulated by provided a --limit-rate option. Here we assume sample1.wav has a sample rate of 8kHz and 2 bytes per sample meaning 16000 bytes per second would be a realtime transfer.

curl -s --limit-rate 16000 -XPOST \
-T 'sample1.wav' \
'vblaze_name:17171/transcribe?realtime=true&uttmaxgap=0&vadtype=level'
curl -s --limit-rate 16000 \
-F 'file=@sample1.wav' \
'vblaze_name:17171/transcribe?realtime=true&uttmaxgap=0&vadtype=level'

These examples transcribe a file named sample1.wav using a V‑Blaze REST API instance running on a server named vblaze_name; both parameters can be changed without altering the function of any commands.