cwimgengine

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: MIT Imports: 6 Imported by: 0

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)

Jump to

Keyboard shortcuts

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