Skip to content

Fact · Speech recognition

Google's Python example for synchronous recognition of a local file imports the Speech-to-Text v2 client.

Checked against its source on October 17, 2026

In the source's own words

“from google.cloud.speech_v2 import SpeechClient from google.cloud.speech_v2.types import cloud_speech”

Synchronous recognition (Speech-to-Text, Google Cloud), Google Cloud, 2026, Perform synchronous speech recognition on a local file.

Open the original
What it measures
The v2 client is the newer API. The v1 client is a separate import, and its prices are in a separate table.
What it does not show
Read on 2026-10-17. We did not run the sample against a live project.

Source

Google's Python example uses the v2 client | Yap