Table of Contents

Class AudioChunk

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Representation of an audio chunk.

public class AudioChunk
Inheritance
AudioChunk
Inherited Members
Extension Methods

Properties

Data

Raw bytes of audio data.

[JsonPropertyName("data")]
public byte[]? Data { get; set; }

Property Value

byte[]

MimeType

MIME type of the audio chunk.

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

Property Value

string

SourceMetadata

Prompts and config used for generating this audio chunk.

[JsonPropertyName("sourceMetadata")]
public LiveMusicSourceMetadata? SourceMetadata { get; set; }

Property Value

LiveMusicSourceMetadata