Class ImageGenerationCall
An image generation request made by the model.
public sealed class ImageGenerationCall : BaseResponse, IResponseItem, IServerSentEvent, IListItem
- Inheritance
-
ImageGenerationCall
- Implements
- Inherited Members
Properties
Id
The unique ID of this response item.
[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("id")]
public string Id { get; }
Property Value
Object
[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("object")]
public string Object { get; }
Property Value
Result
The generated image encoded in base64.
[JsonInclude]
[JsonPropertyName("result")]
public string Result { get; }
Property Value
Status
The status of the response item.
[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("status")]
public ResponseStatus Status { get; }
Property Value
Type
[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonPropertyName("type")]
public ResponseItemType Type { get; }