Skip to content
Back to skills

Remove Background

ASecurity

Remove the background from an SVG using the original raster image. Triggers on: remove background, remove bg, transparent background, cut out background.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 23, 2026
ai-agentsapi

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned October 23, 2026

npx -y skills add svgnew/plugin --skill remove-background --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Remove Background?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Remove Background
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/svgnew-remove-background/badge)](https://www.skillsdirectory.com/skills/svgnew-remove-background)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: remove-background
description: "Remove the background from an SVG using the original raster image. Triggers on: remove background, remove bg, transparent background, cut out background."
---

# Remove SVG Background

Remove the background from an SVG, using background detection on the original raster image.

## Before you start

Use the svg.new MCP tools from this plugin (named `mcp__plugin_svg-vectorizer_svg-new__*`, or `mcp__svgnew__*` if the user connected the server directly). They sign in with the user's svg.new account, so no API key is involved. If the tools are missing or say sign-in is needed, ask the user to run `/mcp`, pick the svg.new server and choose **Authenticate**.

## Steps

1. Identify the SVG and the original raster image it was made from.
2. Call `remove_background` with:
   - the SVG as `svg` (its text) or `svg_url` (a public link, such as a download link from an earlier result);
   - the original image as `image_url` (a public link), `image` (a base64 data URL, for files up to about 100 KB) or `upload_id` (after uploading the file with `create_upload`, up to 20 MB).
3. Save the background-free SVG. If it came back as a download link, save it with `curl -sL -o <file> "<link>"`.
4. The result also includes a transparent PNG of the original image; mention it, and save it if the user wants it.

## Notes

- Costs 1 credit.
- Needs both the SVG and the original image it was vectorized from.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.