AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class Image

    Represents the Url or the content of an image generated by the OpenAI API.

    Inheritance
    object
    ModelResponse
    Image
    Inherited Members
    ModelResponse.Id
    ModelResponse.Object
    ModelResponse.Model
    ModelResponse.CreatedAt
    ModelResponse.Metadata
    ModelResponse.Usage
    Namespace: Glitch9.AIDevKit.OpenAI
    Assembly: .dll
    Syntax
    public class Image : ModelResponse

    Properties

    B64Json

    The base64-encoded JSON of the generated image, if response_format is Base64Json.

    Declaration
    public string B64Json { get; set; }
    Property Value
    Type Description
    string

    RevisedPrompt

    The prompt that was used to generate the image, if there was any revision to the prompt.

    Declaration
    public string RevisedPrompt { get; set; }
    Property Value
    Type Description
    string

    Url

    The URL of the generated image, if response_format is Url (default).

    Declaration
    public string Url { get; set; }
    Property Value
    Type Description
    string
    In this article
    Back to top Generated by DocFX