ADetailerConfigDto

@Serializable
internal data class ADetailerConfigDto(val enabled: Boolean = false, val model: String = "face_yolov8s.pt", val prompt: String = "", val negativePrompt: String = "", val confidence: Float = 0.3f, val maskBlur: Int = 4, val denoisingStrength: Float = 0.4f, val inpaintOnlyMasked: Boolean = true, val inpaintPadding: Int = 32)(source)

Carries ADetailerConfigDto data through the SDAI background work feature layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(enabled: Boolean = false, model: String = "face_yolov8s.pt", prompt: String = "", negativePrompt: String = "", confidence: Float = 0.3f, maskBlur: Int = 4, denoisingStrength: Float = 0.4f, inpaintOnlyMasked: Boolean = true, inpaintPadding: Int = 32)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Exposes the confidence value used by the SDAI background work feature layer.

Link copied to clipboard

Exposes the denoisingStrength value used by the SDAI background work feature layer.

Link copied to clipboard

Exposes the enabled value used by the SDAI background work feature layer.

Link copied to clipboard

Exposes the inpaintOnlyMasked value used by the SDAI background work feature layer.

Link copied to clipboard

Exposes the inpaintPadding value used by the SDAI background work feature layer.

Link copied to clipboard

Exposes the maskBlur value used by the SDAI background work feature layer.

Link copied to clipboard

Exposes the model value used by the SDAI background work feature layer.

Link copied to clipboard

Exposes the negativePrompt value used by the SDAI background work feature layer.

Link copied to clipboard

Exposes the prompt value used by the SDAI background work feature layer.

Functions

Link copied to clipboard

Converts SDAI data with toDomain.