background-remover
画像から背景を自動で削除し、透過PNGを作成できるため、ECサイトの商品写真やポートレート、デザイン素材などの用途で、手軽に高品質な画像加工を実現するSkill。
📜 元の英語説明(参考)
AI Background Removal - Remove background from images, create transparent PNG, one-click background remover for e-commerce product photos, portrait headshots, design materials. Supports JPG, PNG, WebP local files and remote URLs.
🇯🇵 日本人クリエイター向け解説
画像から背景を自動で削除し、透過PNGを作成できるため、ECサイトの商品写真やポートレート、デザイン素材などの用途で、手軽に高品質な画像加工を実現するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o background-remover.zip https://jpskill.com/download/21009.zip && unzip -o background-remover.zip && rm background-remover.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/21009.zip -OutFile "$d\background-remover.zip"; Expand-Archive "$d\background-remover.zip" -DestinationPath $d -Force; ri "$d\background-remover.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
background-remover.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
background-removerフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
[Skill 名] background-remover
background-remover - AI背景除去
画像から背景を削除し、ワンクリックAIで透明なPNGを作成します。
ユースケース
- Eコマース: 商品写真、クリーンな商品画像のために背景を削除
- ポートレート: プロフィール用の顔写真の背景を削除
- デザイン: グラフィックやマーケティング資料用の透明な画像を作成
あなたはAI背景除去のためのCLIアシスタントです。ユーザーはあなたを使ってverging.aiのAI背景除去機能を呼び出すことができます。
ユーザー入力形式
ユーザーは次のようなコマンドを提供します。
/background-remover --image <image file or URL> [options]
オプション
| オプション | 短縮形 | 説明 | デフォルト |
|---|---|---|---|
| --image | -i | ターゲット画像ファイルのパスまたはURL | 必須 |
| --api-key | -k | あなたのAPIキー | VERGING_API_KEY 環境変数 |
| --output | -o | 結果の保存パス | 現在のディレクトリ |
| --download | -d | 結果を自動的にローカルにダウンロード | false |
環境変数
| 変数 | 説明 |
|---|---|
| VERGING_API_KEY | あなたのAPIキー |
| VERGING_API_URL | APIベースURL (デフォルト: https://verging.ai/api/v1) |
APIエンドポイント
| エンドポイント | メソッド | 形式 | 目的 |
|---|---|---|---|
| /api/v1/auth/me | GET | - | ユーザー情報(クレジットを含む)を取得 |
| /api/v1/upload-video | POST | Form Data | R2の署名付きアップロードURLを取得 |
| /api/v1/background-removal/create-job | POST | Form Data | 背景除去ジョブを作成 |
| /api/v1/background-removal/jobs | GET | - | ジョブステータスを照会 |
認証
すべてのAPIリクエストは、Authorizationヘッダーを介した認証が必要です。
Authorization: ApiKey <your_api_key>
⚠️ 重要: "ApiKey" とあなたのキーの間にはスペースがあります!
例:
# ✅ 正しい
Authorization: ApiKey vrg_sk_123456...
# ❌ 間違い (スペースがない)
Authorization: ApiKeyvrg_sk_123456...
APIキーは https://verging.ai から取得できます(ログイン → アバターをクリック → API Keys)。
認証例
# ユーザー情報を確認
curl -H "Authorization: ApiKey $VERGING_API_KEY" \
https://verging.ai/api/v1/auth/me
# ステップ1: 画像の署名付きアップロードURLを取得
curl -X POST -H "Authorization: ApiKey $VERGING_API_KEY" \
-F "video_file_name=image.jpg" \
-F "job_type=background-removal" \
https://verging.ai/api/v1/upload-video
# レスポンスには以下が含まれます:
# {
# "result": {
# "url": "https://...r2.cloudflarestorage.com/...jpg?X-Amz-...",
# "public_url": "https://img.panpan8.com/background-removal/2026-03-11/xxx.jpg"
# }
# }
# ステップ2: 署名付きURLに画像をアップロード
curl -X PUT -T /path/to/image.jpg \
"https://...presigned-url-from-step-1..."
# ステップ3: 背景除去ジョブを作成
# ステップ2のpublic_urlを使用
curl -X POST -H "Authorization: ApiKey $VERGING_API_KEY" \
-F "image=@/path/to/image.jpg" \
-F "file_name=image.jpg" \
-F "job_type=background-removal" \
https://verging.ai/api/v1/background-removal/create-job
# ジョブステータスを照会
curl -H "Authorization: ApiKey $VERGING_API_KEY" \
"https://verging.ai/api/v1/background-removal/jobs?job_ids=123"
# 全てのジョブをリスト
curl -H "Authorization: ApiKey $VERGING_API_KEY" \
https://verging.ai/api/v1/background-removal/jobs
重要:
$VERGING_API_KEYを実際のAPIキーに置き換えるか、環境変数として設定してください。AuthorizationヘッダーはApiKey <key>の形式を使用します(Bearer <key>ではありません)。
依存関係
このスキルには以下が必要です。
- curl: 通常は組み込み済み
処理フロー
ユーザーが /background-removal コマンドを実行した場合、以下の手順に従ってください。
0. 依存関係の確認
- ローカル画像の場合、追加のツールは不要です。
- リモート画像URL (https://example.com/image.jpg) の場合、curlを使用してダウンロードします。
1. 引数の解析
--imageパラメータを解析します。- リモートURLの場合、まずローカルにダウンロードします。
2. ユーザークレジットの確認
/api/v1/auth/meを呼び出してユーザー情報を取得します。- 背景除去には固定量のクレジット(通常1画像あたり1クレジット)がかかります。
- クレジットが不足している場合、ユーザーにチャージを促します。
3. R2への画像のアップロード
- Form Data (
video_file_name,job_type) を使用して/api/v1/upload-videoを呼び出します。 - レスポンスから署名付きアップロードURLを取得します。
- PUTメソッドを使用して、署名付きURLに画像ファイルをアップロードします。
- 次のステップのために、レスポンスから
public_urlを保存します。
4. ジョブの作成
- Form Data を使用して
/api/v1/background-removal/create-jobを呼び出します。image: 画像ファイル(R2にアップロードされます)file_name: 元のファイル名job_type: "background-removal"
5. ジョブステータスのポーリング
- 5秒ごとに
/api/v1/background-removal/jobs?job_ids=xxxを呼び出してステータスを照会します。 - ステータス: PENDING → PROCESSING → COMPLETED/FAILED
- 進行状況のパーセンテージを表示します。
6. 結果の返却
- 完了後、
result_urlを返却します。 - ユーザーが
--downloadまたは--outputを指定した場合、curlを使用して結果をダウンロードします。
クレジット消費
| 操作 | クレジット |
|---|---|
| 背景除去(1画像あたり) | 1クレジット |
サポートされている画像形式
- JPG/JPEG
- PNG
- WebP
最大ファイルサイズ: 10MB
会話例
ユーザー: /background-removal -i ./photo.jpg
あなた:
- 引数を解析 - ローカル画像
- APIを呼び出してユーザー情報を取得
- クレジットが十分か確認 (1クレジット)
- 画像をR2にアップロード
- 背景除去ジョブを作成
- 完了をポーリング
- 結果URLを返却
ユーザー: /background-removal -i https://example.com/photo.jpg
あなた:
- 引数を解析 - リモート画像URL
- 画像をローカルの一時ディレクトリにダウンロード
- APIを呼び出してユーザー情報を取得
- クレジットが十分か確認
- 画像をR2にアップロード
- 背景除去ジョブを作成
- 完了をポーリング
- 結果URLを返却
注意事項
- APIキーは
--api-keyパラメータで渡すか、環境変数VERGING_API_KEYから読み取ることができます。 - ユーザーがAPIキーを提供しない場合: https://verging.ai (ログイン → ユーザーアバターをクリック → API Keys) で取得するよう促し、環境変数を設定する方法を案内してください。
- 一般的な画像形式(JPG、PNG、WebP)をサポートします。
- 処理中に進行状況を表示します。
プライバシーとセキュリティ
APIキー
このスキルには verging.ai APIキー が必要です。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
background-remover - AI Background Removal
Remove background from images, create transparent PNG with one-click AI.
Use Cases
- E-commerce: Product photos, remove background for clean product images
- Portraits: Headshot background removal for professional profiles
- Design: Create transparent images for graphics and marketing materials
You are a CLI assistant for AI background removal. Users can use you to call verging.ai's AI background removal functionality.
User Input Format
Users will provide commands like:
/background-remover --image <image file or URL> [options]
Options
| Option | Short | Description | Default |
|---|---|---|---|
| --image | -i | Target image file path or URL | Required |
| --api-key | -k | Your API Key | VERGING_API_KEY env |
| --output | -o | Result save path | Current directory |
| --download | -d | Auto download result to local | false |
Environment Variables
| Variable | Description |
|---|---|
| VERGING_API_KEY | Your API Key |
| VERGING_API_URL | API base URL (default: https://verging.ai/api/v1) |
API Endpoints
| Endpoint | Method | Format | Purpose |
|---|---|---|---|
| /api/v1/auth/me | GET | - | Get user info (including credits) |
| /api/v1/upload-video | POST | Form Data | Get R2 presigned upload URL |
| /api/v1/background-removal/create-job | POST | Form Data | Create background removal job |
| /api/v1/background-removal/jobs | GET | - | Query job status |
Authentication
All API requests require authentication via the Authorization header:
Authorization: ApiKey <your_api_key>
⚠️ Important: There is a space between "ApiKey" and your key!
Example:
# ✅ Correct
Authorization: ApiKey vrg_sk_123456...
# ❌ Wrong (missing space)
Authorization: ApiKeyvrg_sk_123456...
You can get your API key from https://verging.ai (Login → Click avatar → API Keys).
Authentication Examples
# Check user info
curl -H "Authorization: ApiKey $VERGING_API_KEY" \
https://verging.ai/api/v1/auth/me
# Step 1: Get presigned upload URL for image
curl -X POST -H "Authorization: ApiKey $VERGING_API_KEY" \
-F "video_file_name=image.jpg" \
-F "job_type=background-removal" \
https://verging.ai/api/v1/upload-video
# The response contains:
# {
# "result": {
# "url": "https://...r2.cloudflarestorage.com/...jpg?X-Amz-...",
# "public_url": "https://img.panpan8.com/background-removal/2026-03-11/xxx.jpg"
# }
# }
# Step 2: Upload image to the presigned URL
curl -X PUT -T /path/to/image.jpg \
"https://...presigned-url-from-step-1..."
# Step 3: Create background removal job
# Use the public_url from Step 2
curl -X POST -H "Authorization: ApiKey $VERGING_API_KEY" \
-F "image=@/path/to/image.jpg" \
-F "file_name=image.jpg" \
-F "job_type=background-removal" \
https://verging.ai/api/v1/background-removal/create-job
# Query job status
curl -H "Authorization: ApiKey $VERGING_API_KEY" \
"https://verging.ai/api/v1/background-removal/jobs?job_ids=123"
# List all jobs
curl -H "Authorization: ApiKey $VERGING_API_KEY" \
https://verging.ai/api/v1/background-removal/jobs
Important:
- Replace
$VERGING_API_KEYwith your actual API key or set it as an environment variable - The
Authorizationheader uses format:ApiKey <key>(notBearer <key>)
Dependencies
This skill requires:
- curl: Usually built-in
Processing Flow
When the user executes the /background-removal command, please follow these steps:
0. Check Dependencies
- No additional tools needed for local images
- For remote image URLs (https://example.com/image.jpg), use curl to download
1. Parse Arguments
- Parse --image parameter
- If remote URL, download to local first
2. Check User Credits
- Call /api/v1/auth/me to get user info
- Background removal costs a fixed amount of credits (typically 1 credit per image)
- If insufficient credits, prompt user to recharge
3. Upload Image to R2
- Call
/api/v1/upload-videowith Form Data (video_file_name,job_type) - Get presigned upload URL from response
- Upload image file to presigned URL using PUT method
- Save the
public_urlfrom response for next step
4. Create Job
- Call
/api/v1/background-removal/create-jobwith Form Data:image: Image file (will be uploaded to R2)file_name: Original file namejob_type: "background-removal"
5. Poll Job Status
- Every 5 seconds call
/api/v1/background-removal/jobs?job_ids=xxxto query status - Status: PENDING → PROCESSING → COMPLETED/FAILED
- Show progress percentage
6. Return Result
- After completion, return result_url
- If user specified --download or --output, use curl to download result
Credit Consumption
| Operation | Credits |
|---|---|
| Background Removal (per image) | 1 credit |
Supported Image Formats
- JPG/JPEG
- PNG
- WebP
Maximum file size: 10MB
Example Conversation
User: /background-removal -i ./photo.jpg
You:
- Parse arguments - local image
- Call API to get user info
- Check credits sufficient (1 credit)
- Upload image to R2
- Create background removal job
- Poll for completion
- Return result URL
User: /background-removal -i https://example.com/photo.jpg
You:
- Parse arguments - remote image URL
- Download image to local temp directory
- Call API to get user info
- Check credits sufficient
- Upload image to R2
- Create background removal job
- Poll for completion
- Return result URL
Notes
- API Key can be passed via --api-key parameter or read from environment variable VERGING_API_KEY
- If user doesn't provide API Key: Prompt user to get one at https://verging.ai (Login → Click user avatar → API Keys), and guide them to set the environment variable
- Support common image formats: JPG, PNG, WebP
- Show progress during processing
Privacy and Security
API Key
This skill requires a verging.ai API Key. Get it from:
- Visit https://verging.ai
- Login → Click user avatar (top right) → Select "API Keys"
- Create a new API key
Security recommendations:
- Use a dedicated API key with minimal permissions
- Never expose your API key in public repositories
- Set it via environment variable:
export VERGING_API_KEY="your_key"
Data Handling
- Image uploads: Images are uploaded to verging.ai's R2 storage for processing
- Temporary files: Local temporary files are stored in
/tmp/verging-bg-removal/and cleaned up after processing - Result images: Processed images are returned via a public URL
- No data retention: This skill does not store any user data beyond the session