视觉图像处理流程编辑器
Asset processing pipeline that runs entirely in the browser. Build pipelines with the node-based editor, then run them in your web app with the pipemagic runtime. Supports AI models via WebGPU — no server required.
Node Editor · Example App · npm Package
import { PipeMagic } from "pipemagic";
const pm = new PipeMagic();
const result = await pm.run(
pipeline, // create these with the Node Editor
imageFile,
);
// result.blob → output PNG| Package | Description |
|---|---|
packages/runtime |
Standalone pipeline runtime, published as pipemagic on npm. Framework-agnostic — use it in any web app to run image processing pipelines. |
packages/example |
Minimal demo app (live). Vanilla Vite + TypeScript, ~180 lines. Drop an image and it runs the full sticker pipeline. |
app/ |
The main PipeMagic editor UI — Nuxt 3 / Vue 3 app with Vue Flow, Pinia, and Tailwind CSS. Imports the runtime from pipemagic. |
shared/types/ |
TypeScript type definitions shared between the editor and the runtime. |
yarn install
yarn devOpen http://localhost:3003.
To run the example app:
yarn build:runtime
yarn dev:exampleOpen http://localhost:3005.
MIT
暂无开放 Issues,或尚未同步最近议题。