Documentation ¶ Index ¶ func Bulk(ctx context.Context, cli Client, prompts []string, skip []int, ...) <-chan (*Image) type Client type Image func (i *Image) FileName() string func (i *Image) FileNames() []string type Preview Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Bulk ¶ func Bulk(ctx context.Context, cli Client, prompts []string, skip []int, variationEnabled, upscaleEnabled bool, concurrency int, wait time.Duration) <-chan (*Image) Types ¶ type Client ¶ type Client interface { Start(ctx context.Context) error Imagine(ctx context.Context, prompt string) (*Preview, error) Upscale(ctx context.Context, preview *Preview, index int) (string, error) Variation(ctx context.Context, preview *Preview, index int) (*Preview, error) Concurrency() int } type Image ¶ type Image struct { URL string Prompt string Preview bool PromptIndex int ImageIndex int IsLast bool } func (*Image) FileName ¶ func (i *Image) FileName() string func (*Image) FileNames ¶ func (i *Image) FileNames() []string type Preview ¶ type Preview struct { URL string Prompt string MessageID string ImageIDs []string } Source Files ¶ View all Source files ai.go Directories ¶ Show internal Expand all Path Synopsis bluewillow midjourney Click to show internal directories. Click to hide internal directories.