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
@SerialName(value = "b64_json")
val b64JSON: String

Image url string.

Link copied to clipboard
@SerialName(value = "revised_prompt")
val revisedPrompt: String? = null

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