Object Removalのロゴ

Object Removal

組織
eachlabs
object-removal

Remove unwanted objects, people, text, and imperfections from photos using each::sense AI. Clean up images with intelligent inpainting that seamlessly fills removed areas.

概要

公開者eachlabs
リポジトリskills
スキル名object-removal
スター
46
フォーク
7
同梱ファイル
1
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    eachlabsがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルObject RemovalをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/eachlabs/skills/tree/main/skills/object-removal
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/eachlabs/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/object-removal .claude/skills/object-removal
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでObject Removalを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にObject Removalを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Object Removalは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Object Removal & Inpainting

Remove unwanted elements from photos using each::sense. This skill intelligently removes objects, people, text, watermarks, and imperfections while seamlessly filling the removed areas with contextually appropriate content.

Features

  • Object Removal: Remove unwanted items from any photo
  • Person Removal: Remove people from backgrounds cleanly
  • Text/Watermark Removal: Clean up images with unwanted text overlays
  • Blemish Removal: Remove skin imperfections and photo artifacts
  • Wire/Line Removal: Clean up power lines, cables, and wires
  • Logo Removal: Remove branding and logos from images
  • Shadow Removal: Eliminate unwanted shadows
  • Background Cleanup: Remove distracting background elements

Quick Start

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the person standing on the left side of this photo"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/beach-photo.jpg"],
    "mode": "max"
  }'

Use Case Examples

1. Remove Person from Photo

Remove an unwanted person from a group photo or scenic shot.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the person in the red shirt from this beach photo. Fill the area naturally with the ocean and sand background."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/beach-group.jpg"],
    "mode": "max"
  }'

2. Remove Unwanted Object

Clean up photos by removing distracting objects.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the trash can and bench from the right side of this park landscape photo. Make it look like a clean natural scene."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/park-landscape.jpg"],
    "mode": "max"
  }'

3. Remove Text/Watermark

Clean up images with unwanted text overlays or watermarks.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the watermark from the bottom right corner of this image. Restore the original background seamlessly."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/watermarked-image.jpg"],
    "mode": "max"
  }'

4. Remove Blemish/Imperfection

Clean up skin imperfections or photo artifacts.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the skin blemishes and acne marks from this portrait photo. Keep the skin looking natural and maintain the original skin texture."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'

5. Remove Power Lines/Wires

Clean up landscape and architectural photos by removing distracting wires.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove all the power lines and electrical wires from this sunset cityscape photo. Make the sky look clean and unobstructed."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/cityscape-wires.jpg"],
    "mode": "max"
  }'

6. Remove Tourists from Landmark Photo

Get that perfect empty landmark shot by removing crowds.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove all the tourists and people from this Eiffel Tower photo. I want it to look like an empty plaza with just the monument."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/eiffel-tower-crowded.jpg"],
    "mode": "max"
  }'

7. Remove Ex from Photo

Salvage memories by removing someone from personal photos.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the person on the right side of this vacation photo. Fill in with the background scenery naturally so it looks like a solo travel photo."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/vacation-couple.jpg"],
    "mode": "max"
  }'

8. Remove Logo/Branding

Clean up product photos or images with unwanted branding.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the brand logo from the t-shirt in this photo. Replace it with plain fabric that matches the shirt color and texture."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/branded-shirt.jpg"],
    "mode": "max"
  }'

9. Clean Up Product Photo

Remove distracting elements from e-commerce product shots.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Clean up this product photo by removing the price tag, dust spots, and the reflection of the photographer in the surface. Make it look professional and ready for e-commerce."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/product-raw.jpg"],
    "mode": "max"
  }'

10. Remove Shadow

Eliminate unwanted shadows from photos.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the harsh shadow cast by the photographer on the ground in this outdoor portrait. Make the lighting look natural and even."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait-shadow.jpg"],
    "mode": "max"
  }'

Multi-Turn Object Removal

Use session_id for iterative removal and refinement:

bash
# First removal
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the car parked on the left side of this street photo"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/street-scene.jpg"],
    "session_id": "cleanup-project-001"
  }'

# Second removal (same session)
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Now also remove the garbage bins near the building entrance"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "cleanup-project-001"
  }'

# Refinement (same session)
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "The area where the car was removed looks a bit blurry. Can you improve the texture to match the surrounding pavement better?"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "cleanup-project-001"
  }'

Prompt Tips for Object Removal

When requesting object removal, include these details in your prompt:

  1. What to remove: Be specific about the object(s) to remove
  2. Location: Describe where the object is in the image (left, right, center, background)
  3. Fill guidance: Describe what should replace the removed area
  4. Context preservation: Mention if certain elements should be kept intact

Example Prompt Structure

"Remove [object description] from [location in image].
Fill the area with [expected background/content].
Keep [elements to preserve] intact."

Good Prompt Examples

  • "Remove the person in the blue jacket standing near the fountain on the left side"
  • "Remove all text and watermarks from the image, restore the original background"
  • "Remove the car and fill with matching grass and pathway"

Prompts to Avoid

  • "Clean up this photo" (too vague)
  • "Remove stuff" (not specific)
  • "Make it better" (unclear objective)

Mode Selection

ModeBest ForSpeedQuality
maxFinal deliverables, complex removals, professional workSlowerHighest
ecoQuick previews, simple removals, bulk processingFasterGood

Recommendation: Use max mode for complex removals (people, large objects) and eco for simple cleanups (small blemishes, dust spots).

Best Practices

For Best Results

  • High-resolution source: Use the highest quality source image available
  • Clear descriptions: Be specific about what to remove and where it is
  • Simple backgrounds: Objects in front of simple, repetitive backgrounds are easier to remove cleanly
  • Multiple passes: For complex scenes, use multi-turn removal to address one element at a time

Challenging Scenarios

  • Complex backgrounds: Objects in front of detailed, unique backgrounds may require manual refinement
  • Large objects: Removing very large objects (more than 30% of image) may produce less realistic results
  • Reflections: Objects with reflections may need separate removal requests for the object and its reflection
  • Shadows: Remember to request shadow removal if the object casts a visible shadow

Error Handling

ErrorCauseSolution
Failed to create prediction: HTTP 422Insufficient balanceTop up at eachlabs.ai
Content policy violationProhibited contentReview content guidelines
TimeoutComplex generationSet client timeout to minimum 10 minutes
Poor removal qualityVague promptBe more specific about location and fill content

Client Timeout Configuration

Object removal operations can take time, especially for complex scenes. Configure your HTTP client with a minimum 10 minute timeout to avoid premature disconnections.

bash
# Example with extended timeout
curl --max-time 600 -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove all people from this crowded plaza photo"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/crowded-plaza.jpg"],
    "mode": "max"
  }'

Related Skills

  • each-sense - Core API documentation
  • image-edit - General image editing capabilities
  • background-removal - Remove and replace backgrounds

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Object Removal」では何ができますか?

Remove unwanted objects, people, text, and imperfections from photos using each::sense AI. Clean up images with intelligent inpainting that seamlessly fills removed areas.

TypingMindでObject Removalを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Object Removalはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにObject Removalをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/eachlabs/skills/tree/main/skills/object-removalを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Object Removalを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Object Removalは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもObject Removalを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Object Removal」は無料ですか?

eachlabsがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇