Table of Contents

Class ImagePrice

Namespace
Glitch9.AIDevKit
[Serializable]
public class ImagePrice : ModelPrice
Inheritance
object
ImagePrice
Inherited Members

Constructors

ImagePrice()

public ImagePrice()

ImagePrice(double)

public ImagePrice(double cost)

Parameters

cost double

Fields

noBackground

public bool noBackground

Field Value

bool

quality

public ImageQuality quality

Field Value

ImageQuality

size

public ImageSize size

Field Value

ImageSize

Methods

OpenAI(ImageSize, ImageQuality, double)

public static ImagePrice OpenAI(ImageSize size, ImageQuality quality, double cost)

Parameters

size ImageSize
quality ImageQuality
cost double

Returns

ImagePrice

PixelArt(int, int, double, bool)

public static ImagePrice PixelArt(int width, int height, double cost, bool noBackground = false)

Parameters

width int
height int
cost double
noBackground bool

Returns

ImagePrice