ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Can new tasks be placed at the top of the queue

Open Capo7 opened this issue 3 months ago • 3 comments

Can you put tasks at the top of the queue, such as some short workflows, without queuing for too long

Capo7 avatar Apr 18 '24 03:04 Capo7

"Queue Front" button.

comfyanonymous avatar Apr 18 '24 21:04 comfyanonymous

thanks! Is there an api? I don't seem to see it in the server.py file

Capo7 avatar Apr 24 '24 02:04 Capo7

@Capo7 When sending a POST request to the "/prompt" API, please include the attribute "front": true in your request payload, as shown in the example below:

image

liusida avatar May 01 '24 06:05 liusida