Skip to content

GeneratedSpeech

What generateSpeech returns.

artifact: MediaArtifact

A reference to the audio. Read it with readArtifact(), release it with disposeArtifact().


finishReason: FinishReason


optional provenance?: ExecutionProvenance


runId: string


optional speech?: SpeechOutput

The locale and voice actually used, so an unmet preference is visible.


taskResult: TaskResult

The canonical result, for anything the summary above leaves out.