gcloud alpha ml speech - use Google Cloud Speech to get transcripts of audio
gcloud alpha ml speech GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
(ALPHA) Use Google Cloud Speech to get transcripts of recorded audio, and to get information about long-running speech recognition operations. For audio under 60 seconds, use:
$ gcloud alpha ml speech recognize
For audio 60 seconds or longer, use:
$ gcloud alpha ml speech recognize-long-running
For more information about the Google Cloud Speech API, refer to this guide: https://cloud.google.com/speech/docs/
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUP is one of the following:
- operations
(ALPHA) Interact with Google Cloud Speech operations.
- recognizers
(ALPHA) Manage Google cloud speech-to-text recognizers.
COMMAND is one of the following:
- recognize
(ALPHA) Get transcripts of short (less than 60 seconds) audio from an audio file.
- recognize-long-running
(ALPHA) Get transcripts of longer audio from an audio file.
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. These variants are also available:
$ gcloud ml speech
$ gcloud beta ml speech