Table of Contents

Class GENVoiceGenerationTask<TSelf, TOptions, TPrompt>

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

Type Parameters

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

Constructors

GENVoiceGenerationTask(TPrompt)

protected GENVoiceGenerationTask(TPrompt prompt)

Parameters

prompt TPrompt

Properties

VoiceId

public string VoiceId { get; set; }

Property Value

string

Methods

SetVoice(Api, string)

Sets the voice preset name (string-based, for future compatibility).

public TSelf SetVoice(Api api, string voice)

Parameters

api Api
voice string

Returns

TSelf

SetVoice(Voice)

public TSelf SetVoice(Voice voice)

Parameters

voice Voice

Returns

TSelf