//clika-runtime/io.clika.modelverse/ImageGenerationOptions
ImageGenerationOptions
[common]
data class ImageGenerationOptions(val negativePrompt: String? = null, val width: Int = 0, val height: Int = 0, val steps: Int = 0, val guidanceScale: Float? = null, val seed: Long = -1L, val count: Int = 1)
How pictures are generated. A knob left at its zero keeps the model's own default: width and height in pixels (the family's size law applies; see Capabilities.defaultImageWidth and Capabilities.defaultImageHeight), steps the denoising steps, guidanceScale the prompt's pull (null keeps the model's), seed the draw (-1 lets the model pick one; the answer names it), count the number of pictures, negativePrompt what to steer away from (null for none).
Constructors
| ImageGenerationOptions | [common] constructor(negativePrompt: String? = null, width: Int = 0, height: Int = 0, steps: Int = 0, guidanceScale: Float? = null, seed: Long = -1L, count: Int = 1) |
Properties
| Name | Summary |
|---|---|
| count | [common] val count: Int = 1 |
| guidanceScale | [common] val guidanceScale: Float? = null |
| height | [common] val height: Int = 0 |
| negativePrompt | [common] val negativePrompt: String? = null |
| seed | [common] val seed: Long |
| steps | [common] val steps: Int = 0 |
| width | [common] val width: Int = 0 |