ImageJSON

@Serializable
data class ImageJSON(val b64JSON: String, val revisedPrompt: String? = null)

Generated image JSON (base 64).

Constructors

Link copied to clipboard
constructor(b64JSON: String, revisedPrompt: String? = null)

Properties

Link copied to clipboard

Image url string.

Link copied to clipboard
val revisedPrompt: String? = null

The prompt that was used to generate the image if there was any revision to the prompt.