360 Secure SkillHub
360 安全技能中心

yaps-background-removal

该 Skill 通过 Yaps 的 media remove-background 处理 JPG、PNG、WebP 或 BMP 图片,可生成透明背景、纯色背景或贴纸轮廓 PNG,并提示检查文件、尺寸、设备与遮罩覆盖率。使用前需安装并登录 Yaps,且版本不低于 2.3.124。

yaps
热度 18.64
最近更新 2026-09-25 09:13:27
分类:创作依赖:代码执行 / 读写文件 / 第三方 API应用场景:图像生成 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add yaps-background-removal
Metadata
name
yaps-background-removal
description
Remove an image background with Yaps. Save a transparent PNG, solid background, or outlined sticker. New users: install Yaps and sign in.

Yaps Background Removal

Read the runtime guide before the first operation. It defines <yaps>, account readiness, local permissions, and file handling.

Required Yaps version: 2.3.124 or newer. Check installed command help for later capabilities.

Feature readiness: Background Removal model, installed only after authorization when missing. Check media remove-background help for current platform support.

Workflow

Select the exact JPG, PNG, WebP, or BMP source and a new PNG destination. Run <yaps> media remove-background <input> --output <new.png> --pretty. Transparent output is the default.

For a solid background use --mode color --color #RRGGBB. For a die-cut sticker use --mode sticker --color #ffffff; here colour means the outline, not the background. Accept only a literal # followed by exactly six hex digits.

Verify the file, dimensions, device, and mask coverage reported by Yaps. Coverage below 0.005 indicates no clear subject and must not be described as a clean successful cutout. Where preview is available, inspect alpha edges, hair, holes, fine detail, and any unwanted background islands. Preserve the original and previous exports.

Boundaries

  • Do not replace the source or silently change the requested output mode.
  • An empty mask or unreadable output is not success.
  • Use Yaps's processing, not an unrequested hosted image API.