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

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

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

# TranscribeOptions

[common]\
data class [TranscribeOptions](index.md)(val language: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)? = null, val translate: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false, val targetLanguage: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)? = null)

How a clip is transcribed: [language](language.md) names the spoken language as an ISO code (`en`), null lets the model detect it; [targetLanguage](targetLanguage.md) names the language of the text, null keeps the spoken one (a transcription) and a code asks a model that translates as it transcribes for the text in it; a model that cannot translate refuses a target that differs from the spoken language, naming what it lacks, and the request ends in [TranscribeListener.onError](../TranscribeListener/onError.md). [translate](translate.md) is the English shorthand: true reads as `targetLanguage = "en"` where no target is named.

## Constructors

| | |
|---|---|
| [TranscribeOptions](TranscribeOptions.md) | [common]<br>constructor(language: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)? = null, translate: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false, targetLanguage: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)? = null) |

## Properties

| Name | Summary |
|---|---|
| [language](language.md) | [common]<br>val [language](language.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)? = null |
| [targetLanguage](targetLanguage.md) | [common]<br>val [targetLanguage](targetLanguage.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)? = null |
| [translate](translate.md) | [common]<br>val [translate](translate.md): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false |