auto

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package auto implements Automatic1111 Stable Diffusion WebUI client.

Index

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 NewClient

func NewClient(url string) *Client

func (*Client) Close

func (c *Client) Close()

func (*Client) ListModels

func (c *Client) ListModels(ctx context.Context) ([]types.ModelInfo, error)

func (*Client) ListSamplers

func (c *Client) ListSamplers(ctx context.Context) ([]types.SamplerInfo, error)

func (*Client) TextToImage

func (c *Client) TextToImage(ctx context.Context, params types.TextToImageParams) (image.Image, error)

func (*Client) TextToImagePNG

func (c *Client) TextToImagePNG(ctx context.Context, params types.TextToImageParams) (io.ReadCloser, error)

Jump to

Keyboard shortcuts

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