Documentation ¶
Index ¶
Constants ¶
View Source
const ( TYPE_PROGRESS = "progress" TYPE_EXECUTION_CACHED = "execution_cached" TYPE_EXECUTION_START = "execution_start" TYPE_EXECUTING = "executing" TYPE_STATUS = "status" TYPE_EXECUTED = "executed" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComfyCtl ¶
type ComfyCtl struct { ClientId string Host string HttpCli *http.Client // contains filtered or unexported fields }
func NewWithPlainText ¶
func (*ComfyCtl) QueuePrompt ¶
type ComfyExcutionCallback ¶
type ComfyExcutionCallback func(*ComfyResult)
type ComfyImage ¶
type ComfyMessage ¶
type ComfyResult ¶
type ComfyResult struct { Type string `json:"type"` Data *ComfySaveImageData `json:"data"` }
type ComfySaveImageData ¶
type ComfySaveImageData struct { Node string `json:"node"` Output *ComfySaveImageNodeOutput `json:"output"` }
type ComfySaveImageNodeOutput ¶
type ComfySaveImageNodeOutput struct { Images []*ComfyImage `json:"images"` PromptId string `json:"prompt_id"` }
type QueuePromptResp ¶
Click to show internal directories.
Click to hide internal directories.