with-agents

Get Started with Google Cloud — selected guide

How to use Cloud Speech-to-Text with cURL

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

This quickstart sends a synchronous Speech-to-Text REST request with cURL for a FLAC object in Cloud Storage. [00:00:04]-[00:02:07]

Key Points Covered

  • Setup enables the Speech-to-Text API and configures credentials before the request. [00:00:04]-[00:01:06]
  • The JSON identifies FLAC encoding, a 16,000 hertz sample rate, and the Cloud Storage URI. [00:01:06]-[00:02:07]
  • The cURL call sends the request to speech.googleapis.com and returns text with an estimated confidence value. [00:01:06]-[00:02:07]

Treat the downloaded credential example and 2022 procedure as historical teaching shortcuts, not modern defaults. The video says Google Cloud SDK; the current name is Google Cloud CLI. Use current live Google Cloud Speech-to-Text documentation for procedures and authentication.

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