ImageCreationRequest

@Serializable
data class ImageCreationRequest(val prompt: String, val n: Int? = null, val size: ImageSize? = null, val user: String? = null, val responseFormat: ImageResponseFormat, val model: String? = null, val quality: Quality? = null, val style: Style? = null)

Image generation request. Results are expected as URLs.

Constructors

Link copied to clipboard
constructor(prompt: String, n: Int? = null, size: ImageSize? = null, user: String? = null, responseFormat: ImageResponseFormat, model: String? = null, quality: Quality? = null, style: Style? = null)

Properties

Link copied to clipboard
val model: String? = null
Link copied to clipboard
val n: Int? = null
Link copied to clipboard
Link copied to clipboard
val quality: Quality? = null
Link copied to clipboard
Link copied to clipboard
val size: ImageSize? = null
Link copied to clipboard
val style: Style? = null
Link copied to clipboard
val user: String? = null