diff --git a/server.js b/server.js index 0137163..6a717c4 100644 --- a/server.js +++ b/server.js @@ -1481,7 +1481,7 @@ async function sleep(ms) { async function queueComfyPrompt(baseUrl, workflowJson, identifiers = {}) { const clientId = String(identifiers?.clientId || '').trim() || randomUUID(); - const promptId = String(identifiers?.promptId || '').trim() || randomUUID(); + const promptId = randomUUID(); // patched 2026-07-30: ComfyUI now enforces UUID prompt_id, client-supplied ids can be non-UUID and get rejected const response = await fetch(`${baseUrl}/prompt`, { method: 'POST', headers: {