Speech-to-Text
Metered speech recognition for synchronous, batch and streaming audio.
- Provider
- gcp
- Kind
- AI service
- Category
- Compute
- Official docs
- https://docs.cloud.google.com/speech-to-text/quotas
- Also known as
- STT
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| auth | enum | api-key | oauth | iam | none | no | — | ▸ iam |
| contentFiltering | boolean | — | no | — | inherited |
| customerManagedKeys | boolean | — | no | — | inherited |
| dataLoggingOptIn | boolean | — | no | false | inherited |
| dataResidency | enum | us | eu | asia | global | no | — | inherited |
| dataRetentionDays | integer | — | no | — | inherited |
| keyStore | boolean | — | no | false | inherited |
| managed | boolean | — | no | false | ▸ true |
| maxAudioMinutes | integer | — | no | 1 | inherited |
| modality | enum | text | vision | speech | multimodal | structured | image | video | audio | embedding | rerank | no | — | ▸ speech |
| modelAdaptation | boolean | — | no | false | inherited |
| publicEndpoint | boolean | — | no | — | ▸ true |
| quotaUnitsPerMinute | integer | — | no | — | ▸ 900 |
| rateLimitRpm | integer | — | no | — | inherited |
| rateLimitTpm | integer | — | no | — | inherited |
| recognitionMode | enum | sync | async | streaming | no | sync | inherited |
| viaGateway | boolean | — | no | false | inherited |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
This AI vendor is reached with an API key, and nothing in the design holds or rotates that key. It ends up in environment files or code, every caller shares it, and a single leak runs up the vendor bill until someone notices. Put the key in a key-management component, or say it is held there with keyStore.
- — all of these hold:
- — the node's `auth` is "api-key"
- — the node's `keyStore` is false
- — the node has at least one incoming edge from an app-server, worker or client
- — this does not hold:
- — the design contains a node of kind key-management
A stateful compute node pinned to exactly one availability zone disappears with that zone, and its state goes with it. Nodes inside a cell are exempt, because there the cell is deliberately single-zone and redundancy comes from the other cells.
- — all of these hold:
- — the node's `stateless` is false
- — the node sits inside exactly 1 availability-zone group
- — this does not hold:
- — the node sits inside at least one cell group
nodes:
- { id: "speech-to-text", component: "google-speech-to-text" }# yaml-language-server: $schema=../../schema/component.schema.json # Google Cloud Speech-to-Text: metered transcription endpoint. "Quotas and limits": # 900 recognition requests per 60 seconds, ~1 minute of audio for synchronous requests, # ~480 minutes asynchronous, ~5 minutes streaming. Data logging is opt-in. schemaVersion: "1" type: "component" id: "google-speech-to-text" kind: "ai-service" provider: "gcp" docs: "https://docs.cloud.google.com/speech-to-text/quotas" aliases: ["STT"] defaults: auth: "iam" modality: "speech" publicEndpoint: true quotaUnitsPerMinute: 900 managed: true properties: recognitionMode: type: "enum" values: ["sync", "async", "streaming"] default: "sync" dataLoggingOptIn: type: "boolean" default: false modelAdaptation: type: "boolean" default: false maxAudioMinutes: type: "integer" default: 1