voice_id parameter (not voice).
Create a Custom Voice
Upload an audio file to create a new voice clone. A minimum of 10 seconds of clear audio is recommended for best results.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
audio_file | string | Yes | Path to the audio file (WAV, MP3, etc.) |
name | string | Yes | A name for the voice |
description | string | No | A description of the voice |
language | string | No | Language hint for the voice (e.g. "en", "fr", "de", "es", "pt") |
start_s | float | No | Start time in seconds to begin sampling from the audio file (default 0.0) |
timeout_s | float | No | Maximum seconds to wait for embedding extraction (default 10.0) |
input_format | string | No | Audio format. If omitted, inferred from the file extension |