Get Started
- Introduction
- Installation
- Getting Started
- 入门指南
Essentials
- Core Concepts
- Keyboard and Mouse Shortcuts
- ComfyUI Server
Advanced Examples
Develop Custom Nodes
Registry
Specifications
- Workflow JSON
Community
Tips and tricks
Publish a new version of a node
curl --request POST \
--url https://api.comfy.org/publishers/{publisherId}/nodes/{nodeId}/versions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"node": {
"author": "<string>",
"category": "<string>",
"description": "<string>",
"downloads": 123,
"icon": "<string>",
"id": "<string>",
"latest_version": {
"changelog": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"dependencies": [
"<string>"
],
"deprecated": true,
"downloadUrl": "<string>",
"id": "<string>",
"node_id": "<string>",
"status": "NodeVersionStatusActive",
"status_reason": "<string>",
"version": "<string>"
},
"license": "<string>",
"name": "<string>",
"publisher": {
"createdAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"id": "<string>",
"logo": "<string>",
"members": [
{
"id": "<string>",
"role": "<string>",
"user": {
"email": "<string>",
"id": "<string>",
"name": "<string>"
}
}
],
"name": "<string>",
"source_code_repo": "<string>",
"status": "PublisherStatusActive",
"support": "<string>",
"website": "<string>"
},
"rating": 123,
"repository": "<string>",
"status": "NodeStatusActive",
"status_detail": "<string>",
"tags": [
"<string>"
]
},
"node_version": {
"changelog": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"dependencies": [
"<string>"
],
"deprecated": true,
"downloadUrl": "<string>",
"id": "<string>",
"node_id": "<string>",
"status": "NodeVersionStatusActive",
"status_reason": "<string>",
"version": "<string>"
},
"personal_access_token": "<string>"
}'
{
"node_version": {
"changelog": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"dependencies": [
"<string>"
],
"deprecated": true,
"downloadUrl": "<string>",
"id": "<string>",
"node_id": "<string>",
"status": "NodeVersionStatusActive",
"status_reason": "<string>",
"version": "<string>"
},
"signedUrl": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The category of the node.
The number of downloads of the node.
URL to the node's icon.
The unique identifier of the node.
Summary of changes made in this version
The date and time the version was created.
A list of pip dependencies required by the node.
Indicates if this version is deprecated.
[Output Only] URL to download this version of the node
The unique identifier of the node.
NodeVersionStatusActive
, NodeVersionStatusDeleted
, NodeVersionStatusBanned
, NodeVersionStatusPending
, NodeVersionStatusFlagged
The reason for the status change.
The version identifier, following semantic versioning. Must be unique for the node.
The path to the LICENSE file in the node's repository.
The display name of the node.
The date and time the publisher was created.
The unique identifier for the publisher. It's akin to a username. Should be lowercase.
URL to the publisher's logo.
A list of members in the publisher.
The unique identifier for the publisher member.
The role of the user in the publisher.
PublisherStatusActive
, PublisherStatusBanned
The average rating of the node.
URL to the node's repository.
NodeStatusActive
, NodeStatusDeleted
, NodeStatusBanned
The status detail of the node.
Summary of changes made in this version
The date and time the version was created.
A list of pip dependencies required by the node.
Indicates if this version is deprecated.
[Output Only] URL to download this version of the node
The unique identifier of the node.
NodeVersionStatusActive
, NodeVersionStatusDeleted
, NodeVersionStatusBanned
, NodeVersionStatusPending
, NodeVersionStatusFlagged
The reason for the status change.
The version identifier, following semantic versioning. Must be unique for the node.
Response
Summary of changes made in this version
The date and time the version was created.
A list of pip dependencies required by the node.
Indicates if this version is deprecated.
[Output Only] URL to download this version of the node
The unique identifier of the node.
NodeVersionStatusActive
, NodeVersionStatusDeleted
, NodeVersionStatusBanned
, NodeVersionStatusPending
, NodeVersionStatusFlagged
The reason for the status change.
The version identifier, following semantic versioning. Must be unique for the node.
The signed URL to upload the node version token.
curl --request POST \
--url https://api.comfy.org/publishers/{publisherId}/nodes/{nodeId}/versions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"node": {
"author": "<string>",
"category": "<string>",
"description": "<string>",
"downloads": 123,
"icon": "<string>",
"id": "<string>",
"latest_version": {
"changelog": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"dependencies": [
"<string>"
],
"deprecated": true,
"downloadUrl": "<string>",
"id": "<string>",
"node_id": "<string>",
"status": "NodeVersionStatusActive",
"status_reason": "<string>",
"version": "<string>"
},
"license": "<string>",
"name": "<string>",
"publisher": {
"createdAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"id": "<string>",
"logo": "<string>",
"members": [
{
"id": "<string>",
"role": "<string>",
"user": {
"email": "<string>",
"id": "<string>",
"name": "<string>"
}
}
],
"name": "<string>",
"source_code_repo": "<string>",
"status": "PublisherStatusActive",
"support": "<string>",
"website": "<string>"
},
"rating": 123,
"repository": "<string>",
"status": "NodeStatusActive",
"status_detail": "<string>",
"tags": [
"<string>"
]
},
"node_version": {
"changelog": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"dependencies": [
"<string>"
],
"deprecated": true,
"downloadUrl": "<string>",
"id": "<string>",
"node_id": "<string>",
"status": "NodeVersionStatusActive",
"status_reason": "<string>",
"version": "<string>"
},
"personal_access_token": "<string>"
}'
{
"node_version": {
"changelog": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"dependencies": [
"<string>"
],
"deprecated": true,
"downloadUrl": "<string>",
"id": "<string>",
"node_id": "<string>",
"status": "NodeVersionStatusActive",
"status_reason": "<string>",
"version": "<string>"
},
"signedUrl": "<string>"
}