Console

Create Voice

POST/v1/audio/voices

Upload a local reference audio file to create a reusable voice ID.

Request body parameters

FieldTypeRequiredDescription
audio_sample: fileRequired

Local reference audio. Supports wav, mp3, m4a, and flac; maximum file size 10 MB and duration 30 seconds.

name: stringOptional

Voice name.

Return value

FieldTypeDescription
id: string

voice id; referenced by endpoints such as TTS/TTSD.

object: string

Fixed as audio.voice.

name: string

Voice name; may be an empty string when name is not provided.

created_at: integer

Creation time, a Unix timestamp in seconds.