ImageToImagePayloadDto

@Serializable
private data class ImageToImagePayloadDto(val base64Image: String, val base64MaskImage: String, val denoisingStrength: Float, val prompt: String, val negativePrompt: String, val samplingSteps: Int, val cfgScale: Float, val width: Int, val height: Int, val restoreFaces: Boolean, val seed: String, val subSeed: String, val subSeedStrength: Float, val sampler: String, val nsfw: Boolean, val batchCount: Int, val inPaintingMaskInvert: Int, val inPaintFullResPadding: Int, val inPaintingFill: Int, val inPaintFullRes: Boolean, val maskBlur: Int, val stabilityAiClipGuidance: String?, val stabilityAiStylePreset: String?)(source)

Carries ImageToImagePayloadDto data through the SDAI background work feature layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(base64Image: String, base64MaskImage: String, denoisingStrength: Float, prompt: String, negativePrompt: String, samplingSteps: Int, cfgScale: Float, width: Int, height: Int, restoreFaces: Boolean, seed: String, subSeed: String, subSeedStrength: Float, sampler: String, nsfw: Boolean, batchCount: Int, inPaintingMaskInvert: Int, inPaintFullResPadding: Int, inPaintingFill: Int, inPaintFullRes: Boolean, maskBlur: Int, stabilityAiClipGuidance: String?, stabilityAiStylePreset: String?)

Types

Link copied to clipboard
object Companion

Provides the companion object singleton used by the SDAI background work feature layer.

Properties

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Exposes the cfgScale 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
val height: Int

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Exposes the inPaintingMaskInvert 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 negativePrompt value used by the SDAI background work feature layer.

Link copied to clipboard

Exposes the nsfw 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.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val width: Int

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

Functions

Link copied to clipboard

Converts SDAI data with toPayload.