api

package
v0.2.1-beta2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SDAppLoadFromFile = "App.LoadFromFile"
	SDAppSetOptions   = "App.SetOptions"
	SDAppGetOptions   = "App.GetOptions"
	SDAppPredict      = "App.Predict"
	SDAppPredictImage = "App.PredictImage"
	SDAppGetLogs      = "App.GetLogs"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GetLogsArgs

type GetLogsArgs struct {
	Index int
	Size  int
	Total int
}

type GetLogsResult

type GetLogsResult struct {
	Logs []string
}

type LoadFromFileArgs

type LoadFromFileArgs struct {
	ModelPath string
}

type LoadFromFileResult

type LoadFromFileResult struct {
}

type PredictArgs

type PredictArgs struct {
	Prompt string
	Params sd.FullParams
}

type PredictImageArgs

type PredictImageArgs struct {
	InitImage string
	Prompt    string
	Params    sd.FullParams
}

type PredictImageResult

type PredictImageResult struct {
	Images []string
}

type PredictResult

type PredictResult struct {
	Images []string
}

type SetOptionsResult

type SetOptionsResult struct {
}

Jump to

Keyboard shortcuts

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