跳转到主要内容
POST
Manage queue operations

授权

X-API-Key
string
header
必填

API key authentication. Generate an API key from your account settings at https://platform.comfy.org/profile/api-keys. Pass the key in the X-API-Key header.

请求体

application/json

Request to manage queue operations

delete
string[]

Array of PENDING job IDs to cancel

clear
boolean

If true, clear all pending jobs from the queue

响应

Success

deleted
string[]

Array of job IDs that were successfully cancelled

cleared
boolean

Whether the queue was cleared