Params

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

Carries Params data through the SDAI network layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(cfgScale: Float, width: Int, height: Int, steps: Int?, seed: String?, subSeedStrength: Float?)

Properties

Link copied to clipboard
@SerialName(value = "cfg_scale")
val cfgScale: Float

Exposes the cfgScale value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "height")
val height: Int

Exposes the height value used by the SDAI network layer.

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

Exposes the seed value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "steps")
val steps: Int?

Exposes the steps value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "denoising_strength")
val subSeedStrength: Float?

Exposes the subSeedStrength value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "width")
val width: Int

Exposes the width value used by the SDAI network layer.