# imgly/background-removal-js

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/imgly-background-removal-js).**

7,192 stars · 463 forks · TypeScript · AGPL-3.0

## Links

- GitHub: https://github.com/imgly/background-removal-js
- Homepage: https://img.ly/showcases/cesdk/web/background-removal/web
- awesome-repositories: https://awesome-repositories.com/repository/imgly-background-removal-js.md

## Topics

`background-removal` `image-matting` `image-segmentation` `javascript` `onnx` `open-source` `typescript`

## Description

Background Removal JS is a client-side neural matting library that runs a lightweight AI model directly in the browser to compute alpha mattes, removing image backgrounds without uploading any data to a server. It functions as a browser-based image background removal SDK and client-side image matting library, keeping all processing on the user's device to eliminate server costs and preserve privacy.

The project provides a cross-platform creative editing engine that produces identical image and video output across web, mobile, desktop, and server environments from a single codebase. It offers a headless image processing API for programmatic control and batch processing, along with a white-label design editor SDK that allows full customization of UI elements, labels, colors, and fonts to match host branding. The library supports both client-side and server-side background removal, enabling integration into editors or automated batch workflows.

Beyond background removal, the project encompasses a full-featured browser-based photo and video editor with multi-layer design editing, multi-track video timeline management, template-based workflows, AI-powered effects, animation, typography controls, and export to multiple formats including print-ready PDF/X. It includes capabilities for importing from external design tools, enforcing brand safety with templates, and connecting custom asset libraries from DAMs, CDNs, or stock providers.

The documentation covers embedding the editor via SDK into web, iOS, Android, Flutter, or React Native applications, with support for server-side batch processing and AI coding assistant integration for scaffolding editor workflows.

## Tags

### Graphics & Multimedia

- [Client-Side Processing](https://awesome-repositories.com/f/graphics-multimedia/image-background-removal/client-side-processing.md) — Removes image backgrounds entirely in the browser using on-device AI, eliminating server costs and preserving privacy.
- [Multi-Track Video Editors](https://awesome-repositories.com/f/graphics-multimedia/audio-music/audio-recording/multi-track-recording/multi-track-video-editors.md) — Manages a multi-track timeline with cut, trim, split, merge, collage, and audio overlay capabilities. ([source](https://img.ly/products/creative-sdk))
- [Cross-Platform Video Renderers](https://awesome-repositories.com/f/graphics-multimedia/cross-platform-video-playback/cross-platform-video-renderers.md) — Uses a single engine to produce identical video output on web, mobile, desktop, and server environments. ([source](https://img.ly/products/video-sdk))
- [Byte-Identical Outputs](https://awesome-repositories.com/f/graphics-multimedia/graphics-engines-rendering/rendering/engines/multi-mode-rendering-strategies/cross-platform-rendering-engines/byte-identical-outputs.md) — Produces byte-identical output from the same engine whether rendering in the editor or server-side. ([source](https://img.ly/products/creative-sdk))
- [Image Background Removal](https://awesome-repositories.com/f/graphics-multimedia/image-background-removal.md) — Removes backgrounds from images directly in the browser or Node.js, processing client-side to avoid server costs. ([source](https://cdn.jsdelivr.net/gh/imgly/background-removal-js@main/README.md))
- [Browser-Based SDKs](https://awesome-repositories.com/f/graphics-multimedia/image-background-removal/browser-based-sdks.md) — Provides an SDK that removes image backgrounds entirely in the browser using on-device AI.
- [Browser-Based Editors](https://awesome-repositories.com/f/graphics-multimedia/video-production/video-editing/browser-based-editors.md) — Ships a multi-track timeline video editor that runs entirely in the browser without plugins.
- [Browser-Based Video Editors](https://awesome-repositories.com/f/graphics-multimedia/video-production/video-editing/browser-based-video-editors.md) — Provides a timeline editor for trimming, splitting, and reordering clips that runs entirely in the browser without plugins. ([source](https://img.ly/products/video-sdk))
- [Web-Based Photo Editors](https://awesome-repositories.com/f/graphics-multimedia/web-based-photo-editors.md) — Provides a full-featured photo editor that can be embedded into web, iOS, or Android applications via a single SDK. ([source](https://img.ly/products/photo-sdk))
- [Photo Filter Libraries](https://awesome-repositories.com/f/graphics-multimedia/backdrop-filtering-effects/photo-filter-libraries.md) — Ships a library of 60+ cinematic filters and effects for altering image mood in the browser. ([source](https://img.ly/products/photo-sdk))
- [Editor Integrations](https://awesome-repositories.com/f/graphics-multimedia/image-background-removal/editor-integrations.md) — Adds a one-click background removal action to a design canvas so users can edit images without leaving the editor. ([source](https://img.ly/showcases/cesdk/web/background-removal/docs/cesdk/))
- [Server-Side Execution](https://awesome-repositories.com/f/graphics-multimedia/image-background-removal/server-side-execution.md) — Performs the same image matting process on the server side instead of the browser when needed. ([source](https://img.ly/showcases/cesdk/web/background-removal/docs/cesdk/))
- [Headless APIs](https://awesome-repositories.com/f/graphics-multimedia/image-editing-processing/image-processing/processing-apis/headless-apis.md) — Drives all editing operations programmatically, enabling batch processing and automated creative workflows on the server.
- [Color Adjustment Utilities](https://awesome-repositories.com/f/graphics-multimedia/media-processing-analysis/media-manipulation/media-processing-workflows/image-processing-pipelines/image-preprocessing-utilities/color-adjustment-utilities.md) — Applies brightness, contrast, exposure, LUT filters, DuoTone, and blur adjustments to images. ([source](https://img.ly/products/creative-sdk))
- [Multi-Format Video Export](https://awesome-repositories.com/f/graphics-multimedia/multi-format-video-export.md) — Renders finished videos to MP4, WebM, or MOV formats with storage or CDN backend integration. ([source](https://img.ly/products/video-sdk))
- [Multi-Format Asset Imports](https://awesome-repositories.com/f/graphics-multimedia/multi-source-asset-loading/multi-format-asset-imports.md) — Imports Adobe PSD, AI, IDML, Lottie, and common image formats directly into the editor. ([source](https://img.ly/products/creative-sdk))
- [Snap Alignment Libraries](https://awesome-repositories.com/f/graphics-multimedia/precision-alignment-tools/snap-alignment-libraries.md) — Implements snap-to-guide functionality for precise alignment of dragged elements to control points, edges, and grid lines. ([source](https://img.ly/products/photo-sdk))
- [Server-Side Image Processing](https://awesome-repositories.com/f/graphics-multimedia/server-side-image-processing.md) — Runs the same image editing engine on a server for automated batch processing and creative workflows.
- [Text Typography Controls](https://awesome-repositories.com/f/graphics-multimedia/text-typography-controls.md) — Provides inline text editing, custom fonts, kerning, leading, tracking, and text animations. ([source](https://img.ly/products/creative-sdk))
- [Video Project Templates](https://awesome-repositories.com/f/graphics-multimedia/video-frame-templates/video-project-templates.md) — Starts projects from pre-made video templates tailored to specific use cases. ([source](https://img.ly/products/video-sdk))
- [Mobile Video Editors](https://awesome-repositories.com/f/graphics-multimedia/video-production/video-editing/mobile-video-editors.md) — Provides native video editing with camera capture for iOS, Android, Flutter, and React Native apps. ([source](https://img.ly/products/video-sdk))
- [AI Video Enhancement Effects](https://awesome-repositories.com/f/graphics-multimedia/video-rendering-effects/ai-video-enhancement-effects.md) — Enhances videos with AI-driven tools such as auto-captions and background removal. ([source](https://img.ly/products/video-sdk))

### Web Development

- [Client-Side Image Matting](https://awesome-repositories.com/f/web-development/client-side-media-processing/client-side-image-matting.md) — Performs neural image matting entirely on the user's device, eliminating server costs and keeping sensitive data private. ([source](https://img.ly/showcases/cesdk/web/background-removal/web))
- [Image Matting Libraries](https://awesome-repositories.com/f/web-development/client-side-image-generators/image-matting-libraries.md) — Performs image matting on the user's local device, keeping sensitive data private and eliminating server-side processing.
- [Client-Side Media Processing](https://awesome-repositories.com/f/web-development/client-side-media-processing.md) — Runs all editing and processing in the browser so user content never leaves the device unless explicitly uploaded. ([source](https://img.ly/products/creative-sdk))
- [Client-Side Video Editors](https://awesome-repositories.com/f/web-development/client-side-media-processing/client-side-video-editors.md) — Processes all video content in the browser so user data never leaves the client, preserving privacy. ([source](https://img.ly/products/video-sdk))
- [Cross-Platform Rendering](https://awesome-repositories.com/f/web-development/cross-platform-rendering.md) — Uses a single creative engine to produce identical output on web, mobile, desktop, and server. ([source](https://img.ly/products/creative-sdk))
- [Design Template Editors](https://awesome-repositories.com/f/web-development/rendering-templating/server-side-rendering/template-driven-rendering/secure-user-editable-templates/design-template-editors.md) — Provides ready-made templates, placeholders, and lockable layouts to accelerate design creation. ([source](https://img.ly/products/creative-sdk))
- [Headless Editor APIs](https://awesome-repositories.com/f/web-development/headless-api-gateways/headless-editor-apis.md) — Provides a headless API to drive all editing operations programmatically for batch processing. ([source](https://img.ly/products/creative-sdk))

### Artificial Intelligence & ML

- [Client-Side Neural Matting](https://awesome-repositories.com/f/artificial-intelligence-ml/neural-networks/client-side-neural-matting.md) — Ships a browser-based neural network that computes alpha mattes entirely on the client device.
- [AI-Powered Image and Video Generation](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-powered-image-selection/ai-background-removal-and-inpainting/ai-powered-image-and-video-generation.md) — Generates images and videos, transfers styles, and creates graphics from text prompts inside the editor. ([source](https://img.ly/products/creative-sdk))

### Content Management & Publishing

- [Multi-Format Design Exporters](https://awesome-repositories.com/f/content-management-publishing/content-formats-exporting/export-formats/multi-format-design-exporters.md) — Outputs designs as PNG, JPG, PDF, MP4, or WebM and connects to storage or CDN pipelines. ([source](https://img.ly/products/creative-sdk))
- [Print-Ready Exports](https://awesome-repositories.com/f/content-management-publishing/content-formats-exporting/export-formats/pdf-exports/print-ready-exports.md) — Exports to PDF/X with cutout lines, CMYK and spot color, bleed, margins, and color palettes for professional printing. ([source](https://img.ly/products/creative-sdk))
- [Branded Text and Overlays](https://awesome-repositories.com/f/content-management-publishing/content-processing-transformation/document-processing-conversion/document-processing/rendering-visualization/dom-based-content-renderers/media-text-overlays/branded-text-and-overlays.md) — Inserts branded titles, captions, stickers, and logos with automatic brand styling applied. ([source](https://img.ly/products/creative-sdk))

### Game Development

- [Creative Editing Engines](https://awesome-repositories.com/f/game-development/game-engines-frameworks/cross-platform-engines/creative-editing-engines.md) — Produces identical image and video output across web, mobile, desktop, and server from a single codebase.
- [Headless Creative Engine Servers](https://awesome-repositories.com/f/game-development/online-multiplayer/game-servers/headless-servers/headless-creative-engine-servers.md) — Runs the same editing engine server-side for batch processing and automated creative workflows. ([source](https://img.ly/products/photo-sdk))

### Mobile Development

- [Creative SDK Integrations](https://awesome-repositories.com/f/mobile-development/multi-platform-sdk-development/creative-sdk-integrations.md) — Embeds a full-featured photo and video editor into web, iOS, Android, Flutter, or React Native apps via a single SDK.

### User Interface & Experience

- [Multi-Layer Design Editors](https://awesome-repositories.com/f/user-interface-experience/ui-architecture/design-utilities/design-systems/illustration-systems/layered-illustration-design/multi-layer-design-editors.md) — Supports multi-page layouts, layers, groups, alignment, boolean operations, and blend modes for professional design editing. ([source](https://img.ly/products/creative-sdk))
- [White Labeling](https://awesome-repositories.com/f/user-interface-experience/white-labeling.md) — Customizes every UI element, label, color, and font to match the host product's branding. ([source](https://img.ly/products/photo-sdk))
- [Template-Based Brand Enforcement](https://awesome-repositories.com/f/user-interface-experience/branding-tools/brand-contract-enforcement/template-based-brand-enforcement.md) — Enforces brand consistency through design templates, placeholders, lockable layouts, and brand kits. ([source](https://img.ly/products/creative-sdk))
- [Image Property Adjusters](https://awesome-repositories.com/f/user-interface-experience/color-systems/color-rendering-adjustments/color-saturation-adjusters/image-property-adjusters.md) — Provides fine-tuning controls for brightness, contrast, saturation, and color balance in the photo editor. ([source](https://img.ly/products/photo-sdk))
- [Design Import Tools](https://awesome-repositories.com/f/user-interface-experience/design-import-tools.md) — Opens PowerPoint, Canva, Adobe PSD, AI, and IDML files directly into the editor for continued editing. ([source](https://img.ly/products/creative-sdk))
- [Video](https://awesome-repositories.com/f/user-interface-experience/text-editors/editor-interface-customizations/video.md) — Allows selecting which tools and controls appear in the video editor or building a fully headless UI. ([source](https://img.ly/products/video-sdk))
- [UI Customization Tools](https://awesome-repositories.com/f/user-interface-experience/ui-customization-tools.md) — Allows choosing which tools and controls appear or building a fully headless editing interface. ([source](https://img.ly/products/creative-sdk))
- [External Asset Library Connections](https://awesome-repositories.com/f/user-interface-experience/visual-asset-customization/external-asset-library-connections.md) — Connects external DAMs, CDNs, and stock providers as browsable asset sources within the editor. ([source](https://img.ly/products/creative-sdk))
- [Design Editor SDKs](https://awesome-repositories.com/f/user-interface-experience/white-labeling/design-editor-sdks.md) — Provides an SDK that allows full customization of UI elements, labels, colors, and fonts to match host branding.

### Part of an Awesome List

- [Keyframe Animation Tools](https://awesome-repositories.com/f/awesome-lists/ai/video-and-animation/keyframe-animation-tools.md) — Creates motion effects and keyframe animations to bring video content to life within the editor. ([source](https://img.ly/products/video-sdk))
- [Animation And Transitions](https://awesome-repositories.com/f/awesome-lists/devtools/animation-and-transitions.md) — Brings designs to life with keyframe animations, text animations, and motion transitions between scenes. ([source](https://img.ly/products/creative-sdk))
- [Design Templates](https://awesome-repositories.com/f/awesome-lists/devtools/icon-sets/design-templates.md) — Accelerates design creation with ready-made templates, lockable layouts, placeholders, and brand kits.
- [Image and Background Processing](https://awesome-repositories.com/f/awesome-lists/devtools/image-and-background-processing.md) — Client-side background removal for images in the browser.

### Data & Databases

- [Asset Integration Libraries](https://awesome-repositories.com/f/data-databases/file-asset-management/external-asset-modifiers/asset-integration-libraries.md) — Connects DAMs, CDNs, and stock providers as browsable photo sources inside the editor. ([source](https://img.ly/products/photo-sdk))
