DiffusionGenerationParams
One txt2img request. Validated on construction (including via copy); invalid values throw IllegalArgumentException before any native call.
Constructors
Types
Constants and factory functions of DiffusionGenerationParams.
Properties
CLIP layers to skip, CLIP_SKIP_MODEL_DEFAULT (-1) = the model's default.
guidance of distilled-guidance models such as Flux (finite, >= 0).
image height in pixels: a positive multiple of 8, at most MAX_DIMENSION.
what to steer away from (only used when cfgScale != 1).
sampling method.
denoising steps, 1..MAX_SAMPLE_STEPS. Cancellation takes effect between steps.
noise schedule.
RNG seed; any negative value (RANDOM_SEED) picks a random one. The same seed, parameters, model and backend reproduce the same image.
decode the latent in tiles (lower peak memory for large images; reported as DiffusionPhase.VAE_TILES progress).
image width in pixels: a positive multiple of 8, at most MAX_DIMENSION.