controlNet

package
v0.0.0-...-0e0034f Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtBotControlNetControlTypeResponse

type ArtBotControlNetControlTypeResponse struct {
	model.SDResponse

	*ControlNetTypes
}

type ArtBotControlNetDetectResponse

type ArtBotControlNetDetectResponse struct {
	model.SDResponse

	Res interface{}
}

type ArtBotControlNetModelResponse

type ArtBotControlNetModelResponse struct {
	model.SDResponse

	*ControlNetModels
}

type ArtBotControlNetModuleResponse

type ArtBotControlNetModuleResponse struct {
	model.SDResponse

	*Modules
}

type ArtBotControlNetSettingsResponse

type ArtBotControlNetSettingsResponse struct {
	model.SDResponse

	*ControlNetSettings
}

type ArtBotControlNetVersionResponse

type ArtBotControlNetVersionResponse struct {
	model.SDResponse

	*ControlNetVersion
}

type ControlNetModels

type ControlNetModels struct {
	ModelList []string `json:"model_list"`
}

type ControlNetSettings

type ControlNetSettings struct {
	ControlNetMaxModelsNum int `json:"control_net_max_models_num"`
}

type ControlNetTypes

type ControlNetTypes struct {
	ControlTypes struct {
		All       *ControlType `json:"All"`
		Canny     *ControlType `json:"Canny"`
		Depth     *ControlType `json:"Depth"`
		Normal    *ControlType `json:"Normal"`
		OpenPose  *ControlType `json:"OpenPose"`
		MLSD      *ControlType `json:"MLSD"`
		Lineart   *ControlType `json:"Lineart"`
		SoftEdge  *ControlType `json:"SoftEdge"`
		Scribble  *ControlType `json:"Scribble"`
		Seg       *ControlType `json:"Seg"`
		Shuffle   *ControlType `json:"Shuffle"`
		Tile      *ControlType `json:"Tile"`
		Inpaint   *ControlType `json:"Inpaint"`
		IP2P      *ControlType `json:"IP2P"`
		Reference *ControlType `json:"Reference"`
		T2IA      *ControlType `json:"T2IA"`
	} `json:"control_types"`
}

type ControlNetVersion

type ControlNetVersion struct {
	Version string `json:"vesion"`
}

type ControlType

type ControlType struct {
	ModuleList    []string `json:"module_list"`
	ModelList     []string `json:"model_list"`
	DefaultOption string   `json:"default_option"`
	DefaultModel  string   `json:"default_model"`
}

type DetectInfo

type DetectInfo struct {
	ControlNetModule       string        `json:"controlnet_module"`
	ControlNetInputImages  []interface{} `json:"controlnet_input_images"`
	ControlNetProcessorRes int           `json:"controlnet_processor_res"`
	ControlNetThresholdA   int           `json:"controlnet_threshold_a"`
	ControlNetThresholdB   int           `json:"controlnet_threshold_b"`
}

type Modules

type Modules struct {
	ModuleList   []string        `json:"module_list"`
	ModuleDetail *object.HashMap `json:"module_detail"`
}

Jump to

Keyboard shortcuts

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