Documentation ¶
Overview ¶
Package auto implements Automatic1111 Stable Diffusion WebUI client.
Index ¶
- Constants
- type Client
- func (c *Client) Close()
- func (c *Client) ListModels(ctx context.Context) ([]types.ModelInfo, error)
- func (c *Client) ListSamplers(ctx context.Context) ([]types.SamplerInfo, error)
- func (c *Client) TextToImage(ctx context.Context, params types.TextToImageParams) (image.Image, error)
- func (c *Client) TextToImagePNG(ctx context.Context, params types.TextToImageParams) (io.ReadCloser, error)
Constants ¶
View Source
const (
SamplerEuler = types.SamplerID("Euler")
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ListModels ¶
func (*Client) ListSamplers ¶
func (*Client) TextToImage ¶
func (*Client) TextToImagePNG ¶
func (c *Client) TextToImagePNG(ctx context.Context, params types.TextToImageParams) (io.ReadCloser, error)
Click to show internal directories.
Click to hide internal directories.