Skip to main content

Text to Speech

Convert text into natural-sounding speech with customizable voices and emotional delivery.

Try it out

Test the Text to Speech API directly in your browser with our interactive playground.

Overview

The Text to Speech API converts text into high-quality audio using advanced neural voice models. It supports multiple languages, voices, and emotional styles.

API Reference

Endpoint

POST https://api.tryvinci.com/vincitts

Headers

NameTypeDescription
X-User-IDstringRequired. Your user ID

Request Parameters

ParameterTypeDescription
textstringThe text to convert to speech
voice_idstringThe ID of the voice to use

Response

{
url: string, // URL to the generated audio file
media_type: string, // "audio/wav"
user_id: string // The user ID used for the request
}

Code Examples

import requests

url = "https://api.tryvinci.com/vincitts"
headers = {"X-User-ID": "your-user-id"}
data = {
"text": "Welcome to Vinci AI Studio!",
"voice_id": "voice_1"
}

response = requests.post(url, headers=headers, data=data)
result = response.json()
print(f"Audio URL: {result['url']}")

Voice Options

Available Voices

Choose from our library of pre-trained voices or use custom voice cloning.

Language Support

Supports 32+ languages with native-speaking voices.

Voice Customization

Control speech rate, pitch, and emotional style.

Best Practices

Text Formatting

Use punctuation to control pacing and intonation.

Audio Quality

Higher quality options available for professional use.

Performance

For real-time applications, use our optimized streaming endpoint with 75ms latency.