Model

data class Model(val id: String, val name: String, val description: String? = null, val canDoTextToSpeech: Boolean, val canDoVoiceConversion: Boolean, val canUseStyle: Boolean, val canUseSpeakerBoost: Boolean, val maximumTextLengthPerRequest: Int? = null, val languages: List<ModelLanguage> = emptyList())(source)

Describes an ElevenLabs model and its supported capabilities.

Constructors

Link copied to clipboard
constructor(id: String, name: String, description: String? = null, canDoTextToSpeech: Boolean, canDoVoiceConversion: Boolean, canUseStyle: Boolean, canUseSpeakerBoost: Boolean, maximumTextLengthPerRequest: Int? = null, languages: List<ModelLanguage> = emptyList())

Properties

Link copied to clipboard

Whether the model supports text-to-speech generation.

Link copied to clipboard

Whether the model supports voice conversion.

Link copied to clipboard

Whether the model accepts the speaker-boost voice setting.

Link copied to clipboard

Whether the model accepts the style voice setting.

Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard

Languages supported by this model.

Link copied to clipboard

Maximum input length accepted per request, when reported by the API.

Link copied to clipboard