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

# Overview

> Text to Voice is an advanced feature that converts written text into natural-sounding speech using AI technology. This service enables dynamic content creation with high-quality voice synthesis for various applications including video narration, audiobooks, and more.

## Getting Started

**1. Get Available Voices**

First, retrieve the list of available voices by making a GET request to:

```bash theme={null}
GET https://mango.quickreel.io/api/v2/constants/voices
```

This will return over 800 voices with their details including:

* voiceId (required for next step)
* name
* gender
* languageCode
* style
* sampleVoiceUrl

> [!NOTE]
>
> For Getting the list of voices, Please refer to the [Voices Page](https://docs.quickreel.io/api-reference/tts/voices.md).

**2. Create Text-to-Voice Request**

**Base URL:** `https://mango.quickreel.io/api/v2`

**Endpoint:** `/tts`

**Method:** `POST`

**Headers:**

```markdown theme={null}
Content-Type: application/json
x-api-key: <your_api_key>
```

**Request Body Parameters:**

| Key | Data Type | Description | Mandatory |
| - | - | - | - |
| script/prompt | STRING | Either provide a script directly or a prompt to generate content | Required (one of them) |
| voiceId | STRING | ID of the selected voice for synthesis | Required |
| webhookUrl | STRING | URL to receive processing updates | Required |

> [!NOTE]
>
> For optimal results, we recommend: - Maximum script length of 100 words per
> request - Clear, well-structured prompts - High-quality reference materials
> when needed

## Key Features

> [card] Natural Voice Synthesis
>
> Advanced AI models generate human-like speech with natural intonation and
> pronunciation.

> [card] Multiple Voice Options
>
> Choose from a diverse selection of voices with different accents, ages, and
> styles.

> [card] Multi-language Support
>
> Support for multiple languages and regional accents to serve global
> audiences.

> [card] Customizable Speech
>
> Control speech parameters like speed, pitch, and emphasis for perfect
> delivery.

> [!NOTE]
>
> High-quality voice synthesis is crucial for creating engaging audio content
> that maintains listener attention.

### Voice Processing Features

* Advanced text preprocessing for optimal pronunciation
* Natural prosody and emotional expression
* Support for SSML tags for fine-tuned control
* Real-time processing status updates

### Voice Customization

* Adjustable speaking rate and pitch
* Multiple accent options per language
* Custom pronunciation dictionary support
* Voice cloning capabilities (premium feature)

### Output Options

* Multiple audio format support (MP3, WAV, OGG)
* Various quality settings
* Batch processing capability
* Streaming audio output

> [card] [Need Support?](https://discord.com/invite/HXQ92SDamV)
>
> Join our Discord community for technical support and usage tips.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.