Sample Applications

This page lists Google Cloud Speech API samples. We will be adding more samples to this page as they are created.

The Cloud Speech API v1 is officially released and is generally available from the https://speech.googleapis.com/v1/speech endpoint. The Client Libraries are released as Alpha and will likely be changed in backward-incompatible ways. The client libraries are currently not recommended for production use.

These samples require that you have set up gcloud and have created and activated a service account. For information about setting up gcloud, and also creating and activating a service account, see Quickstart.

Programming Language Examples

The following are links to complete samples that you can download that show how to send audio to the Google Cloud Speech API and receive a text transcription for that audio. You can find more details about running the sample in the README file included with the download.

Mobile Platform Examples

Android Sample

This sample shows you how to use your microphone with the Cloud Speech RPC API to provide streaming speech recognition.

Documentation and Code

iOS Sample

This sample shows you how to use your microphone with the Cloud Speech RPC API to provide non-streaming and streaming speech recognition.

Documentation and Code

Send feedback about...

Google Cloud Speech API Documentation