Table of Contents

Class VisionGenerativeModelResult

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Represents the result of a vision generative model.

public class VisionGenerativeModelResult
Inheritance
VisionGenerativeModelResult
Inherited Members
Extension Methods

Properties

BytesBase64Encoded

Gets or sets the base64 encoded generated image.

[JsonPropertyName("bytesBase64Encoded")]
public string? BytesBase64Encoded { get; set; }

Property Value

string

MimeType

Gets or sets the MIME type of the generated image.

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

Property Value

string

Prompt

Enhanced prompt used for generation.

[JsonPropertyName("prompt")]
public string? Prompt { get; set; }

Property Value

string

RaiFilteredReason

Gets or sets the reason why the image was filtered by responsible AI, if applicable.

[JsonPropertyName("raiFilteredReason")]
public string? RaiFilteredReason { get; set; }

Property Value

string

SafetyAttributes

Gets or sets the safety attributes of the generated image.

[JsonPropertyName("safetyAttributes")]
public SafetyAttributes? SafetyAttributes { get; set; }

Property Value

SafetyAttributes

See Also