Package-level declarations

Types

Link copied to clipboard
@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.

Link copied to clipboard
@Serializable
value class ImageResponseFormat(val format: String)

The format in which the generated images are returned.