VoiceCreateRequest

sealed interface VoiceCreateRequest

Creates a voice from either a consented recording or a text description.

Inheritors

Types

Link copied to clipboard
@Serializable
data class Prompt(val name: String, val prompt: String, val model: String? = null, val scriptHint: String? = null) : VoiceCreateRequest

Creates a prompt-generated voice for Live; no recordings or consent resource are required.

Link copied to clipboard
data class Sample(val name: String, val audioSample: FileSource, val consent: String, val mediaType: String? = null) : VoiceCreateRequest

Creates a voice from an audio sample and an existing consent from the same speaker.

Properties

Link copied to clipboard
abstract val name: String

Label for the saved voice.