Download a generated PechaKucha Powerpoint
The \"give me my file\" button for your generated PechaKucha deck
GeneratePowerpoint does the fun part - it writes your images into a timed .pptx - but it dumps the file into ComfyUI/output/pecha_kucha and moves on. DownloadPechaKucha is the "wait, where's my file" fix. It's the output node that turns the generated deck's path into an actual button you can click, and that button hands the file to your browser. In a graph that's all pipes and wires, this is the one that gets the result out of the machine and into your hands.
How it works
It's a pure UI/output node: one filename input, no outputs, and it sits at the end of the graph in the same role as a SaveImage. Run it and it passes the path it received to a small JavaScript extension that ships with the pack (web/js/download_pecha_kucha.js). On execution that script does two things: it stores the path in a widget on the node itself (a button labeled "Open Presentation", which it unlocks), and it surfaces the path as a text preview in the UI. Click the button and it opens api/view?subfolder=pecha_kucha&filename=<name>.pptx&type=output in a new tab - ComfyUI's own view endpoint - and your browser shows or downloads the deck from there.
What to wire
Wire GeneratePowerpoint's filename output into filename, run the graph, and the button fills itself in and enables. Because it's an output node it should be the last thing in the chain. It's also quietly useful standalone as a file finder: type a path like ./output/pecha_kucha/my_pecha.pptx into the box and run, and the same button will open that deck even if GeneratePowerpoint isn't in this particular graph.
Common issues
- No "Open Presentation" button at all. That means the pack's frontend extension didn't register - almost always a missing restart after install. Restart ComfyUI (fully, not just refresh), and if it still won't show, you're probably on an old ComfyUI: this pack is written against the newer
comfy_apinode API, so update ComfyUI itself. - The button stays disabled. The extension only unlocks it after a run reports a path back. If the deck file doesn't exist (GeneratePowerpoint errored, or you deleted it), there's nothing to open.
- It doesn't auto-download. It opens a tab; whether the
.pptxdownloads or previews depends on your browser and its Office/PDF handling. Not a bug.
How to install it
Same install as the whole pack - install once, all three nodes come along. ComfyUI Manager, search "PechaKucha", install, restart. Or manually:
cd ComfyUI/custom_nodes
git clone https://github.com/lerignoux/ComfyUI-PechaKucha
cd ComfyUI-PechaKucha
python -m pip install -r requirements.txt
Restart after, and remember the restart is what loads the JavaScript this node needs - it's the part of the pack people skip and then swear the node is broken.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| filename | STRING | The path of this Presentation. |
Outputs (0)
No outputs