OpenAiRequest

@Serializable
data class OpenAiRequest(val prompt: String, val model: String, val size: String, val quality: String? = null)(source)

Carries OpenAiRequest data through the SDAI network layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(prompt: String, model: String, size: String, quality: String? = null)

Properties

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

Exposes the model value used by the SDAI network layer.

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

Exposes the prompt value used by the SDAI network layer.

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

Exposes the quality value used by the SDAI network layer.

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

Exposes the size value used by the SDAI network layer.