Queue Retake
Fix the settings of jobs already in the ComfyUI queue (steps, CFG, LoRA, size, video length, seed), reorder them and queue them again, without hunting down the input images.
You queue a big batch: image edits with Qwen Image, image-to-video with Wan 2.2, input images coming from several folders… and then you notice that the steps were wrong, a LoRA was still bypassed, or the video length was off. 😬
Queue Retake adds a button to ComfyUI that opens a panel where you can fix the settings of jobs that are already queued (or already finished), reorder them, and queue them again, with every job keeping its own input image.


Features
- Edit queued jobs in bulk: steps, CFG, size in pixels (width/height or “scale longer dimension”), video length (frames), seeds, LoRA name.
- Turn LoRAs on or off, including LoRAs that were bypassed when the job was queued.
- Seed control at relaunch: keep current, randomize, fixed, increment, decrement.
- “All settings” mode to edit any parameter of any node.
- Thumbnails of each job's input image, enlarged on hover.
- Drag & drop to reorder the queue (or use ▲ ▼).
- Live list: jobs that start or finish while you are editing are flagged or removed, so nothing gets run twice.
- Preview before applying: see exactly what will change for each job, then confirm.
- Crash-proof queue: the queue is saved to disk automatically while ComfyUI runs. If ComfyUI crashes or is closed with jobs still queued, the button turns orange (↺ 310 to restore) at the next start: one click and the jobs are back.
- Export / import a list of jobs to a file, to run it later or on another machine.
- Works with: pending jobs, the running job (interrupted and queued again), the last N finished jobs, a backup or a file.
- Groups jobs by workflow, so a Qwen batch and a Wan batch in the same queue each get their own settings.
- English and French, following ComfyUI's language setting.
- 100% local: talks only to your own ComfyUI server. No dependency, no node added to your workflows.
Crash recovery
While ComfyUI runs, Queue Retake writes the queue (running + pending jobs) to ComfyUI/user/queue_retake/autosave.json.gz every time it changes. At the next start, that file is kept as a backup (the 5 most recent sessions are kept).
When the newest backup has not been restored yet, the button shows ↺ N to restore. Click it, then Load: the jobs appear in the usual list, where you can still fix settings and reorder them. The job that was running when ComfyUI stopped is unticked by default, since it may be what caused the crash. Confirming adds the jobs to the queue and marks the backup as restored.
API keys and other sensitive data are never written to the backup. Input images are not copied: they must still be in ComfyUI's input folder (that's where ComfyUI keeps them anyway).
Installation
With ComfyUI-Manager: search for Queue Retake, install, restart ComfyUI.
Manually:
cd ComfyUI/custom_nodes
git clone https://github.com/PainAuChocolatFR/ComfyUI-Queue-Retake
Then restart ComfyUI and reload the page (Ctrl+F5).
How to use
- Click 🔧 Retake queue (bottom left of the screen).
- Choose which jobs to fix (pending, pending + running, or already finished) and click Load.
- Tick the jobs you want to queue again, drag them into the order you want.
- Change the settings. A field marked varies differs between jobs: leave it empty to keep each job's own value.
- Click Preview changes, check the list, then Confirm.
The selected jobs are removed from the queue and queued again, corrected, in the chosen order. At the end, the panel reads the queue back from ComfyUI and shows the actual order, so you can check.
Good to know
- Bypassed nodes are not part of a queued job. To turn a bypassed LoRA back on, Queue Retake rebuilds it from the workflow embedded in the job. This does not work for LoRAs inside a subgraph: you'll get a warning instead of a broken job.
- Unticked pending jobs are not touched, so they run before the ones you queue again.
- Metadata: by default the old UI workflow is removed from the relaunched jobs, because it would show the old settings. Outputs still contain the corrected prompt and can be dragged back into ComfyUI (without your node layout). Tick keep the old workflow if you prefer.
- ComfyUI's history is lost when it restarts: finished jobs can no longer be loaded from “Already finished” after a restart. Pending jobs are safe thanks to the backup.
- Thumbnails only work for images in ComfyUI's
input,outputortempfolders. - “Control after generate” only exists in the editor: a queued job has a fixed seed. The seed modes in the panel do the equivalent at relaunch.
How it works
The panel is a frontend extension that uses ComfyUI's own HTTP API: GET /queue and GET /history to read jobs, POST /queue (delete) and POST /interrupt to remove them, POST /prompt to queue the corrected versions. A small background thread on the server side (queue_backup.py) saves the queue for crash recovery and adds three routes under /queue_retake/. Nothing is sent anywhere else.
Feedback and bugs
Please open an issue with your ComfyUI version, the name of the node involved and, if possible, a screenshot of the panel. Workflows use a huge variety of custom nodes: if a setting doesn't show up on the main screen, tell me which node holds it.
License
En français
Tu lances une grosse série (retouches avec Qwen Image, vidéos avec Wan 2.2, images de plusieurs dossiers)… et tu te rends compte après coup que les steps n'étaient pas bons, qu'un LoRA était resté bypassé ou que la longueur de la vidéo était fausse. 😬
Queue Retake ajoute un bouton 🔧 Corriger la file qui ouvre un panneau pour corriger les réglages des jobs déjà lancés (ou déjà terminés), les réorganiser et les relancer, chaque job gardant sa propre image d'entrée.
Ce qu'il fait :
- modification en lot des steps, du CFG, de la taille en pixels, de la longueur de vidéo, des seeds et du nom des LoRA ;
- activation ou désactivation des LoRA, y compris ceux qui étaient bypassés ;
- mode de seed à la relance : actuelle, randomize, fixed, increment, decrement ;
- « Tous les réglages » pour modifier n'importe quel paramètre de n'importe quel nœud ;
- miniatures des images d'entrée, agrandies au survol ;
- réorganisation de la file par glisser-déposer (ou ▲ ▼) ;
- liste suivie en direct : un job qui démarre ou se termine pendant que tu modifies est signalé ou retiré, rien n'est lancé deux fois ;
- aperçu exact des changements avant de confirmer ;
- file protégée contre les plantages : la file est sauvegardée automatiquement sur le disque. Si ComfyUI plante ou est fermé avec des jobs en attente, le bouton devient orange au redémarrage (↺ 310 à restaurer) : un clic et les jobs reviennent. Le job qui tournait au moment de l'arrêt est décoché par prudence ;
- export et import d'une liste de jobs dans un fichier ;
- interface en français ou en anglais selon la langue de ComfyUI, 100 % local, aucune dépendance.
Installation : dans ComfyUI-Manager, cherche Queue Retake. Ou bien git clone https://github.com/PainAuChocolatFR/ComfyUI-Queue-Retake dans ComfyUI/custom_nodes, puis redémarre ComfyUI et recharge la page (Ctrl+F5).
Utilisation : clique sur 🔧 Corriger la file, choisis la source, clique sur Charger, coche et ordonne les jobs, modifie les réglages, puis Voir les changements et Confirmer. Les limites sont les mêmes que celles décrites plus haut, dans la partie anglaise « Good to know ».