AI Gateway · Component · speech-synthesis-relay
Configurable speech synthesis relay
What it does
Generate speech with provider-specific voice/model/output options. One gateway variant streams bytes; another supports two speech providers and defers a third; mobile saves generated MP3s. Microphone, playback and narration are separate.
Core pattern
Text-to-speech requests + output format adaptation
- Input
- Text-to-speech request
- Output
- Audio stream or provider JSON
Key parameters
| Name | Type | Default | Values |
|---|---|---|---|
| text | string | — | — |
| language | — | — | — |
| target_languages | array | [] | — |
| speed | number | 1 | 0.25–4 |
| sample_rate_hz | integer | 32000 | 8000–192000 |
Maturity and limits
audioSpeech handler and media accounting path implemented. Source paths were inspected statically; tests and live integrations were not executed. This rating describes implemented code, not production validation.
Credential-bearing configuration is excluded from this inventory. MIT; retain notices. Provider compatibility is configuration-dependent; metadata/privacy and optional payload plugins need review. Static inspection only. Variant-specific dependencies, limits and weaker maturity are recorded under variants; these implementations are alternatives, not one deployed system.
Used in pipelines
Industry tags
- HealthcareTransferable use
For organizing consented appointment-service interviews, use text-to-speech requests followed by output format adaptation.
Skills pack
Contract scaffold and deterministic mock
Download · 12KBSHA-256 4bd3957fd49ff927f4b072bdebca70127802d0cdaf29da7b4be16c49d0101d88
Related components
-
Image generation, editing, upscaling and prediction jobs
Image generation or masked edits + async result tracking
Working 1 pipeline -
Speech transcription and audio translation adapters
Audio transcription or translation + language and format controls
Working 1 pipeline -
Asynchronous video generation and retained media
Async media requests + result polling and usage records
Working 1 pipeline -
Provider text summarization, sentiment and intent analysis
Supplied text topic and intent extraction + structured summaries
Working 2 pipelines