Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CWImgEngine ¶
type CWImgEngine struct {
// contains filtered or unexported fields
}
func NewCWImgEngine ¶
func NewCWImgEngine(root string, settings *tcommons.CWSettings) (instance *CWImgEngine, err error)
func (*CWImgEngine) Generate ¶
func (instance *CWImgEngine) Generate(rawPrompt interface{}, qty int, size string) (images []*model.ProducerItem, err error)
func (*CWImgEngine) Variate ¶
func (instance *CWImgEngine) Variate(imgBytes []byte, qty int, size string) (images []*model.ProducerItem, err error)
Click to show internal directories.
Click to hide internal directories.