ImageURL

@Serializable
data class ImageURL(val url: String, val revisedPrompt: String? = null)

Generated image URL.

Constructors

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

Properties

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.

Link copied to clipboard
@SerialName(value = "url")
val url: String

Image url string.