Skip to main content

rmbg

Remove backgrounds from images using Kie.ai AI-powered remix. Produces clean transparent PNG cutouts preserving all subject detail. Triggers on: remove background, transparent png, cut out, isolate subject, background removal.

跳到安装

来源信息

仓库
tylerprogramming/claude-skills
最近来源活动
2026年3月28日 18:41
检测到的 SKILL.md 语言
英语
星标
0
分支
2

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
rmbg
description
Remove backgrounds from images using Kie.ai AI-powered remix. Produces clean transparent PNG cutouts preserving all subject detail. Triggers on: remove background, transparent png, cut out, isolate subject, background removal.
# Background Remover (Kie.ai) Remove backgrounds from images using Kie.ai's AI remix mode. Produces clean, transparent PNG cutouts while preserving every detail of the subject - likeness, hair, clothing, edges. ## How to Use ### Step 1: Identify the Source Parse `$ARGUMENTS` for a file or folder path. If not provided, ask the user. ### Step 2: Confirm Settings Ask about: - **Resolution**: 1K, 2K (default, recommended), or 4K - **Custom prompt** (optional): If the user wants specific instructions beyond standard background removal Show estimated cost before running: - 1K/2K: $0.09 per image - 4K: $0.12 per image - Example: 5 images at 2K = $0.45 ### Step 3: Run ```bash python3 ~/.claude/skills/rmbg/remove_bg.py "<file_or_folder>" \ --resolution <1K|2K|4K> \ [--output "<output_path>"] \ [--prompt "<custom_prompt>"] ``` ### Step 4: Report Results Tell the user how many images were processed, the output directory, and total cost. ## Output Structure ``` ~/images/nobg/ photo1_nobg.png photo2_nobg.png ``` Output is always PNG (transparency requires it). Files are named `<original_name>_nobg.png`. ## How It Works Uses Kie.ai Nano Banana 2 in remix mode with `auto` aspect ratio. Uploads the original image, then generates a new version with a prompt instructing the AI to isolate the subject on a transparent background. The AI preserves all subject details while cleanly removing the background. ## Rules - Always show estimated cost before processing - Default to 2K resolution - Output is always PNG format (required for transparency) - Output always goes to `~/images/nobg/` unless overridden - Uses KIE_API_KEY from `~/.claude/.env`
在 GitHub 查看