Skip to main content

Voice Conversion

Transform any voice to match a target speaker while maintaining natural intonation and emotion.

Try it out

Test the Voice Conversion API directly in your browser with our interactive playground.

Overview

The Voice Conversion API allows you to modify the voice characteristics of audio content while preserving the original speech content, timing, and emotion.

API Reference

Endpoint

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

Headers

NameTypeDescription
X-User-IDstringRequired. Your user ID

Request Body

Multipart form data with:

ParameterTypeDescription
audioFileSource audio file to convert
target_voicestringTarget voice identifier

Response

{
url: string, // URL to the converted 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/vincivoice"
headers = {"X-User-ID": "your-user-id"}
files = {"audio": open("input.wav", "rb")}
data = {"target_voice": "voice_1"}

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

Voice Features

Target Voices

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

Audio Requirements

Supports WAV, MP3, and M4A formats. Recommended: 16-bit PCM WAV.

Quality Control

Automatic audio enhancement and noise reduction included.

Best Practices

Audio Quality

Use high-quality source audio for best results.

Duration Limits

Optimal performance for 5-30 second segments.

Optimization

For longer content, consider splitting into smaller segments and using our batch processing endpoint.