ComfyUI
  1. ComfyUI
ComfyUI
  • 🦊一分钟,了解StableDiffusion WebUI 和 ComfyUI !
  • Stable Diffusion WebUI
  • ComfyUI
    • /prompt
      POST
    • /history/{prompt_id}
      GET
    • /view
      GET
    • /upload/image
      POST
    • /upload/mask
      POST
    • /interrupt
      POST
    • /object_info/{node_class}
      GET
    • /system_stats
      GET
    • /history
      GET
    • /queue
      POST
    • /queue
      POST
    • /queue
      GET
    • /prompt 
      GET
    • /object_info
      GET
    • /view_metadata/{folder_name}
      POST
  1. ComfyUI

/system_stats

GET
http://192.168.3.25:8188/system_stats
系统统计信息接口

请求参数

无

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://192.168.3.25:8188/system_stats'

返回响应

🟢200成功
application/json
Body
system
object 
必需
os
string 
必需
python_version
string 
必需
embedded_python
boolean 
必需
devices
array [object {7}] 
必需
name
string 
可选
type
string 
可选
index
integer 
可选
vram_total
integer 
可选
vram_free
integer 
可选
torch_vram_total
integer 
可选
torch_vram_free
integer 
可选
示例
{
    "system": {
        "os": "nt",
        "python_version": "3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]",
        "embedded_python": false
    },
    "devices": [
        {
            "name": "cuda:0 NVIDIA GeForce RTX 4070 Ti SUPER : cudaMallocAsync",
            "type": "cuda",
            "index": 0,
            "vram_total": 17170956288,
            "vram_free": 15702425600,
            "torch_vram_total": 67108864,
            "torch_vram_free": 33554432
        }
    ]
}
修改于 2024-07-08 12:14:34
上一页
/object_info/{node_class}
下一页
/history
Built with