TextToImagePayload
data class TextToImagePayload(val prompt: String, val negativePrompt: String, val samplingSteps: Int, val cfgScale: Float, val width: Int, val height: Int, val restoreFaces: Boolean, val seed: String, val subSeed: String, val subSeedStrength: Float, val sampler: String, val scheduler: Scheduler = Scheduler.AUTOMATIC, val nsfw: Boolean, val batchCount: Int, val style: String?, val quality: String?, val openAiModel: OpenAiModel?, val stabilityAiClipGuidance: StabilityAiClipGuidance?, val stabilityAiStylePreset: StabilityAiStylePreset?, val aDetailer: ADetailerConfig = ADetailerConfig.DISABLED, val hires: HiresConfig = HiresConfig.DISABLED, val forgeModules: List<ForgeModule> = emptyList(), val falAiModel: FalAiModel = FalAiModel.defaultTextToImage, val falAiImageSize: FalAiImageSize = FalAiImageSize.default, val falAiAcceleration: FalAiAcceleration = FalAiAcceleration.default, val sdxlBackend: SdxlBackend = SdxlBackend.AUTO, val bonsaiBackend: BonsaiBackend = BonsaiBackend.AUTO, val falAiSyncMode: Boolean = false, val arliAiModel: String = "")(source)
Provider-neutral request model for text-to-image generation.
The payload intentionally carries superset fields from remote APIs and local runtimes. Repository and feature implementations pick the fields relevant to their provider, including Android local runtime backend choices such as SDXL and Bonsai.
Constructors
Link copied to clipboard
constructor(prompt: String, negativePrompt: String, samplingSteps: Int, cfgScale: Float, width: Int, height: Int, restoreFaces: Boolean, seed: String, subSeed: String, subSeedStrength: Float, sampler: String, scheduler: Scheduler = Scheduler.AUTOMATIC, nsfw: Boolean, batchCount: Int, style: String?, quality: String?, openAiModel: OpenAiModel?, stabilityAiClipGuidance: StabilityAiClipGuidance?, stabilityAiStylePreset: StabilityAiStylePreset?, aDetailer: ADetailerConfig = ADetailerConfig.DISABLED, hires: HiresConfig = HiresConfig.DISABLED, forgeModules: List<ForgeModule> = emptyList(), falAiModel: FalAiModel = FalAiModel.defaultTextToImage, falAiImageSize: FalAiImageSize = FalAiImageSize.default, falAiAcceleration: FalAiAcceleration = FalAiAcceleration.default, sdxlBackend: SdxlBackend = SdxlBackend.AUTO, bonsaiBackend: BonsaiBackend = BonsaiBackend.AUTO, falAiSyncMode: Boolean = false, arliAiModel: String = "")
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard