AI DevKit
Search Results for

    Show / Hide Table of Contents

    Class ImageContentData

    Inheritance
    object
    FileContentData
    ImageContentData
    Inherited Members
    FileContentData.FileData
    FileContentData.FileId
    FileContentData.Filename
    FileContentData.Quote
    FileContentData.MimeType
    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
    In this article
    Back to top Generated by DocFX