Table of Contents

Class GENAudioGenerationTask<TSelf, TOptions, TPrompt>

Namespace
Glitch9.AIDevKit
public abstract class GENAudioGenerationTask<TSelf, TOptions, TPrompt> : GENTask<TSelf, TOptions, TPrompt, GeneratedAudio>, IGENTask where TSelf : GENAudioGenerationTask<TSelf, TOptions, TPrompt> where TOptions : IGENAudioOptions

Type Parameters

TSelf
TOptions
TPrompt
Inheritance
object
GENTask<TSelf, TOptions, TPrompt, GeneratedAudio>
GENAudioGenerationTask<TSelf, TOptions, TPrompt>
Implements
Derived
Inherited Members

Constructors

GENAudioGenerationTask(TPrompt)

protected GENAudioGenerationTask(TPrompt prompt)

Parameters

prompt TPrompt

Properties

ResponseMimeType

public override MIMEType ResponseMimeType { get; set; }

Property Value

MIMEType

Seed

public uint? Seed { get; set; }

Property Value

uint?

Methods

SetEncoding(AudioEncoding)

public GENSpeechTask SetEncoding(AudioEncoding encoding)

Parameters

encoding AudioEncoding

Returns

GENSpeechTask

SetSeed(uint)

Sets a fixed seed to make generation deterministic and repeatable.

public TSelf SetSeed(uint seed)

Parameters

seed uint

Returns

TSelf