ImageToImageRequest

@Serializable
data class ImageToImageRequest(val initImages: List<String>, val includeInitImages: Boolean, val mask: String?, val inPaintingMaskInvert: Int?, val inPaintFullResPadding: Int?, val inPaintingFill: Int?, val inPaintFullRes: Boolean?, val maskBlur: Int?, val denoisingStrength: Float, val prompt: String, val negativePrompt: String, val steps: Int, val cfgScale: Float, val width: Int, val height: Int, val batchSize: Int, val restoreFaces: Boolean, val seed: String?, val subSeed: String?, val subSeedStrength: Float?, val samplerIndex: String)(source)

Carries ImageToImageRequest data through the SDAI network layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(initImages: List<String>, includeInitImages: Boolean, mask: String?, inPaintingMaskInvert: Int?, inPaintFullResPadding: Int?, inPaintingFill: Int?, inPaintFullRes: Boolean?, maskBlur: Int?, denoisingStrength: Float, prompt: String, negativePrompt: String, steps: Int, cfgScale: Float, width: Int, height: Int, batchSize: Int, restoreFaces: Boolean, seed: String?, subSeed: String?, subSeedStrength: Float?, samplerIndex: String)

Properties

Link copied to clipboard
@SerialName(value = "batch_size")
val batchSize: Int

Exposes the batchSize value used by the SDAI network layer.

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

Exposes the cfgScale value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "denoising_strength")
val denoisingStrength: Float

Exposes the denoisingStrength 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 = "include_init_images")
val includeInitImages: Boolean

Exposes the includeInitImages value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "init_images")
val initImages: List<String>

Exposes the initImages value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "inpaint_full_res")
val inPaintFullRes: Boolean?

Exposes the inPaintFullRes value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "inpaint_full_res_padding")
val inPaintFullResPadding: Int?

Exposes the inPaintFullResPadding value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "inpainting_fill")
val inPaintingFill: Int?

Exposes the inPaintingFill value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "inpainting_mask_invert")
val inPaintingMaskInvert: Int?

Exposes the inPaintingMaskInvert value used by the SDAI network layer.

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

Exposes the mask value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "mask_blur")
val maskBlur: Int?

Exposes the maskBlur value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "negative_prompt")
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 = "restore_faces")
val restoreFaces: Boolean

Exposes the restoreFaces value used by the SDAI network layer.

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

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

Exposes the steps value used by the SDAI network layer.

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

Exposes the subSeed value used by the SDAI network layer.

Link copied to clipboard
@SerialName(value = "subseed_strength")
val subSeedStrength: Float?

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