Class GENAudioGenerationTask<TSelf, TOptions, TPrompt>
Inheritance
object
GENAudioGenerationTask<TSelf, TOptions, TPrompt>
Assembly: .dll
Syntax
public abstract class GENAudioGenerationTask<TSelf, TOptions, TPrompt> : GENTask<TSelf, TOptions, TPrompt, GeneratedAudio>, IGENTask where TSelf : GENAudioGenerationTask<TSelf, TOptions, TPrompt> where TOptions : IGENAudioOptions
Type Parameters
Name |
Description |
TSelf |
|
TOptions |
|
TPrompt |
|
Constructors
GENAudioGenerationTask(TPrompt)
Declaration
protected GENAudioGenerationTask(TPrompt prompt)
Parameters
Type |
Name |
Description |
TPrompt |
prompt |
|
Properties
ResponseMimeType
Declaration
public override MIMEType ResponseMimeType { get; set; }
Property Value
Type |
Description |
MIMEType |
|
Overrides
Seed
Declaration
public uint? Seed { get; set; }
Property Value
Methods
SetEncoding(AudioEncoding)
Declaration
public GENSpeechTask SetEncoding(AudioEncoding encoding)
Parameters
Type |
Name |
Description |
AudioEncoding |
encoding |
|
Returns
SetSeed(uint)
Sets a fixed seed to make generation deterministic and repeatable.
Declaration
public TSelf SetSeed(uint seed)
Parameters
Type |
Name |
Description |
uint |
seed |
|
Returns
Implements