百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

pipemagic

> 编程语言
开源

视觉图像处理流程编辑器

189 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

视觉图像处理流程编辑器

PipeMagic

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

Runtime example

typescript
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

Supported Nodes

  • Input — Resize and fit source images
  • Remove BG — AI background removal using RMBG-1.4 via Transformers.js (WebGPU / WASM)
  • Normalize — Auto-crop to content bounding box, center on square canvas with padding
  • Outline — Configurable outline via Jump Flooding Algorithm on WebGPU, with canvas fallback
  • Estimate Depth — Monocular depth estimation using Depth Anything V2 via Transformers.js (WebGPU / WASM). Fast (~25 MB) and Quality (~40 MB) modes
  • Face Parse — Face segmentation into 19 classes (skin, eyes, hair, etc.) using face-parsing via Transformers.js (WebGPU / WASM). Outputs a color-coded segmentation map
  • Upscale 2x — Super-resolution with WebSR (Anime4K CNN models)
  • Output — Encode to PNG / JPEG / WebP

Packages

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.

Running locally

bash
yarn install
yarn dev

Open http://localhost:3003.

To run the example app:

bash
yarn build:runtime
yarn dev:example

Open http://localhost:3005.

License

MIT

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言