Class Image
Represents the Url or the content of an image generated by the OpenAI API.
Inherited Members
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 |