org.llm4s.imagegeneration.provider.StableDiffusionPayload
See theStableDiffusionPayload companion object
case class StableDiffusionPayload(prompt: String, negative_prompt: String, width: Int, height: Int, steps: Int, cfg_scale: Double, batch_size: Int, n_iter: Int, seed: Long, sampler_name: String)
Represents the JSON payload for the Stable Diffusion WebUI API's text-to-image endpoint. This case class ensures type-safe construction of the request body.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article