Table of Contents

Class Image

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

public class Image : OpenAIModelBase
Inheritance
object
Image
Inherited Members

Properties

B64Json

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

public string B64Json { get; set; }

Property Value

string

RevisedPrompt

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

public string RevisedPrompt { get; set; }

Property Value

string

Url

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

public string Url { get; set; }

Property Value

string