REST API

Integrate with scripts, pipelines and external tools. Fetch images, metadata, tags and more.

What can you do with this?

The API makes it easy to plug PixlStash into your own tooling. Two integrations we've built so far:

ai-toolkit: feed a LoRA training run

Our ai-toolkit fork pulls a curated dataset straight from a PixlStash vault and feeds it into a LoRA training run. No manual file juggling required.

View the ai-toolkit fork on GitHub →

LM-Studio: your library inside the chat

Point an LM-Studio chat at your PixlStash server and the assistant can pull in matching pictures as it answers: reference shots, mood-board lookups and search-by-tag all happen without leaving the conversation.

View the LM-Studio plugin on GitHub →

ComfyUI nodes

The ComfyUI-PixlStash custom node package connects your vault directly to ComfyUI. Browse and load images by project, set, or character, run them through any pipeline, and save the results back with full metadata and optional workflow embedding.

ComfyUI-PixlStash workflow screenshot

Save results back to your vault from the same graph with the PhotographySaver node:

ComfyUI-PixlStash PhotographySaver node: saves outputs to a vault with metadata

View ComfyUI-PixlStash on GitHub →

API features

Jump straight into a section of the reference docs.

Explore the full API reference

Every endpoint, grouped by resource, with live examples and copy-paste curl snippets.