Documentation ¶ Index ¶ func FindValue(pngData []byte, keyword string) (string, error) func GetPNGDimensions(pngData []byte) (width int, height int, err error) type Extras func ParseExtras(input string) (*Extras, error) type Parameters func ParseParameters(input string) (*Parameters, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func FindValue ¶ func FindValue(pngData []byte, keyword string) (string, error) func GetPNGDimensions ¶ func GetPNGDimensions(pngData []byte) (width int, height int, err error) Types ¶ type Extras ¶ type Extras struct { UpscaleFactor int Upscaler string Upscaler2 string } func ParseExtras ¶ func ParseExtras(input string) (*Extras, error) type Parameters ¶ type Parameters struct { Prompt string NegativePrompt string Steps int Sampler string CFGScale float64 Seed int64 Size string ModelHash string Model string Raw string } func ParseParameters ¶ func ParseParameters(input string) (*Parameters, error) Source Files ¶ View all Source files chunk.go extras.go parameters.go Click to show internal directories. Click to hide internal directories.