Companion

Constants and factory functions of DiffusionGenerationParams.

Properties

Link copied to clipboard

clipSkip sentinel: the model's default.

Link copied to clipboard
const val DEFAULT_CFG_SCALE: Float = 7.0f

Default cfgScale.

Link copied to clipboard

Default distilledGuidance (used by guidance-distilled models such as Flux).

Link copied to clipboard
const val DEFAULT_SAMPLE_STEPS: Int = 20

Default sampleSteps.

Link copied to clipboard
const val DEFAULT_SIZE: Int = 512

Default width and height in pixels.

Link copied to clipboard
const val DIMENSION_MULTIPLE: Int = 8

width and height must be multiples of this.

Link copied to clipboard
const val MAX_DIMENSION: Int = 16384

Largest accepted width / height (the native wrapper's limit).

Link copied to clipboard
const val MAX_SAMPLE_STEPS: Int = 10000

Largest accepted sampleSteps (the native wrapper's limit).

Link copied to clipboard
const val RANDOM_SEED: Long

seed sentinel: random seed.