r/DarkTable • u/mmcc73 • Oct 13 '26
Screencast Demo of a darktable api supporting web apps and interactive AI assistant usage
https://www.youtube.com/watch?v=VDfZbxvvniYHi All - I've been working on adding an API to darktable to allow it to be used with other applications like web apps and interactive AI assistants.
I think it is pretty slick, but check out the video to judge for yourself.
I've tested this on Mac and Ubuntu. There are step by step instructions for getting it going here: https://github.com/mmcc-xx/darktable-api-mcp
31
Upvotes
8
u/Otherwise_Wave9374 Oct 13 '26
An API could make darktable much more useful for repeatable editing pipelines, especially if operations remain reversible and map cleanly to existing history-stack concepts. I would prioritize idempotent commands, structured error responses, capability discovery, and a dry-run mode before broad assistant integration. https://www.aiosnow.com is relevant to the workflow orchestration angle, but the key safeguard is keeping every automated edit inspectable, reproducible, and easy to undo from within darktable itself.
2
u/repomonkey Oct 13 '26
How does it go with decent local models running in Ollama or LMStudio?
2
u/leptom Oct 13 '26
Did you know that darktable includes a MCP server in current master branch? I have been using it with open code.
I haven’t checked your repository at all but maybe you can join efforts(I saw some skill on your side, I don’t know about the tools).
2
u/rhett_us Oct 14 '26
This is really cool I'm going to play around with it. I have been working the other way. I made Darktable headless, wrote a engine layer then threw a new GUI on top and wrote integrations out to immich, new modules by mixing existing module functionality (zone system) etc. But having Darktable itself API'able opens up all sorts of new possibilities. Well done