jpskill.com
🛠️ 開発・MCP コミュニティ

background-removal

高精度なBiRefNetモデルを用いて、商品写真や人物写真などから背景を自動で除去し、透明なPNG画像を生成するSkill。

📜 元の英語説明(参考)

Remove backgrounds from images with BiRefNet via inference.sh CLI. Model: BiRefNet (high accuracy background removal). Use for: product photos, portraits, e-commerce, transparent PNGs, photo editing. Triggers: remove background, background removal, remove bg, transparent background, cut out image, background remover, rembg, product photo editing, cutout, transparent png, bg removal, photo cutout

🇯🇵 日本人クリエイター向け解説

一言でいうと

高精度なBiRefNetモデルを用いて、商品写真や人物写真などから背景を自動で除去し、透明なPNG画像を生成するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o background-removal.zip https://jpskill.com/download/6175.zip && unzip -o background-removal.zip && rm background-removal.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/6175.zip -OutFile "$d\background-removal.zip"; Expand-Archive "$d\background-removal.zip" -DestinationPath $d -Force; ri "$d\background-removal.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して background-removal.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → background-removal フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-17
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

背景除去

Background Removal

inference.sh CLI を介して画像から背景を除去します。

クイックスタート

curl -fsSL https://cli.inference.sh | sh && infsh login

infsh app run infsh/birefnet --input '{"image_url": "https://your-photo.jpg"}'

使用方法

背景の変更を含む画像編集には Reve を使用します。

infsh app run falai/reve --input '{
  "prompt": "remove the background, make it transparent",
  "image_url": "https://portrait.jpg"
}'

または、背景を直接変更します。

infsh app run falai/reve --input '{
  "prompt": "change the background to a beach",
  "image_url": "https://product-photo.jpg"
}'

ワークフロー: 生成と編集

# 1. 画像を生成する
infsh app run falai/flux-dev-lora --input '{"prompt": "a cute robot mascot"}' > robot.json

# 2. Reve で編集する
infsh app run falai/reve --input '{
  "prompt": "remove background, transparent",
  "image_url": "<url-from-step-1>"
}'

ユースケース

  • Eコマース: きれいな商品写真
  • ポートレート: プロフェッショナルな顔写真
  • マーケティング: デザイン用のアセット
  • ソーシャルメディア: プロフィール写真
  • デザイン: 構成要素

出力

透明な背景の PNG を返します。

関連スキル

# フルプラットフォームスキル (全150以上のアプリ)
npx skills add inferencesh/skills@inference-sh

# 画像生成
npx skills add inferencesh/skills@ai-image-generation

# FLUX モデル (インペインティングを含む)
npx skills add inferencesh/skills@flux-image

# アップスケーリング
npx skills add inferencesh/skills@image-upscaling

すべての画像アプリを参照: infsh app list --category image

ドキュメント

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Background Removal

Background Removal

Remove backgrounds from images via inference.sh CLI.

Quick Start

curl -fsSL https://cli.inference.sh | sh && infsh login

infsh app run infsh/birefnet --input '{"image_url": "https://your-photo.jpg"}'

How To

Use Reve for image editing including background changes:

infsh app run falai/reve --input '{
  "prompt": "remove the background, make it transparent",
  "image_url": "https://portrait.jpg"
}'

Or change background directly:

infsh app run falai/reve --input '{
  "prompt": "change the background to a beach",
  "image_url": "https://product-photo.jpg"
}'

Workflow: Generate and Edit

# 1. Generate an image
infsh app run falai/flux-dev-lora --input '{"prompt": "a cute robot mascot"}' > robot.json

# 2. Edit with Reve
infsh app run falai/reve --input '{
  "prompt": "remove background, transparent",
  "image_url": "<url-from-step-1>"
}'

Use Cases

  • E-commerce: Clean product photos
  • Portraits: Professional headshots
  • Marketing: Assets for design
  • Social Media: Profile pictures
  • Design: Elements for compositions

Output

Returns a PNG with transparent background.

Related Skills

# Full platform skill (all 150+ apps)
npx skills add inferencesh/skills@inference-sh

# Image generation
npx skills add inferencesh/skills@ai-image-generation

# FLUX models (including inpainting)
npx skills add inferencesh/skills@flux-image

# Upscaling
npx skills add inferencesh/skills@image-upscaling

Browse all image apps: infsh app list --category image

Documentation