Category: PHP, api

Google Cloud provides a Speech-to-Text API that allows you to generate a transcript from your audio file(say WAV). Google Cloud allows you to choose 2 types of media input – Microphone and File upload.

We will upload the audio file of WAV format, send this file to Google Cloud, receive transcripts, and download it.

That being said, let’s take a look at how to convert speech to text using Google Cloud in PHP. In order to interact with the Google Speech API, you need to download the credentials of your service account.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners