HordeGenerationAsyncRequest

@Serializable
data class HordeGenerationAsyncRequest(val prompt: String, val params: HordeGenerationAsyncRequest.Params, val nsfw: Boolean, val sourceProcessing: String?, val sourceImage: String?)(source)

Carries HordeGenerationAsyncRequest data through the SDAI network layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(prompt: String, params: HordeGenerationAsyncRequest.Params, nsfw: Boolean, sourceProcessing: String?, sourceImage: String?)

Types

Link copied to clipboard
@Serializable
data class Params(val cfgScale: Float, val width: Int, val height: Int, val steps: Int?, val seed: String?, val subSeedStrength: Float?)

Carries Params data through the SDAI network layer.

Properties

Link copied to clipboard
@SerialName(value = "nsfw")
val nsfw: Boolean

Exposes the nsfw value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "params")
val params: HordeGenerationAsyncRequest.Params

Exposes the params 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 = "source_image")
val sourceImage: String?

Exposes the sourceImage value used by the SDAI network layer.

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

Exposes the sourceProcessing value used by the SDAI network layer.