Table of Contents

Class AudioGenerationRequest<TSelf, TPrompt>

Namespace
Glitch9.AIDevKit
public abstract class AudioGenerationRequest<TSelf, TPrompt> : GenerativeRequest<TSelf, TPrompt, Generated<AudioClip>, float[], IGenerativeAudioEvent>, IGenerativeRequest, ISequentialRequest where TSelf : AudioGenerationRequest<TSelf, TPrompt> where TPrompt : IPrompt

Type Parameters

TSelf
TPrompt
Inheritance
object
FluentApiRequest<TSelf, Generated<AudioClip>>
GenerativeRequest<TSelf, TPrompt, Generated<AudioClip>, float[], IGenerativeAudioEvent>
AudioGenerationRequest<TSelf, TPrompt>
Implements
Derived
Inherited Members
Extension Methods

Constructors

AudioGenerationRequest(TPrompt)

protected AudioGenerationRequest(TPrompt prompt)

Parameters

prompt TPrompt

Properties

ElevenLabsFormat

Only applicable when using ElevenLabs API.
ElevenLabs output format (bitrate and sample rate).

public ElevenLabsTypes.OutputFormat ElevenLabsFormat { get; set; }

Property Value

ElevenLabsTypes.OutputFormat

ResponseMimeType

public override MimeType ResponseMimeType { get; set; }

Property Value

MimeType

Methods

SetElevenLabsFormat(OutputFormat)

public TSelf SetElevenLabsFormat(ElevenLabsTypes.OutputFormat format)

Parameters

format ElevenLabsTypes.OutputFormat

Returns

TSelf

SetEncoding(AudioEncoding)

public TSelf SetEncoding(AudioEncoding encoding)

Parameters

encoding AudioEncoding

Returns

TSelf