Cloud Speech-to-Text API

Converts audio to text by applying powerful neural network models.

Service: speech.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoints and all URIs below are relative to these service endpoints:

  • https://us-central1-speech.googleapis.com
  • https://us-east1-speech.googleapis.com
  • https://us-west1-speech.googleapis.com
  • https://europe-west1-speech.googleapis.com
  • https://europe-west2-speech.googleapis.com
  • https://europe-west3-speech.googleapis.com
  • https://europe-west4-speech.googleapis.com
  • https://asia-south1-speech.googleapis.com
  • https://asia-southeast1-speech.googleapis.com
  • https://asia-northeast1-speech.googleapis.com
  • https://australia-southeast1-speech.googleapis.com
  • https://northamerica-northeast1-speech.googleapis.com
  • https://us-speech.googleapis.com
  • https://eu-speech.googleapis.com
  • https://speech.googleapis.com

REST Resource: v2.projects.locations

Methods
get GET /v2/{name=projects/*/locations/*}
Gets information about a location.
list GET /v2/{name=projects/*}/locations
Lists information about the supported locations for this service.

REST Resource: v2.projects.locations.config

Methods
get GET /v2/{name=projects/*/locations/*/config}
Returns the requested Config.
update PATCH /v2/{config.name=projects/*/locations/*/config}
Updates the Config.

REST Resource: v2.projects.locations.customClasses

Methods
create POST /v2/{parent=projects/*/locations/*}/customClasses
Creates a CustomClass.
delete DELETE /v2/{name=projects/*/locations/*/customClasses/*}
Deletes the CustomClass.
get GET /v2/{name=projects/*/locations/*/customClasses/*}
Returns the requested CustomClass.
list GET /v2/{parent=projects/*/locations/*}/customClasses
Lists CustomClasses.
patch PATCH /v2/{customClass.name=projects/*/locations/*/customClasses/*}
Updates the CustomClass.
undelete POST /v2/{name=projects/*/locations/*/customClasses/*}:undelete
Undeletes the CustomClass.

REST Resource: v2.projects.locations.operations

Methods
cancel POST /v2/{name=projects/*/locations/*/operations/*}:cancel
Starts asynchronous cancellation on a long-running operation.
delete DELETE /v2/{name=projects/*/locations/*/operations/*}
Deletes a long-running operation.
get GET /v2/{name=projects/*/locations/*/operations/*}
Gets the latest state of a long-running operation.
list GET /v2/{name=projects/*/locations/*}/operations
Lists operations that match the specified filter in the request.

REST Resource: v2.projects.locations.phraseSets

Methods
create POST /v2/{parent=projects/*/locations/*}/phraseSets
Creates a PhraseSet.
delete DELETE /v2/{name=projects/*/locations/*/phraseSets/*}
Deletes the PhraseSet.
get GET /v2/{name=projects/*/locations/*/phraseSets/*}
Returns the requested PhraseSet.
list GET /v2/{parent=projects/*/locations/*}/phraseSets
Lists PhraseSets.
patch PATCH /v2/{phraseSet.name=projects/*/locations/*/phraseSets/*}
Updates the PhraseSet.
undelete POST /v2/{name=projects/*/locations/*/phraseSets/*}:undelete
Undeletes the PhraseSet.

REST Resource: v2.projects.locations.recognizers

Methods
batchRecognize POST /v2/{recognizer=projects/*/locations/*/recognizers/*}:batchRecognize
Performs batch asynchronous speech recognition: send a request with N audio files and receive a long running operation that can be polled to see when the transcriptions are finished.
create POST /v2/{parent=projects/*/locations/*}/recognizers
Creates a Recognizer.
delete DELETE /v2/{name=projects/*/locations/*/recognizers/*}
Deletes the Recognizer.
get GET /v2/{name=projects/*/locations/*/recognizers/*}
Returns the requested Recognizer.
list GET /v2/{parent=projects/*/locations/*}/recognizers
Lists Recognizers.
patch PATCH /v2/{recognizer.name=projects/*/locations/*/recognizers/*}
Updates the Recognizer.
recognize POST /v2/{recognizer=projects/*/locations/*/recognizers/*}:recognize
Performs synchronous Speech recognition: receive results after all audio has been sent and processed.
undelete POST /v2/{name=projects/*/locations/*/recognizers/*}:undelete
Undeletes the Recognizer.