跳转到主要内容
PUT
/
nodes
/
{nodeId}
/
versions
/
{version}
/
comfy-nodes
/
{comfyNodeName}
Update a specific comfy-node
curl --request PUT \
  --url https://api.comfy.org/nodes/{nodeId}/versions/{version}/comfy-nodes/{comfyNodeName} \
  --header 'Content-Type: application/json' \
  --data '
{
  "category": "<string>",
  "deprecated": true,
  "description": "<string>",
  "experimental": true,
  "function": "<string>",
  "input_types": "<string>",
  "output_is_list": [
    true
  ],
  "policy": "ComfyNodePolicyActive",
  "return_names": "<string>",
  "return_types": "<string>"
}
'
{
  "category": "<string>",
  "comfy_node_name": "<string>",
  "deprecated": true,
  "description": "<string>",
  "experimental": true,
  "function": "<string>",
  "input_types": "<string>",
  "output_is_list": [
    true
  ],
  "policy": "ComfyNodePolicyActive",
  "return_names": "<string>",
  "return_types": "<string>"
}

路径参数

nodeId
string
必填
version
string
必填
comfyNodeName
string
必填

请求体

application/json
category
string

UI category where the node is listed, used for grouping nodes.

deprecated
boolean

Indicates if the node is deprecated. Deprecated nodes are hidden in the UI.

description
string

Brief description of the node's functionality or purpose.

experimental
boolean

Indicates if the node is experimental, subject to changes or removal.

function
string

Name of the entry-point function to execute the node.

input_types
string

Defines input parameters

output_is_list
boolean[]

Boolean values indicating if each output is a list.

policy
enum<string>
可用选项:
ComfyNodePolicyActive,
ComfyNodePolicyBanned,
ComfyNodePolicyLocalOnly
return_names
string

Names of the outputs for clarity in workflows.

return_types
string

Specifies the types of outputs produced by the node.

响应

Comfy Node updated successfully

category
string

UI category where the node is listed, used for grouping nodes.

comfy_node_name
string

Unique identifier for the node

deprecated
boolean

Indicates if the node is deprecated. Deprecated nodes are hidden in the UI.

description
string

Brief description of the node's functionality or purpose.

experimental
boolean

Indicates if the node is experimental, subject to changes or removal.

function
string

Name of the entry-point function to execute the node.

input_types
string

Defines input parameters

output_is_list
boolean[]

Boolean values indicating if each output is a list.

policy
enum<string>
可用选项:
ComfyNodePolicyActive,
ComfyNodePolicyBanned,
ComfyNodePolicyLocalOnly
return_names
string

Names of the outputs for clarity in workflows.

return_types
string

Specifies the types of outputs produced by the node.