Class ImagePrice
[Serializable]
public class ImagePrice : ModelPrice
- Inheritance
-
objectImagePrice
- Inherited Members
Constructors
ImagePrice()
public ImagePrice()
ImagePrice(double)
public ImagePrice(double cost)
Parameters
costdouble
Fields
noBackground
public bool noBackground
Field Value
- bool
quality
public ImageQuality quality
Field Value
size
public ImageSize size
Field Value
Methods
OpenAI(ImageSize, ImageQuality, double)
public static ImagePrice OpenAI(ImageSize size, ImageQuality quality, double cost)
Parameters
sizeImageSizequalityImageQualitycostdouble
Returns
PixelArt(int, int, double, bool)
public static ImagePrice PixelArt(int width, int height, double cost, bool noBackground = false)
Parameters
widthintheightintcostdoublenoBackgroundbool