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

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

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

# TextToVideoPipeline

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

Video generation over a [VideoGenerationModel](../VideoGenerationModel/index.md): a prompt answers its clip and the seed it was drawn from (`text-to-video`).

## Properties

| Name | Summary |
|---|---|
| [model](model.md) | [common]<br>open override val [model](model.md): [VideoGenerationModel](../VideoGenerationModel/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)(prompt: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), options: [VideoGenerationOptions](../VideoGenerationOptions/index.md) = VideoGenerationOptions()): [GeneratedVideo](../GeneratedVideo/index.md) |