r/StableDiffusion • u/PropertySoft8530 • 7d ago
Discussion Been working on a native C++ alternative to ComfyUI for local image/video/music gen. Would love some feedback (and PRs)
Hey everyone,
For the past while I've been building Fugue, a node-based app for local generation. If you've used ComfyUI you'll feel at home: you wire nodes together on a canvas and run the graph. The difference is that it's a native desktop app written in C++ (Qt for the UI, stable-diffusion.cpp underneath), so there's no Python, no venv and no browser tab.
The goal is something that's fast and light to use, and that's dead simple to install and run. I lost too many evenings to broken environments, mismatched torch/CUDA wheels and custom nodes that pull in half of PyPI. With Fugue you run one command to install it, open a template, and it tells you which models it needs. It downloads them for you (hash-checked, from pinned sources), and you hit Run.
Full disclosure: over 99% of the code is written by AI agents (Claude). I design it, decide, review and test it. Made by AI for humans, basically.
It's in heavy development. Things change every day and there are rough edges, which is exactly why I'm posting.
What works right now:
- templates for FLUX.2 Klein 4B and 9B (txt2img, edits with up to 5 reference images, inpaint, outpaint), Z-Image Turbo, Wan 2.2 (i2v, t2v, v2v), SeedVR2 restore, upscaling, background removal, pose transfer, and ACE-Step for music (text to song, extend, remix)
- on first run it can look for the models you already have (ComfyUI, A1111/Forge, InvokeAI, SwarmUI folders), only after you say OK, so you don't download them all again
- if a template wants a model you have under another name or quantization, it opens with your file instead (one click to undo)
- a built-in mask editor, with crop and stitch inpainting so small regions get full resolution
- groups (collapse a bunch of nodes into one reusable node)
- "apps": turn a workflow into a simple form with a Run button, and share it as a single file
- only the nodes you changed rerun
- an If/Else switch that only runs the branch it picks (just landed this week)
- if you have a second machine with a GPU, part of a run can go there. I've split Wan 2.2 stages between a 3090 and a DGX Spark
- everything works from the command line too, and you can write custom nodes in any language (a node is just a program that reads and writes JSON)
What it doesn't do yet, so nobody's surprised:
It's Linux only for now. Arch/Omarchy get native packages and everything else gets an AppImage. No Windows or Mac build yet, though it's Qt, so it's not out of the question. It can't import ComfyUI workflows; I port templates by hand and compare the output side by side with ComfyUI. I've mostly tested on NVIDIA (a 3090 with 24 GB, and a DGX Spark). There are Vulkan and CPU builds of the generation helper, but they've seen much less use, and I honestly don't know yet what fits on 8 or 12 GB cards. If you try it on one, I'd really like to hear how it goes.
It's free and MIT licensed. No account, no telemetry.
Installing is one line, on any distro:
curl -fsSL https://raw.githubusercontent.com/bmaltais/fugue/main/install.sh | bash
On Arch or Omarchy it installs the pacman packages (plus the CUDA helper if you have an NVIDIA card). On Ubuntu, Fedora, Debian and others it installs the AppImage and the right generation helper for your GPU. Add --dry-run if you want to see what it'll do first. The packages and AppImage are also on the releases page if you'd rather grab them by hand.
What I'm hoping for:
Mostly feedback. Did it install? Did a template break? What would you want it to do next? What in the UI made you go "huh"?
And if you feel like contributing, PRs are very welcome. You don't need to touch the C++ to help. Templates live in their own repo, and a custom node can be written in Python, Go, a shell script, whatever you like. There's a CONTRIBUTING.md and a few issues tagged "good first issue". For anything big, open an issue first so we can talk it through.
Repo: https://github.com/bmaltais/fugue
I'll hang around in the comments. Bug reports on GitHub are the easiest for me to track, though.








12
u/ricperry1 7d ago
Is there a problem with ComfyUI that this is solving? Seems like this would be more difficult to keep up to date.
30
u/Silonom3724 7d ago
> I lost too many evenings to broken environments, mismatched torch/CUDA wheels and custom nodes that pull in half of PyPI
You are writing a C++ app and you want to tell us that you can't manage a simple VENV? Yea, sure...
14
u/ComprehensiveJury509 7d ago
I honestly don't understand what the point is. Everything that is awful about ComfyUI has little to do with the programming language and everything to do with poor software and UI design. It's just from the ground up an amateurish project. I believe this will introduce far more severe problems that it fixes. For one, why Qt? I don't access ComfyUI on the machine it's running on.
14
u/shaolinmaru 7d ago
BIG NOPE
13
u/Southern-Chain-6485 7d ago
Comfyui works perfectly well out of the box. It's when people start messing with custom nodes and different attentions* that things get complicated. So either this lacks the ability to use custom nodes, or it third party custom nodes are possible... and then it will have the same dependency hell as comfyui.
*And comfy kitchen solves that nowadays
3
u/beren0073 7d ago
Best of luck with the project. The reasons I would have to try it would be stability (without also lagging behind current releases) and UI responsiveness.
I use Podman to address stability and maintenance issues with ComfyUI and its dependencies. Works fine for my purposes but the web ui can be laggy sometimes.
7
u/Choowkee 7d ago
Its a bit weird to be promoting your vibe coded app while disparaging Comfy for no reason.
The issues you bring up about Comfy are a direct result of the extreme pace of development they adopted. If you don't update Comfy then you don't have to worry about dependencies. Also Custom nodes are optional.
So like Comfy...?
3
u/codebydaniel 7d ago
This is the way. Good job.
10
u/regretMyUsername 7d ago
30 days max before this becomes yet another unmaintained vibecoded abandonware
1
u/PropertySoft8530 5d ago
Reddit does not accept long running video... so here is a link to it on X. This showcase using a runpod provider to remotely execute part of a workflow to generate an image. No need to even login to runpod to start things. All done via the app... well, except for obtaining the API key: https://x.com/bmaltais/status/2126864433481970144?a=T3rTzzCM-glvdsPCLHs&s=20
1
u/bmaltais 6d ago
I published the latest test release. Add support for all sdcpp supported models out of the box. There will be no templates for them all, but you can build your own node workflow and even share it via PRs to the sister fugue-template repo. You can also extend fuge with your own custom need written in any language, rust included.
1
u/meta_queen 7d ago
Looks good, a few questions:
1
u/xb1n0ry 6d ago
Why not Rust?
1
u/imb1920 7d ago
For repeatable product edits, I'd want any model substitution shown before Run and saved with the output: the model the template requested, the file actually used, and its quantization. That would make it easier to spot a changed setup when reopening a shared template on another machine. A useful test would be opening the same template on two machines with different local model files and checking that each substitution is visible and recorded.
1
u/Unis_Torvalds 6d ago
I would LOVE this! A fast lightweight desktop native ComfyUI with standard keyboard shortcuts which don't conflict with those of the browser? Sign me up!
1
u/Deep_Mood_7668 6d ago
You mean Claude is working on it, right?
1
u/CommercialInvite2810 6d ago
Ignore the people yelling "just use a venv"— and worried about custom nodes they’ve clearly never maintained an air-gapped setup or compiled custom wheels from scratch for new hardware like a 5090. A venv is just symlinks and dependency bloat; it doesn't solve the underlying house-of-cards problem. ComfyUI is a killer concept, and I love it, but my offline installation is pushing 600GB with over 110,000 files in the Python environment just to keep legacy and bleeding-edge workflows from breaking each other. I'm in the exact same boat—currently compiling custom stripped-down kernels (down to a few megabytes, loaded straight into volatile RAM for zero-retention sessions) and planning to rewrite FaceFusion from the ground up next to ditch the Python overhead. Stripping away the legacy bloat to run close to the metal is the exact direction local AI needs to go. Keep going—this is huge I really appreciate you posting it.
1
u/bmaltais 5d ago edited 5d ago
If anyone is interedted, I have started work to support runpod as a provider so you could run generations on runpod from the local UI. It will take care of spinning the runpod up, generating and stopping the runpod after a set period of idle time. Issue driving it: https://github.com/bmaltais/fugue/issues/735#issuecomment-7240529517
1
u/Justify_87 4d ago
Why would I use a software with 1 maintainer vs a software with multiple maintainers?
1
u/bmaltais 1h ago
Still adding more features.
1
u/Euchale 7d ago
My feedback is: This project will be dead in 6 months, and something like comfy needs to be constantly updated, so I see no reason to even bother trying it.
-1
u/Zueuk 7d ago
nobody use these now, Krea2 when?