Documentation ¶
Index ¶
- Variables
- type Attribute
- type DalleDress
- func (dd *DalleDress) Action(short bool) string
- func (dd *DalleDress) Adjective(short bool) string
- func (dd *DalleDress) Adverb(short bool) string
- func (dd *DalleDress) ArtStyle(short bool, which int) string
- func (dd *DalleDress) BackStyle(short bool) string
- func (dd *DalleDress) Color(short bool, which int) string
- func (dd *DalleDress) Emotion(short bool) string
- func (dd *DalleDress) ExecuteTemplate(t *template.Template, f func(s string) string) (string, error)
- func (dd *DalleDress) Gaze(short bool) string
- func (dd *DalleDress) HasLitStyle() bool
- func (dd *DalleDress) LitPrompt(short bool) string
- func (dd *DalleDress) LitStyle(short bool) string
- func (dd *DalleDress) LitStyleDescr() string
- func (dd *DalleDress) Noun(short bool) string
- func (dd *DalleDress) Occupation(short bool) string
- func (dd *DalleDress) Orientation(short bool) string
- func (dd *DalleDress) ReportOn(addr, loc, ft, value string)
- func (d *DalleDress) String() string
- type Series
Constants ¶
This section is empty.
Variables ¶
View Source
var DatabaseNames = []string{
"adverbs",
"adjectives",
"nouns",
"emotions",
"occupations",
"actions",
"artstyles",
"artstyles",
"litstyles",
"colors",
"colors",
"colors",
"orientations",
"gazes",
"backstyles",
}
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
type DalleDress ¶
type DalleDress struct { Original string `json:"original"` Filename string `json:"fileName"` Seed string `json:"seed"` Prompt string `json:"prompt,omitempty"` DataPrompt string `json:"dataPrompt,omitempty"` TitlePrompt string `json:"titlePrompt,omitempty"` TersePrompt string `json:"tersePrompt,omitempty"` EnhancedPrompt string `json:"enhancedPrompt,omitempty"` Attribs []Attribute `json:"attributes"` AttribMap map[string]Attribute `json:"-"` }
func (*DalleDress) Action ¶
func (dd *DalleDress) Action(short bool) string
func (*DalleDress) Adjective ¶
func (dd *DalleDress) Adjective(short bool) string
func (*DalleDress) Adverb ¶
func (dd *DalleDress) Adverb(short bool) string
func (*DalleDress) BackStyle ¶
func (dd *DalleDress) BackStyle(short bool) string
func (*DalleDress) Emotion ¶
func (dd *DalleDress) Emotion(short bool) string
func (*DalleDress) ExecuteTemplate ¶
func (*DalleDress) Gaze ¶
func (dd *DalleDress) Gaze(short bool) string
func (*DalleDress) HasLitStyle ¶
func (dd *DalleDress) HasLitStyle() bool
func (*DalleDress) LitPrompt ¶
func (dd *DalleDress) LitPrompt(short bool) string
func (*DalleDress) LitStyle ¶
func (dd *DalleDress) LitStyle(short bool) string
func (*DalleDress) LitStyleDescr ¶
func (dd *DalleDress) LitStyleDescr() string
func (*DalleDress) Noun ¶
func (dd *DalleDress) Noun(short bool) string
func (*DalleDress) Occupation ¶
func (dd *DalleDress) Occupation(short bool) string
func (*DalleDress) Orientation ¶
func (dd *DalleDress) Orientation(short bool) string
func (*DalleDress) ReportOn ¶
func (dd *DalleDress) ReportOn(addr, loc, ft, value string)
func (*DalleDress) String ¶
func (d *DalleDress) String() string
type Series ¶
type Series struct { Last int `json:"last,omitempty"` Suffix string `json:"suffix"` Adverbs []string `json:"adverbs"` Adjectives []string `json:"adjectives"` Nouns []string `json:"nouns"` Emotions []string `json:"emotions"` Occupations []string `json:"occupations"` Actions []string `json:"actions"` Artstyles []string `json:"artstyles"` Litstyles []string `json:"litstyles"` Colors []string `json:"colors"` Orientations []string `json:"orientations"` Gazes []string `json:"gazes"` Backstyles []string `json:"backstyles"` }
func (*Series) SaveSeries ¶
Click to show internal directories.
Click to hide internal directories.