Table of Contents

Class ImageResult

Namespace
OpenAI.Images
Assembly
OpenAI-DotNet.dll
public sealed class ImageResult
Inheritance
ImageResult
Inherited Members

Properties

B64_Json

[JsonInclude]
[JsonPropertyName("b64_json")]
public string B64_Json { get; }

Property Value

string

Background

[JsonIgnore]
public string Background { get; }

Property Value

string

CreatedAt

[JsonIgnore]
public DateTime CreatedAt { get; }

Property Value

DateTime

OutputFormat

[JsonIgnore]
public string OutputFormat { get; }

Property Value

string

Quality

[JsonIgnore]
public string Quality { get; }

Property Value

string

RevisedPrompt

[JsonInclude]
[JsonPropertyName("revised_prompt")]
public string RevisedPrompt { get; }

Property Value

string

Size

[JsonIgnore]
public string Size { get; }

Property Value

string

Url

[JsonInclude]
[JsonPropertyName("url")]
public string Url { get; }

Property Value

string

Usage

[JsonIgnore]
public TokenUsage Usage { get; }

Property Value

TokenUsage

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Operators

implicit operator string(ImageResult)

public static implicit operator string(ImageResult result)

Parameters

result ImageResult

Returns

string