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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article