Documentation ¶
Index ¶
- type Driver
- func (d *Driver) DetectControlNet(ctx context.Context, info *controlNet.DetectInfo) (interface{}, error)
- func (d *Driver) GetConfig() *rcconfig.ArtBot
- func (d *Driver) GetControlNetControlTypesList(ctx context.Context) (*controlNet.ControlNetTypes, error)
- func (d *Driver) GetControlNetModelList(ctx context.Context) (*controlNet.ControlNetModels, error)
- func (d *Driver) GetControlNetModuleList(ctx context.Context) (*controlNet.Modules, error)
- func (d *Driver) GetControlNetSettings(ctx context.Context) (*controlNet.ControlNetSettings, error)
- func (d *Driver) GetControlNetVersion(ctx context.Context) (*controlNet.ControlNetVersion, error)
- func (d *Driver) GetLoras(ctx context.Context) ([]*model.Lora, error)
- func (d *Driver) GetModels(ctx context.Context) ([]*model2.ArtBotModel, error)
- func (d *Driver) GetOptions(ctx context.Context) (*model2.OptionsResponse, error)
- func (d *Driver) GetSamplers(ctx context.Context) ([]*model2.Sampler, error)
- func (d *Driver) GetUrlFromEndpoint(endpoint string) (string, error)
- func (d *Driver) Image2Image(ctx context.Context, message *model.Message) (*model.Message, error)
- func (d *Driver) OverrideGetMiddlewareOfLog()
- func (d *Driver) OverrideGetMiddlewares()
- func (d *Driver) Progress(ctx context.Context) (*model2.ProgressResponse, error)
- func (d *Driver) Query(ctx context.Context, endpoint string) (*model.Message, error)
- func (d *Driver) RefreshLoras(ctx context.Context) error
- func (d *Driver) RegisterHttpMiddlewares()
- func (d *Driver) Send(ctx context.Context, endpoint string, message *model.Message) (*model.Message, error)
- func (d *Driver) SetConfig(config *rcconfig.ArtBot)
- func (d *Driver) SetOptions(ctx context.Context, options *model2.OptionsRequest) error
- func (d *Driver) Text2Image(ctx context.Context, message *model.Message) (*model.Message, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct { HttpClient httphelper.Helper Logger contract.LoggerInterface GetMiddlewareOfLog func(logger contract.LoggerInterface) dataflow.RequestMiddleware // contains filtered or unexported fields }
func (*Driver) DetectControlNet ¶
func (d *Driver) DetectControlNet(ctx context.Context, info *controlNet.DetectInfo) (interface{}, error)
func (*Driver) GetControlNetControlTypesList ¶
func (d *Driver) GetControlNetControlTypesList(ctx context.Context) (*controlNet.ControlNetTypes, error)
func (*Driver) GetControlNetModelList ¶
func (d *Driver) GetControlNetModelList(ctx context.Context) (*controlNet.ControlNetModels, error)
func (*Driver) GetControlNetModuleList ¶
func (*Driver) GetControlNetSettings ¶
func (d *Driver) GetControlNetSettings(ctx context.Context) (*controlNet.ControlNetSettings, error)
func (*Driver) GetControlNetVersion ¶
func (d *Driver) GetControlNetVersion(ctx context.Context) (*controlNet.ControlNetVersion, error)
func (*Driver) GetOptions ¶
func (*Driver) GetSamplers ¶
func (*Driver) GetUrlFromEndpoint ¶
func (*Driver) Image2Image ¶
func (*Driver) OverrideGetMiddlewareOfLog ¶
func (d *Driver) OverrideGetMiddlewareOfLog()
func (*Driver) OverrideGetMiddlewares ¶
func (d *Driver) OverrideGetMiddlewares()
func (*Driver) RegisterHttpMiddlewares ¶
func (d *Driver) RegisterHttpMiddlewares()
func (*Driver) SetOptions ¶
Click to show internal directories.
Click to hide internal directories.