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

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

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

# needsReference

[common]\
val [needsReference](needsReference.md): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false

True when a text-to-speech model conditions every utterance on a reference voice ([TtsModel.speak](../TtsModel/speak.md) with a [VoiceReference](../VoiceReference/index.md)); a request without one is refused and ends in [SpeakListener.onError](../SpeakListener/onError.md). False for a model that speaks its own voice, and for every model that is not a text-to-speech model.