Know what each resource is

Sources checked October 12, 2026. Official API notes below are pinned to v0.7.0. Community workflows follow their author’s current repository. A workflow JSON is a graph configuration, not a model download.

Our CLI template import/export tests used the official Linux 0.7.0 engine. The WASM example, MCP client connections and ComfyUI workflows below have not been run by this site. “Source checked” does not mean “compatibility tested”.

Choose your next step

  • Apply a filter: start with a compiled WASM module and the installation notes below.
  • Generate or edit with AI: use the ComfyUI bridge and an example graph.
  • Convert a folder of assets: use CLI conversion or an action batch.
  • Let an assistant inspect a document: connect an MCP client.
  • Build your own integration: use the local control protocol.

The resource directory

Official · API

WASM filter host

Apply compatible .wasm filters from Filter → Plug-ins.

Requires a compiled module for PhotoCraft ABI v1. Photoshop extensions are not interchangeable.

Source & usage ↗
Official · Source code

Invert developer example

A small Rust filter showing how to implement the plug-in contract.

Build with Rust and the wasm32-unknown-unknown target; no ready-made installer is offered here.

Source & usage ↗
Community · Integration

ComfyUI ↔ PhotoCraft Bridge

Send an image and selection to ComfyUI; return the result as a new layer.

Install in ComfyUI. This is not a PhotoCraft WASM plug-in.

Source & usage ↗
Official · Automation

MCP for AI assistants

Use a compatible MCP client with a headless engine or a running desktop app.

Desktop bridge mode needs PhotoCraft’s local control channel and token.

Source & usage ↗
Official · Command line

CLI conversion & batches

Inspect documents, export files, apply action lists and run droplets.

Use separate output files. PNG export flattens the image.

Source & usage ↗
Official · Developer API

Local control & headless server

Build scripts around JSON-lines requests and persistent editing sessions.

An integration building block, not a downloadable end-user filter.

Source & usage ↗

Five community workflow files

These five JSON files come from the bridge author’s example_workflows folder. File and node structure checked; model inference untested. Referenced models and extra nodes are separate dependencies.

COMFYUI / JSON

Flux.2 round trip

Includes Get/Send nodes and an rgthree Power LoRA Loader. Review the referenced LoRA path.

View workflow ↗ · Open raw JSON ↗

COMFYUI / JSON

Flux.2 Klein 4B bridge

Contains a selection-cropping Get node and two Send nodes. Check which outputs you enable.

View workflow ↗ · Open raw JSON ↗

COMFYUI / JSON

Flux.2 Klein Image Edit 4B

A Get/Send graph for an image-editing workflow with selection cropping configured.

View workflow ↗ · Open raw JSON ↗

COMFYUI / JSON

Krea2 → PhotoCraft

References Krea2 UNET, CLIP, VAE and LoRA files; replace the author’s local model paths.

View workflow ↗ · Open raw JSON ↗

COMFYUI / JSON

Qwen 2.1 Image Edit

Includes a separate reference-image input. Replace the example image before running.

View workflow ↗ · Open raw JSON ↗

Download the JSON from GitHub and drop it into ComfyUI. Resolve missing nodes, model names, paths and reference images, then try a small image. See the ComfyUI bridge guide.

Install a compatible filter

  1. Check the author, supported PhotoCraft version, license and whether a compiled .wasm file is supplied.
  2. Open a small duplicate image and select a pixel layer.
  3. In a build that exposes the documented menu, choose Filter → Plug-ins → Install Plug-in… and select the module.
  4. Run the installed filter, inspect its result and confirm Undo works.

The official preference path is Edit → Preferences → Plug-ins. Desktop builds can load an additional plug-ins folder; the web build installs from bytes. If the menu is absent, compare your release with the documentation rather than renaming a Photoshop plug-in.

Try the CLI on a copy

The CLI is useful for asset pipelines and repeatable exports. Put your own PSD copy at input.psd, then run:

photocraft-cli info input.psd
photocraft-cli convert input.psd preview.png
photocraft-cli commands --filter layer
photocraft-cli batch --help

info reports document structure; convert exports a separate file. For batches, supply an actions JSON, input folder and separate output folder. Droplets can reuse saved actions with photocraft-cli droplet.

We used CLI 0.7.0 to test all 14 downloadable PSD templates. Read the actual test scope and results.

MCP: headless or desktop bridge

Headless: launch photocraft-cli mcp from a compatible client, with explicit --automation-read-root and --automation-write-root folders. It runs its own document session.

Desktop bridge: start PhotoCraft with its control channel, then use photocraft-cli mcp --bridge 127.0.0.1:7878 --control-token-file /private/control.token. Both processes use the same token; file-access roots belong on the desktop launch command. Tools can inspect, open, save and render documents. UI tools require bridge mode.

Keep the token private and the connection on loopback. Client configuration varies; follow the official setup ↗.

Common integration problems

  • Plug-in missing after restart: verify the additional plug-ins folder is enabled and contains the compiled WASM.
  • ComfyUI cannot connect: use the PhotoCraft launch command printed by the bridge and match the exchange directory.
  • Wrong mask area: compare Quick Mask semantics and the bridge’s invert-mask option.
  • Shifted AI result: connect Get’s target to Send and check crop/resize settings.
  • Missing workflow nodes: install the referenced node packages and select models present on your machine.
  • Changed image precision: the ComfyUI bridge exchanges 8-bit PNG; do not assume a 16-bit round trip.

For a repeatable check: keep the input, record versions, export a reference, run one operation, save a copy and reopen it. Compare both appearance and editability.

What this API does not provide

ABI v1 does not provide panel/UI plug-ins, access to other documents or plug-in-defined file formats. Its sandbox has no file-system or network imports. Native Photoshop .8BF, CEP and UXP extensions are not supported by this host.

For an automation or AI integration, start with the control channel or MCP documentation instead of trying to turn a network client into a filter. Read the Photoshop plug-in compatibility guide →

Sources & scope

Written from official documentation and editorial guidance. Not an exhaustive compatibility test. Menu names and behavior can change between releases.