Table of Contents

Class ImageContentData

Namespace
Glitch9.AIDevKit
public class ImageContentData : FileContentData
Inheritance
object
ImageContentData
Inherited Members

Properties

Detail

Specifies the detail level of the image. low uses fewer tokens, you can opt in to high resolution using high. Default value is auto

public OpenAITypes.ImageDetail? Detail { get; set; }

Property Value

OpenAITypes.ImageDetail?

IsBase64

Indicates if the image is in base64 format. This is true if the URL starts with "data:image/png;base64,".

public bool IsBase64 { get; }

Property Value

bool

Url

Either a URL of the image or the base64 encoded image data.

public string Url { get; set; }

Property Value

string