> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dubverse.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Welcome to Dubverse TTS API

> Get started with our Text-to-Speech API

<div className="bg-[#0F1117] p-4 rounded-lg">
  <img className="block dark:hidden" src="https://mintcdn.com/dubverseai/47J-WtBCLc4i4UWr/images/two_models.svg?fit=max&auto=format&n=47J-WtBCLc4i4UWr&q=85&s=e6cd4144325462b118e5c8ef2d8db42b" alt="API Introduction Dark" width="370" height="227" data-path="images/two_models.svg" />
</div>

<img className="hidden dark:block" src="https://mintcdn.com/dubverseai/47J-WtBCLc4i4UWr/images/two_models.svg?fit=max&auto=format&n=47J-WtBCLc4i4UWr&q=85&s=e6cd4144325462b118e5c8ef2d8db42b" alt="API Introduction Dark" width="370" height="227" data-path="images/two_models.svg" />

## API Quick Reference

### Endpoint

```
POST https://audio.dubverse.ai/api/tts
```

### Headers

```
X-API-Key: YOUR_API_KEY_HERE
Content-Type: application/json
```

### Request Body

```json theme={null}
{
  "text": "Hello welcome to AI voices by Dubverse where voices are so real, you won't know it's AI!",
  "speaker_no": 1195,
  "config": {
    "use_streaming_response": false
  }
}
```

### Sample cURL Request

```bash theme={null}
curl -X POST "https://audio.dubverse.ai/api/tts" \
-H "X-API-Key: YOUR_API_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{
"text": "Hello welcome to AI voices by Dubverse where voices are so real, you won't know it's AI!",
"speaker_no": 1195,
"config": {
"use_streaming_response": false
}
}'
```

## Key Features

<CardGroup cols={2}>
  <Card title="High-quality TTS" icon="waveform-lines">
    Convert text to natural-sounding speech
  </Card>

  <Card title="Multiple Speakers" icon="users">
    Choose from a variety of voice options
  </Card>

  <Card title="Customizable Parameters" icon="sliders">
    Adjust speech parameters to your needs
  </Card>

  <Card title="Streaming Support" icon="tower-broadcast">
    Get streamed or non-streamed audio output
  </Card>
</CardGroup>

## Quick Start Guide

<CardGroup cols={3}>
  <Card title="Create Account" icon="user-plus" href="/account-creation">
    Set up your Dubverse account
  </Card>

  <Card title="Get API Key" icon="key" href="/api-key">
    Obtain your API credentials
  </Card>

  <Card title="First API Call" icon="code" href="/first-call">
    Make your first TTS request
  </Card>
</CardGroup>

## Need Help?

If you need assistance or have any questions, please don't hesitate to contact our support team at [friends@dubverse.ai](mailto:friends@dubverse.ai).

Thank you for choosing our TTS API. We're excited to see what you'll create!
