---
title: "Text to Speech"
method: POST
path: "/tts"
---

# Text to Speech

`POST /tts`

Convert text to speech using our advanced AI models

## Headers

- `X-API-KEY` string, required

## Request body

- object
  - `text` string, required — The input text you want to convert to speech.
  - `speaker_no` integer, required — The ID of the speaker voice.
  - `config` object
    - `use_streaming_response` boolean — Set to true for streamed audio, false for a complete audio file response.
    - `sample_rate` number — The sample rate of the output audio in Hz. Only supported by 'neo.one' speakers.
    - `instructions` string — Optional instructions to guide voice generation. Only supported for 'Mermish' speakers.
  - `callback_url` string — URL to receive the API response if different from the origin.

## Response `200`

Successful response

---

[API](https://skmtc.dev/dubverse/apis/dubverse-tts-api.md) · [All operations](https://skmtc.dev/dubverse/apis/dubverse-tts-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dubverse/dubverse-tts-api/revisions/bf3351f3e4dd/schema)
