---
title: "TextToSpeechPipeline"
sidebar_label: "TextToSpeechPipeline"
description: "Kotlin binding reference: TextToSpeechPipeline."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[TextToSpeechPipeline](index.md)

# TextToSpeechPipeline

[common]\
class [TextToSpeechPipeline](index.md) : [Pipeline](../Pipeline/index.md)

Speech synthesis over a [TtsModel](../TtsModel/index.md): a text answers one clip, the utterance's chunks joined.

## Properties

| Name | Summary |
|---|---|
| [model](model.md) | [common]<br>open override val [model](model.md): [TtsModel](../TtsModel/index.md)<br>The loaded model the pipeline runs. |
| [task](../Pipeline/task.md) | [common]<br>val [task](../Pipeline/task.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)<br>The task the pipeline serves, in transformers' spelling. |

## Functions

| Name | Summary |
|---|---|
| [close](../Pipeline/close.md) | [common]<br>open fun [close](../Pipeline/close.md)(): &lt;Error class: unknown class&gt; |
| [invoke](invoke.md) | [common]<br>operator fun [invoke](invoke.md)(text: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), voice: [VoiceReference](../VoiceReference/index.md)? = null, options: [SpeakOptions](../SpeakOptions/index.md) = SpeakOptions()): [SpeechClip](../SpeechClip/index.md) |