TextToImagePayload

data class TextToImagePayload(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: OpenAiModel?, val stabilityAiClipGuidance: StabilityAiClipGuidance?, val stabilityAiStylePreset: StabilityAiStylePreset?)(source)

Carries TextToImagePayload data through the SDAI domain 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: OpenAiModel?, stabilityAiClipGuidance: StabilityAiClipGuidance?, stabilityAiStylePreset: StabilityAiStylePreset?)

Properties

Link copied to clipboard

Exposes the batchCount value used by the SDAI domain layer.

Link copied to clipboard

Exposes the cfgScale value used by the SDAI domain layer.

Link copied to clipboard
val height: Int

Exposes the height value used by the SDAI domain layer.

Link copied to clipboard

Exposes the negativePrompt value used by the SDAI domain layer.

Link copied to clipboard

Exposes the nsfw value used by the SDAI domain layer.

Link copied to clipboard

Exposes the openAiModel value used by the SDAI domain layer.

Link copied to clipboard

Exposes the prompt value used by the SDAI domain layer.

Link copied to clipboard

Exposes the quality value used by the SDAI domain layer.

Link copied to clipboard

Exposes the restoreFaces value used by the SDAI domain layer.

Link copied to clipboard

Exposes the sampler value used by the SDAI domain layer.

Link copied to clipboard

Exposes the samplingSteps value used by the SDAI domain layer.

Link copied to clipboard

Exposes the seed value used by the SDAI domain layer.

Link copied to clipboard

Exposes the stabilityAiClipGuidance value used by the SDAI domain layer.

Link copied to clipboard

Exposes the stabilityAiStylePreset value used by the SDAI domain layer.

Link copied to clipboard

Exposes the style value used by the SDAI domain layer.

Link copied to clipboard

Exposes the subSeed value used by the SDAI domain layer.

Link copied to clipboard

Exposes the subSeedStrength value used by the SDAI domain layer.

Link copied to clipboard
val width: Int

Exposes the width value used by the SDAI domain layer.