HiresConfig

data class HiresConfig(val enabled: Boolean = false, val upscaler: String = "None", val scale: Float = 2.0f, val steps: Int = 0, val denoisingStrength: Float = 0.4f, val hrCfg: Float? = null, val hrDistilledCfg: Float? = null)(source)

Carries A1111 Hires.Fix configuration through the SDAI domain layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(enabled: Boolean = false, upscaler: String = "None", scale: Float = 2.0f, steps: Int = 0, denoisingStrength: Float = 0.4f, hrCfg: Float? = null, hrDistilledCfg: Float? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Exposes the denoisingStrength value used by the SDAI domain layer.

Link copied to clipboard

Exposes the enabled value used by the SDAI domain layer.

Link copied to clipboard
val hrCfg: Float?

Exposes the hrCfg value used by the SDAI domain layer.

Link copied to clipboard

Exposes the hrDistilledCfg value used by the SDAI domain layer.

Link copied to clipboard

Exposes the scale value used by the SDAI domain layer.

Link copied to clipboard
val steps: Int

Exposes the steps value used by the SDAI domain layer.

Link copied to clipboard

Exposes the upscaler value used by the SDAI domain layer.