RimeAIVoice

interface RimeAIVoice : RimeAIVoiceProperties(source)

Properties

Link copied to clipboard
abstract var customModel: String

This enables specifying a model that doesn't already exist as an ElevenLabsVoiceModelType enum.

Link copied to clipboard
abstract var customVoiceId: String

This enables specifying a voice that doesn't already exist as an RimeAIVoiceIdType enum.

Link copied to clipboard
abstract var fillerInjectionEnabled: Boolean?

This determines whether fillers are injected into the model output before inputting it into the voice provider.
Default `false` because you can achieve better results with prompting the model.

Link copied to clipboard

This is the model that will be used. Defaults to 'v1' when not specified.

Link copied to clipboard
abstract var speed: Double

This is the speed multiplier that will be used.

Link copied to clipboard

This is the provider-specific ID that will be used.

Functions

Link copied to clipboard
abstract fun chunkPlan(block: ChunkPlan.() -> Unit)

This is the chunk plan for controlling how the model output is split into chunks before being sent to the voice provider for generation.