Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl -s -H "Content-Type: application/json"
- -H "Authorization: Bearer "$(gcloud auth application-default print-access-token)
- https://speech.googleapis.com/v1p1beta1/speech:longrunningrecognize
- --data "{
- 'config': {
- 'encoding': 'LINEAR16',
- 'sampleRateHertz': 16000,
- 'languageCode': 'en-US',
- 'enableWordTimeOffsets': true,
- 'enableAutomaticPunctuation': true,
- 'model': 'video'
- },
- 'audio': {
- 'uri':'gs://cloud-samples-tests/speech/Google_Gnome.wav'
- }
- }"
Add Comment
Please, Sign In to add comment