Voice

data class Voice(val id: String, val name: String, val category: String? = null, val description: String? = null, val previewUrl: String? = null, val labels: Map<String, String> = emptyMap())(source)

A voice available for speech generation.

Constructors

Link copied to clipboard
constructor(id: String, name: String, category: String? = null, description: String? = null, previewUrl: String? = null, labels: Map<String, String> = emptyMap())

Properties

Link copied to clipboard

Voice category reported by ElevenLabs.

Link copied to clipboard

Human-readable description, when provided.

Link copied to clipboard
val id: String

Stable voice identifier accepted by text-to-speech requests.

Link copied to clipboard

Descriptive metadata attached to the voice.

Link copied to clipboard

Display name of the voice.

Link copied to clipboard

URL of a preview recording, when provided.