org.llm4s.imagegeneration.provider.HuggingClientPayload
See theHuggingClientPayload companion class
Companion object providing a convenience constructor and uPickle serialization for HuggingClientPayload.
Attributes
-
Companion
-
class
-
Graph
-
-
Supertypes
-
trait Product
trait Mirror
class Object
trait Matchable
class Any
-
Self type
-
Members list
The names of the product elements
The names of the product elements
Attributes
-
Inherited from:
-
Mirror
Attributes
-
Inherited from:
-
Mirror
Constructs a HuggingClientPayload from a prompt string and generation options.
Constructs a HuggingClientPayload from a prompt string and generation options.
Value parameters
-
options
-
Image generation options (guidance scale, inference steps, negative prompt, seed).
-
prompt
-
The text prompt describing the desired image.
Attributes
-
Returns
-
A fully populated HuggingClientPayload ready for the Hugging Face API.