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

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

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

# VideoGenerationListener

[common]\
interface [VideoGenerationListener](index.md)

The calls a video-generation request makes on the model's worker thread, in order: [onVideo](onVideo.md) once with the clip and the seed the model drew, then [onDone](onDone.md); or [onError](onError.md) alone when the request fails.

## Functions

| Name | Summary |
|---|---|
| [onDone](onDone.md) | [common]<br>abstract fun [onDone](onDone.md)(report: [VideoGenerationReport](../VideoGenerationReport/index.md))<br>The request ended: its facts. A canceled request ends here with [VideoGenerationReport.canceled](../VideoGenerationReport/canceled.md) true. |
| [onError](onError.md) | [common]<br>abstract fun [onError](onError.md)(message: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html))<br>The request failed; the model's message. The request is over. |
| [onVideo](onVideo.md) | [common]<br>abstract fun [onVideo](onVideo.md)(video: [GeneratedVideo](../GeneratedVideo/index.md))<br>The clip: its frames, its rate, the seed it was drawn from, and its sound where the family answers one. |