---
title: "Text to Speech transformation"
method: POST
path: "/v1/speak"
tags: ["audio"]
---

# Text to Speech transformation

`POST /v1/speak`

Convert text into natural-sounding speech using Deepgram's TTS REST API

## Query parameters

- `callback` string
- `callback_method` 'POST' | 'PUT'
- `mip_opt_out` boolean
- `tag` union
  - string
  - string[]
- `bit_rate` union
  - '32000' | '48000' — Encoding - mp3(default). Supported bitrates - 32000, 48000(default) bps.
  - number, double
  - number, double
- `container` union
  - 'none' — No container.
  - 'wav' — Encoding - linear16. Supported container - wav (default), or no container.
  - 'wav' — Encoding - mulaw. Supported container - wav (default), or no container.
  - 'wav' — Encoding - alaw. Supported container - wav (default), or no container.
  - 'ogg' — Encoding - opus. Supported container - ogg (default).
- `encoding` union
  - 'linear16' — Encoding - linear16. Uncompressed, high-quality audio format often used for telephony or audio processing.
  - 'flac' — Encoding - flac. Lossless audio format for high-quality compression.
  - 'mulaw' — Encoding - mulaw. Compressed audio format commonly used in telephony.
  - 'alaw' — Encoding - alaw. Similar to mulaw but used in international telephony.
  - 'mp3' — Encoding - mp3. Popular compressed audio format for music and streaming.
  - 'opus' — Encoding - opus. High-compression audio format optimized for real-time communications.
  - 'aac' — Encoding - aac. Advanced audio format offering better quality at smaller file sizes than mp3.
- `model` 'aura-angus-en' | 'aura-arcas-en' | 'aura-asteria-en' | 'aura-athena-en' | 'aura-helios-en' | 'aura-hera-en' | 'aura-luna-en' | 'aura-orion-en' | 'aura-orpheus-en' | 'aura-perseus-en' | 'aura-stella-en' | 'aura-zeus-en' | 'aura-2-amalthea-en' | 'aura-2-andromeda-en' | 'aura-2-apollo-en' | 'aura-2-arcas-en' | 'aura-2-aries-en' | 'aura-2-asteria-en' | 'aura-2-athena-en' | 'aura-2-atlas-en' | 'aura-2-aurora-en' | 'aura-2-callista-en' | 'aura-2-cora-en' | 'aura-2-cordelia-en' | 'aura-2-delia-en' | 'aura-2-draco-en' | 'aura-2-electra-en' | 'aura-2-harmonia-en' | 'aura-2-helena-en' | 'aura-2-hera-en' | 'aura-2-hermes-en' | 'aura-2-hyperion-en' | 'aura-2-iris-en' | 'aura-2-janus-en' | 'aura-2-juno-en' | 'aura-2-jupiter-en' | 'aura-2-luna-en' | 'aura-2-mars-en' | 'aura-2-minerva-en' | 'aura-2-neptune-en' | 'aura-2-odysseus-en' | 'aura-2-ophelia-en' | 'aura-2-orion-en' | 'aura-2-orpheus-en' | 'aura-2-pandora-en' | 'aura-2-phoebe-en' | 'aura-2-pluto-en' | 'aura-2-saturn-en' | 'aura-2-selene-en' | 'aura-2-thalia-en' | 'aura-2-theia-en' | 'aura-2-vesta-en' | 'aura-2-zeus-en' | 'aura-2-agustina-es' | 'aura-2-alvaro-es' | 'aura-2-antonia-es' | 'aura-2-aquila-es' | 'aura-2-carina-es' | 'aura-2-celeste-es' | 'aura-2-diana-es' | 'aura-2-estrella-es' | 'aura-2-gloria-es' | 'aura-2-javier-es' | 'aura-2-luciano-es' | 'aura-2-nestor-es' | 'aura-2-olivia-es' | 'aura-2-selena-es' | 'aura-2-silvia-es' | 'aura-2-sirio-es' | 'aura-2-valerio-es' | 'aura-2-aurelia-de' | 'aura-2-elara-de' | 'aura-2-fabian-de' | 'aura-2-julius-de' | 'aura-2-kara-de' | 'aura-2-lara-de' | 'aura-2-viktoria-de' | 'aura-2-beatrix-nl' | 'aura-2-cornelia-nl' | 'aura-2-daphne-nl' | 'aura-2-hestia-nl' | 'aura-2-lars-nl' | 'aura-2-leda-nl' | 'aura-2-rhea-nl' | 'aura-2-roman-nl' | 'aura-2-sander-nl' | 'aura-2-agathe-fr' | 'aura-2-hector-fr' | 'aura-2-cesare-it' | 'aura-2-cinzia-it' | 'aura-2-demetra-it' | 'aura-2-dionisio-it' | 'aura-2-elio-it' | 'aura-2-flavio-it' | 'aura-2-livia-it' | 'aura-2-maia-it' | 'aura-2-melia-it' | 'aura-2-perseo-it' | 'aura-2-ama-ja' | 'aura-2-ebisu-ja' | 'aura-2-fujin-ja' | 'aura-2-izanami-ja' | 'aura-2-uzume-ja'
- `sample_rate` union
  - '8000' | '16000' | '24000' | '32000' | '48000' — Encoding - linear16. Supported sample rates - 8000, 16000, 24000, 32000, 48000 Hz.
  - '8000' | '16000' — Encoding - mulaw. Supported sample rates - 8000, 16000 Hz.
  - '8000' | '16000' — Encoding - alaw. Supported sample rates - 8000, 16000 Hz.
  - '22050' — Encoding - mp3. Sample rate is fixed and not configurable (22050 Hz).
  - '48000' — Encoding - opus. Sample rate is fixed at 48000 Hz.
- `speed` number, double

## Headers

- `Authorization` string, required

## Request body

- SpeakV1Request — Request body for text-to-speech conversion
  - `text` string, required — The text content to be converted to speech

## Response `200`

Successful text-to-speech transformation

- SpeakV1AudioGenerateResponse200 — Empty response body

## Other responses

- `400` — Invalid Request

---

[API](https://skmtc.net/deepgram/apis/rest-api.md) · [All operations](https://skmtc.net/deepgram/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deepgram/rest-api/revisions/bd7ba5c18a6b/schema)
