SwarmUiGenerationRequest

@Serializable
data class SwarmUiGenerationRequest(val sessionId: String, val model: String, val initImage: String?, val initImageCreativity: String?, val images: Int, val prompt: String, val negativePrompt: String, val width: Int, val height: Int, val seed: String?, val variationSeed: String?, val variationSeedStrength: String?, val cfgScale: Float?, val steps: Int)(source)

Carries SwarmUiGenerationRequest data through the SDAI network layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(sessionId: String, model: String, initImage: String?, initImageCreativity: String?, images: Int, prompt: String, negativePrompt: String, width: Int, height: Int, seed: String?, variationSeed: String?, variationSeedStrength: String?, cfgScale: Float?, steps: Int)

Properties

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

Exposes the cfgScale 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 = "images")
val images: Int

Exposes the images value used by the SDAI network layer.

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

Exposes the initImage value used by the SDAI network layer.

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

Exposes the initImageCreativity value used by the SDAI network layer.

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

Exposes the model value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "negativeprompt")
val negativePrompt: String

Exposes the negativePrompt value used by the SDAI network layer.

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

Exposes the prompt value used by the SDAI network layer.

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

Exposes the seed value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "session_id")
val sessionId: String

Exposes the sessionId 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 = "variationseed")
val variationSeed: String?

Exposes the variationSeed value used by the SDAI network layer.

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

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