with-agents

Get Started with Google Cloud — selected guide

How to use Cloud Speech-to-Text with cURL

Twelve practical entries spanning docs, networking, storage, IAM, cost, data, workflows, and APIs

Twelve 2018–2022 introductions use small tasks to explain networking, persistent storage, access control, BigQuery queries and cost limits, object versions, sensitive-data inspection, workflow orchestration, and speech transcription.

Google Cloud Tech 12 of 12
In this collection Browse 12 summaries 12 of 12

Speech-to-Text converts an audio recording into written text. This quickstart uses cURL, a command-line tool for sending HTTP requests, to submit an audio file's Cloud Storage location and read the transcription in the response. 00:04–02:07(opens in a new tab)

Key Points Covered

  • Setup enables the Speech-to-Text API and configures credentials before the request. 00:04–01:06(opens in a new tab)
  • The JSON request describes the recording: FLAC audio format, a 16,000 hertz sample rate, and the URI identifying its location in Cloud Storage. 01:06–02:07(opens in a new tab)
  • cURL sends that request to speech.googleapis.com. The synchronous call returns the transcription directly, alongside a confidence value estimating its accuracy rather than guaranteeing correctness. 01:06–02:07(opens in a new tab)

Full video: https://www.youtube.com/watch?v=SPcFViKU_xU(opens in a new tab)

Search

Search field guides and resources across the site.

    Keyboard shortcuts

    Press ? to open this guide (usually Shift + /). Close it before using other site shortcuts.

    Show keyboard shortcuts
    ?
    Search site
    Ctrl + K
    Close the current dialog or menu
    Esc

    Site shortcuts are ignored while typing. Browser and extension shortcuts may take priority.