Table of Contents

Class AudioResponseFormat

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Format of audio output.

public class AudioResponseFormat
Inheritance
AudioResponseFormat
Inherited Members
Extension Methods

Properties

BitRate

Bit rate in bits per second.

[JsonPropertyName("bitRate")]
public int? BitRate { get; set; }

Property Value

int?

Delivery

Whether the audio is returned inline or as a URI.

[JsonPropertyName("delivery")]
public Delivery? Delivery { get; set; }

Property Value

Delivery?

MimeType

MIME type of the audio.

[JsonPropertyName("mimeType")]
public string? MimeType { get; set; }

Property Value

string

SampleRate

Sample rate in hertz.

[JsonPropertyName("sampleRate")]
public int? SampleRate { get; set; }

Property Value

int?