---
title: "ImageGenerationOptions"
sidebar_label: "ImageGenerationOptions"
description: "Kotlin binding reference: ImageGenerationOptions."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[ImageGenerationOptions](index.md)

# ImageGenerationOptions

[common]\
data class [ImageGenerationOptions](index.md)(val negativePrompt: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)? = null, val width: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) = 0, val height: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) = 0, val steps: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) = 0, val guidanceScale: [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)? = null, val seed: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) = -1L, val count: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) = 1)

How pictures are generated. A knob left at its zero keeps the model's own default: [width](width.md) and [height](height.md) in pixels (the family's size law applies; see [Capabilities.defaultImageWidth](../Capabilities/defaultImageWidth.md) and [Capabilities.defaultImageHeight](../Capabilities/defaultImageHeight.md)), [steps](steps.md) the denoising steps, [guidanceScale](guidanceScale.md) the prompt's pull (null keeps the model's), [seed](seed.md) the draw (-1 lets the model pick one; the answer names it), [count](count.md) the number of pictures, [negativePrompt](negativePrompt.md) what to steer away from (null for none).

## Constructors

| | |
|---|---|
| [ImageGenerationOptions](ImageGenerationOptions.md) | [common]<br>constructor(negativePrompt: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)? = null, width: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) = 0, height: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) = 0, steps: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) = 0, guidanceScale: [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)? = null, seed: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) = -1L, count: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) = 1) |

## Properties

| Name | Summary |
|---|---|
| [count](count.md) | [common]<br>val [count](count.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) = 1 |
| [guidanceScale](guidanceScale.md) | [common]<br>val [guidanceScale](guidanceScale.md): [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)? = null |
| [height](height.md) | [common]<br>val [height](height.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) = 0 |
| [negativePrompt](negativePrompt.md) | [common]<br>val [negativePrompt](negativePrompt.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)? = null |
| [seed](seed.md) | [common]<br>val [seed](seed.md): [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) |
| [steps](steps.md) | [common]<br>val [steps](steps.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) = 0 |
| [width](width.md) | [common]<br>val [width](width.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) = 0 |