//clika-runtime/io.clika.modelverse/TextToSpeechPipeline
TextToSpeechPipeline
[common]
class TextToSpeechPipeline : Pipeline
Speech synthesis over a TtsModel: a text answers one clip, the utterance's chunks joined.
Properties
| Name | Summary |
|---|---|
| model | [common] open override val model: TtsModel The loaded model the pipeline runs. |
| task | [common] val task: String The task the pipeline serves, in transformers' spelling. |
Functions
| Name | Summary |
|---|---|
| close | [common] open fun close(): <Error class: unknown class> |
| invoke | [common] operator fun invoke(text: String, voice: VoiceReference? = null, options: SpeakOptions = SpeakOptions()): SpeechClip |