StableDiffusionPayload

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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product