Chuyển đến nội dung tài liệu
Tài liệu dành cho nhà phát triển
API Reference

API Reference

Get all ComfyUI node info

Return input and output definitions for every installed ComfyUI node class.

GET/v1/api/comfy/object-info
Try it out

Request example

bash
curl --request GET   --url "$NORDY_BASE_URL/v1/api/comfy/object-info"   --header "api-key: $NORDY_API_KEY"

Success response200 OK

JSON
{
  "CheckpointLoaderSimple": {
    "input": {
      "required": {
        "ckpt_name": [
          ["dreamshaper_8.safetensors"]
        ]
      }
    },
    "output": ["MODEL", "CLIP", "VAE"],
    "name": "CheckpointLoaderSimple"
  }
}

Authentication

api-keystringrequired

Send the user API key in the api-key request header.

Parameters

If-None-Matchstringheaderoptional
ETag from the previous response, sent unchanged to check for updates.

Success response

200 OK

<className>objectresponseoptional
Input and output definitions for the ComfyUI node class.

Notes

  • Definitions depend on installed nodes and models; listing does not guarantee availability for a Job. Test the workflow in Nordy ComfyUI.
  • Responses may include ETag, Content-Type, Cache-Control, and Vary headers.

Responses and errors

StatusCodeDescription
304—ETag matches; no response body.
400MULTIPLE_AUTH_CREDENTIALSSend only the api-key header, without login cookies.
401AUTHENTICATION_REQUIREDMissing or invalid API key.
403USER_SUSPENDED, PRO_SUBSCRIPTION_REQUIRED, INVALID_INPUTYour account is suspended, does not have an active Pro subscription, or is not permitted to use the API.
500INTERNAL_ERRORAn error occurred while processing the request.
502 / 504INTERNAL_ERRORThe service could not be reached or the request timed out.
Other—ComfyUI may return other status codes and response bodies.