Table of Contents

Class SpeechGenerationOptions

Namespace
Glitch9.AIDevKit
public class SpeechGenerationOptions
Inheritance
object
SpeechGenerationOptions

Properties

SpeechAudioFormat

Parameters for audio output. Required when audio output is requested with modalities: ["audio"].

public AudioEncoding? SpeechAudioFormat { get; set; }

Property Value

AudioEncoding?

VoiceId

The voice the model uses to respond. Supported voices are alloy, ash, ballad, coral, echo, fable, nova, onyx, sage, and shimmer.

public string VoiceId { get; set; }

Property Value

string