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 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 { }
Click to show internal directories.
Click to hide internal directories.