Class GENVoiceGenerationTask<TSelf, TOptions, TPrompt>
Inheritance
object
GENVoiceGenerationTask<TSelf, TOptions, TPrompt>
Assembly: .dll
Syntax
public abstract class GENVoiceGenerationTask<TSelf, TOptions, TPrompt> : GENAudioGenerationTask<TSelf, TOptions, TPrompt>, IGENTask where TSelf : GENVoiceGenerationTask<TSelf, TOptions, TPrompt> where TOptions : IGENAudioOptions
Type Parameters
Name |
Description |
TSelf |
|
TOptions |
|
TPrompt |
|
Constructors
GENVoiceGenerationTask(TPrompt)
Declaration
protected GENVoiceGenerationTask(TPrompt prompt)
Parameters
Type |
Name |
Description |
TPrompt |
prompt |
|
Properties
VoiceId
Declaration
public string VoiceId { get; set; }
Property Value
Methods
SetVoice(Api, string)
Sets the voice preset name (string-based, for future compatibility).
Declaration
public TSelf SetVoice(Api api, string voice)
Parameters
Type |
Name |
Description |
Api |
api |
|
string |
voice |
|
Returns
SetVoice(Voice)
Declaration
public TSelf SetVoice(Voice voice)
Parameters
Type |
Name |
Description |
Voice |
voice |
|
Returns
Implements