- NAME
-
- gcloud ml speech - use Google Cloud Speech to get transcripts of audio
- SYNOPSIS
-
-
gcloud ml speechGROUP|COMMAND[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- 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 ml speech recognizeFor audio 60 seconds or longer, use:
gcloud ml speech recognize-long-runningFor more information about the Google Cloud Speech API, refer to this guide: https://cloud.google.com/speech/docs/
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - GROUPS
-
is one of the following:GROUP-
operations - Interact with Google Cloud Speech operations.
-
- COMMANDS
-
is one of the following:COMMAND-
recognize - Get transcripts of short (less than 60 seconds) audio from an audio file.
-
recognize-long-running - Get transcripts of longer audio from an audio file.
-
- NOTES
- These variants are also available:
gcloud alpha ml speechgcloud beta ml speech
gcloud ml speech
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.

