TextToImagePayloadDto

@Serializable
private data class TextToImagePayloadDto(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 style: String?, val quality: String?, val openAiModel: String?, val stabilityAiClipGuidance: String?, val stabilityAiStylePreset: String?)(source)

Carries TextToImagePayloadDto data through the SDAI background work feature layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(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, style: String?, quality: String?, openAiModel: String?, 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 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
val height: Int

Exposes the height 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 openAiModel 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 quality 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 style 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.