Class ImageContentData
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: .dll
Syntax
public class ImageContentData : FileContentData
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
Declaration
public OpenAITypes.ImageDetail? Detail { get; set; }
Property Value
Type | Description |
---|---|
OpenAITypes.ImageDetail? |
IsBase64
Indicates if the image is in base64 format. This is true if the URL starts with "data:image/png;base64,".
Declaration
public bool IsBase64 { get; }
Property Value
Type | Description |
---|---|
bool |
Url
Either a URL of the image or the base64 encoded image data.
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
string |