Skip to content
프로젝트

소개

Visual image processing pipeline editor

디자인 및 미디어

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

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

Preview

Runtime example

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

yarn install
yarn dev

Open http://localhost:3003.

To run the example app:

yarn build:runtime
yarn dev:example

Open http://localhost:3005.

License

MIT

관련 프로젝트 살펴보기

불러오는 중…