Class

SpeechSynthesisRequest

USI.AI

Public SDK type.

public sealed class SpeechSynthesisRequest : IEquatable<SpeechSynthesisRequest>

Constructors

SpeechSynthesisRequest

public SpeechSynthesisRequest(string Text, string Voice = null, string Model = null, string Instructions = null, SpeechAudioFormat Format = Wav, double Speed = 1)

Properties

Format

public SpeechAudioFormat Format { get; set; }

Instructions

public string Instructions { get; set; }

Model

public string Model { get; set; }

Speed

public double Speed { get; set; }

Text

public string Text { get; set; }

Voice

public string Voice { get; set; }

Methods

<Clone>$

public SpeechSynthesisRequest <Clone>$()

Deconstruct

public void Deconstruct(string Text, string Voice, string Model, string Instructions, SpeechAudioFormat Format, double Speed)

Equals

public bool Equals(object obj)

Equals

public bool Equals(SpeechSynthesisRequest other)

GetHashCode

public int GetHashCode()

ToString

public string ToString()