ArliAiTextToImageRequest

@Serializable
data class ArliAiTextToImageRequest(val sdModelCheckpoint: String, val prompt: String, val negativePrompt: String, val steps: Int, val samplerName: String, val width: Int, val height: Int, val seed: Long?, val cfgScale: Float, val batchSize: Int, val restoreFaces: Boolean, val detailerEnabled: Boolean? = null, val detailerPrompt: String? = null, val detailerNegative: String? = null, val detailerSteps: Int? = null, val detailerStrength: Float? = null, val detailerModel: String? = null, val detailerConfidence: Float? = null, val detailerPadding: Int? = null, val detailerBlur: Int? = null)(source)

JSON payload for ArliAI text-to-image generation.

The field names follow the SDNext-compatible ArliAI API. Optional detailer fields are omitted unless ADetailer is enabled in the domain payload mapper.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(sdModelCheckpoint: String, prompt: String, negativePrompt: String, steps: Int, samplerName: String, width: Int, height: Int, seed: Long?, cfgScale: Float, batchSize: Int, restoreFaces: Boolean, detailerEnabled: Boolean? = null, detailerPrompt: String? = null, detailerNegative: String? = null, detailerSteps: Int? = null, detailerStrength: Float? = null, detailerModel: String? = null, detailerConfidence: Float? = null, detailerPadding: Int? = null, detailerBlur: Int? = null)

Properties

Link copied to clipboard
@SerialName(value = "batch_size")
val batchSize: Int
Link copied to clipboard
@SerialName(value = "cfg_scale")
val cfgScale: Float
Link copied to clipboard
@SerialName(value = "detailer_blur")
val detailerBlur: Int?
Link copied to clipboard
@SerialName(value = "detailer_conf")
val detailerConfidence: Float?
Link copied to clipboard
@SerialName(value = "detailer_enabled")
val detailerEnabled: Boolean?
Link copied to clipboard
@SerialName(value = "detailer_model")
val detailerModel: String?
Link copied to clipboard
@SerialName(value = "detailer_negative")
val detailerNegative: String?
Link copied to clipboard
@SerialName(value = "detailer_padding")
val detailerPadding: Int?
Link copied to clipboard
@SerialName(value = "detailer_prompt")
val detailerPrompt: String?
Link copied to clipboard
@SerialName(value = "detailer_steps")
val detailerSteps: Int?
Link copied to clipboard
@SerialName(value = "detailer_strength")
val detailerStrength: Float?
Link copied to clipboard
@SerialName(value = "height")
val height: Int
Link copied to clipboard
@SerialName(value = "negative_prompt")
val negativePrompt: String
Link copied to clipboard
@SerialName(value = "prompt")
val prompt: String
Link copied to clipboard
@SerialName(value = "restore_faces")
val restoreFaces: Boolean
Link copied to clipboard
@SerialName(value = "sampler_name")
val samplerName: String
Link copied to clipboard
@SerialName(value = "sd_model_checkpoint")
val sdModelCheckpoint: String
Link copied to clipboard
@SerialName(value = "seed")
val seed: Long?
Link copied to clipboard
@SerialName(value = "steps")
val steps: Int
Link copied to clipboard
@SerialName(value = "width")
val width: Int