StabilityTextToImageRequest

@Serializable
data class StabilityTextToImageRequest(val height: Int, val width: Int, val textPrompts: List<StabilityTextPromptRaw>, val cfgScale: Float, val clipGuidancePreset: String, val sampler: String?, val seed: Long, val steps: Int, val stylePreset: String?)(source)

Carries StabilityTextToImageRequest data through the SDAI network layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(height: Int, width: Int, textPrompts: List<StabilityTextPromptRaw>, cfgScale: Float, clipGuidancePreset: String, sampler: String?, seed: Long, steps: Int, stylePreset: String?)

Properties

Link copied to clipboard
@SerialName(value = "cfg_scale")
val cfgScale: Float

Exposes the cfgScale value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "clip_guidance_preset")
val clipGuidancePreset: String

Exposes the clipGuidancePreset value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "height")
val height: Int

Exposes the height value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "sampler")
val sampler: String?

Exposes the sampler value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "seed")
val seed: Long

Exposes the seed value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "steps")
val steps: Int

Exposes the steps value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "style_preset")
val stylePreset: String?

Exposes the stylePreset value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "text_prompts")
val textPrompts: List<StabilityTextPromptRaw>

Exposes the textPrompts value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "width")
val width: Int

Exposes the width value used by the SDAI network layer.