Parameters

org.llm4s.imagegeneration.provider.Parameters
See theParameters companion object
case class Parameters(guidance_scale: Double, inferenceSteps: Int, negative_prompt: Option[String], seed: Option[Long])

Diffusion model generation parameters passed inside a Hugging Face API request.

Value parameters

guidance_scale

Classifier-free guidance scale controlling adherence to the prompt.

inferenceSteps

Number of denoising steps; higher values improve quality at the cost of speed.

negative_prompt

Optional text describing content to exclude from the generated image.

seed

Optional random seed for reproducible generation.

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