Documentation ¶
Index ¶
- func New(client *discord.Client, cfg *Config) (ai.Client, error)
- type Client
- func (c *Client) Concurrency() int
- func (c *Client) Imagine(ctx context.Context, prompt string) (*ai.Preview, error)
- func (c *Client) Start(ctx context.Context) error
- func (c *Client) Upscale(ctx context.Context, preview *ai.Preview, index int) (string, error)
- func (c *Client) Variation(ctx context.Context, preview *ai.Preview, index int) (*ai.Preview, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.