sd

package
v0.0.0-...-e31bace Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

func NewModel

func NewModel() (model *Model, err error)

func (*Model) Close

func (sd *Model) Close()

func (*Model) GetCTX

func (sd *Model) GetCTX() unsafe.Pointer

func (*Model) LoadFromFile

func (sd *Model) LoadFromFile() (err error)

func (*Model) SetOptions

func (sd *Model) SetOptions(in *opts.Options)

func (*Model) Txt2Img

func (sd *Model) Txt2Img(in *opts.Options) (filenames []string, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL