aura-2-en
Text-to-Speech • Deepgram • HostedAura-2 is a context-aware text-to-speech (TTS) model that applies natural pacing, expressiveness, and fillers based on the context of the provided text. The quality of your text input directly impacts the naturalness of the audio output.
| Model Info | |
|---|---|
| Terms and License | link ↗ |
| Batch | Yes |
| Partner | Yes |
| Real-time | Yes |
| Unit Pricing | $0.03 per 1k characters |
Parameters
stringdefault: lunaenum: amalthea, andromeda, apollo, arcas, aries, asteria, athena, atlas, aurora, callista, cora, cordelia, delia, draco, electra, harmonia, helena, hera, hermes, hyperion, iris, janus, juno, jupiter, luna, mars, minerva, neptune, odysseus, ophelia, orion, orpheus, pandora, phoebe, pluto, saturn, thalia, theia, vesta, zeusSpeaker used to produce the audio.stringenum: linear16, flac, mulaw, alaw, mp3, opus, aacEncoding of the output audio.stringenum: none, wav, oggContainer specifies the file format wrapper for the output audio. The available options depend on the encoding type..stringrequiredThe text content to be converted to speechnumberSample Rate specifies the sample rate for the output audio. Based on the encoding, different sample rates are supported. For some encodings, the sample rate is not configurablenumberThe bitrate of the audio in bits per second. Choose from predefined ranges or specific values based on the encoding type.
The binding returns a ReadableStream with the
audio in MPEG
format (check the model's output schema).
API Schemas
{ "type": "object", "properties": { "speaker": { "type": "string", "enum": [ "amalthea", "andromeda", "apollo", "arcas", "aries", "asteria", "athena", "atlas", "aurora", "callista", "cora", "cordelia", "delia", "draco", "electra", "harmonia", "helena", "hera", "hermes", "hyperion", "iris", "janus", "juno", "jupiter", "luna", "mars", "minerva", "neptune", "odysseus", "ophelia", "orion", "orpheus", "pandora", "phoebe", "pluto", "saturn", "thalia", "theia", "vesta", "zeus" ], "default": "luna", "description": "Speaker used to produce the audio." }, "encoding": { "type": "string", "enum": [ "linear16", "flac", "mulaw", "alaw", "mp3", "opus", "aac" ], "description": "Encoding of the output audio." }, "container": { "type": "string", "enum": [ "none", "wav", "ogg" ], "description": "Container specifies the file format wrapper for the output audio. The available options depend on the encoding type.." }, "text": { "type": "string", "description": "The text content to be converted to speech" }, "sample_rate": { "type": "number", "description": "Sample Rate specifies the sample rate for the output audio. Based on the encoding, different sample rates are supported. For some encodings, the sample rate is not configurable" }, "bit_rate": { "type": "number", "description": "The bitrate of the audio in bits per second. Choose from predefined ranges or specific values based on the encoding type." } }, "required": [ "text" ]}{ "type": "string", "contentType": "audio/mpeg", "format": "binary", "description": "The generated audio in MP3 format"}