Cloud Speech-to-Text API
Converts audio to text by applying powerful neural network models.
AI & machine learning#openapi#analytics#media
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Converts audio to text by applying powerful neural network models.
Endpoints 11
operations
- GETGets the latest state of a long-running operation
/v1/operations/:nameGets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. - GETLists operations that match the specified filter in the request
/v1/operations?filter=string&name=string&pageSize=0&pageToken=string&returnPartialSuccess=trueLists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.
projects.locations.customClasses
- GETList custom classes.
/v1/:parent/customClasses?pageSize=0&pageToken=stringList custom classes. - POSTCreate a custom class.
/v1/:parent/customClassesCreate a custom class.
projects.locations.phraseSets
- GETGet a phrase set.
/v1/:nameGet a phrase set. - DELETEDelete a phrase set.
/v1/:nameDelete a phrase set. - PATCHUpdate a phrase set.
/v1/:name?updateMask=stringUpdate a phrase set. - GETList phrase sets.
/v1/:parent/phraseSets?pageSize=0&pageToken=stringList phrase sets. - POSTCreate a set of phrase hints
/v1/:parent/phraseSetsCreate a set of phrase hints. Each item in the set can be a single word or a multi-word phrase. The items in the PhraseSet are favored by the recognition…
speech
- POSTPerforms asynchronous speech recognition: receive results via the google.longrunning.Operations interface
/v1/speech:longrunningrecognizePerforms asynchronous speech recognition: receive results via the google.longrunning.Operations interface. Returns either an Operation.error or an… - POSTPerforms synchronous speech recognition: receive results after all audio has been sent and processed.
/v1/speech:recognizePerforms synchronous speech recognition: receive results after all audio has been sent and processed.
API details
- Base URL
https://speech.googleapis.com- Authentication
- OAuth 2.0 (authorization code flow) with 1 scope
An API key in the key query parameter - Operations
- 11 operations on 7 pathsGET 5POST 4PATCH 1DELETE 1
- Main resources
- projects.locations.phraseSets 5operations 2projects.locations.customClasses 2speech 2
- Response formats
application/json- Description format
- Google API Discovery, API version
v1 - Links
- Documentation · OpenAPI document
- Listed from
- Google API Discovery document (googleapis/discovery-artifact-manager) (Apache-2.0)
How to test the Cloud Speech-to-Text API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Cloud Speech-to-Text API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Gets the latest state of a long-running operation” (GET /v1/operations/:name), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Cloud Speech-to-Text API?
Converts audio to text by applying powerful neural network models. It is listed under AI & machine learning and has 11 endpoints.
Who publishes the Cloud Speech-to-Text API?
It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Cloud Speech-to-Text API?
Requests go to https://speech.googleapis.com. Endpoint paths are added to this base URL.
How do I authenticate with the Cloud Speech-to-Text API?
It accepts 2 methods: OAuth 2.0 (authorization code flow) with 1 scope; an API key in the key query parameter.
How many endpoints does the Cloud Speech-to-Text API have?
11 operations on 7 paths (5 GET, 4 POST, 1 PATCH, 1 DELETE). The largest groups are projects.locations.phraseSets, operations, projects.locations.customClasses, speech.
Is forking the Cloud Speech-to-Text API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.