Loading...
Loading...
Remove unwanted objects, people, text, and imperfections from photos using each::sense AI. Clean up images with intelligent inpainting that seamlessly fills removed areas.
npx skill4agent add eachlabs/skills object-removalcurl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Remove the person standing on the left side of this photo",
"image_urls": ["https://example.com/beach-photo.jpg"],
"mode": "max"
}'curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Remove the person in the red shirt from this beach photo. Fill the area naturally with the ocean and sand background.",
"image_urls": ["https://example.com/beach-group.jpg"],
"mode": "max"
}'curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Remove the trash can and bench from the right side of this park landscape photo. Make it look like a clean natural scene.",
"image_urls": ["https://example.com/park-landscape.jpg"],
"mode": "max"
}'curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Remove the watermark from the bottom right corner of this image. Restore the original background seamlessly.",
"image_urls": ["https://example.com/watermarked-image.jpg"],
"mode": "max"
}'curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Remove the skin blemishes and acne marks from this portrait photo. Keep the skin looking natural and maintain the original skin texture.",
"image_urls": ["https://example.com/portrait.jpg"],
"mode": "max"
}'curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Remove all the power lines and electrical wires from this sunset cityscape photo. Make the sky look clean and unobstructed.",
"image_urls": ["https://example.com/cityscape-wires.jpg"],
"mode": "max"
}'curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Remove all the tourists and people from this Eiffel Tower photo. I want it to look like an empty plaza with just the monument.",
"image_urls": ["https://example.com/eiffel-tower-crowded.jpg"],
"mode": "max"
}'curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"image_urls": ["https://example.com/vacation-couple.jpg"],
"mode": "max"
}'curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Remove the brand logo from the t-shirt in this photo. Replace it with plain fabric that matches the shirt color and texture.",
"image_urls": ["https://example.com/branded-shirt.jpg"],
"mode": "max"
}'curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"image_urls": ["https://example.com/product-raw.jpg"],
"mode": "max"
}'curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Remove the harsh shadow cast by the photographer on the ground in this outdoor portrait. Make the lighting look natural and even.",
"image_urls": ["https://example.com/portrait-shadow.jpg"],
"mode": "max"
}'session_id# First removal
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Remove the car parked on the left side of this street photo",
"image_urls": ["https://example.com/street-scene.jpg"],
"session_id": "cleanup-project-001"
}'
# Second removal (same session)
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Now also remove the garbage bins near the building entrance",
"session_id": "cleanup-project-001"
}'
# Refinement (same session)
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "The area where the car was removed looks a bit blurry. Can you improve the texture to match the surrounding pavement better?",
"session_id": "cleanup-project-001"
}'"Remove [object description] from [location in image].
Fill the area with [expected background/content].
Keep [elements to preserve] intact."| Mode | Best For | Speed | Quality |
|---|---|---|---|
| Final deliverables, complex removals, professional work | Slower | Highest |
| Quick previews, simple removals, bulk processing | Faster | Good |
maxeco| Error | Cause | Solution |
|---|---|---|
| Insufficient balance | Top up at eachlabs.ai |
| Content policy violation | Prohibited content | Review content guidelines |
| Timeout | Complex generation | Set client timeout to minimum 10 minutes |
| Poor removal quality | Vague prompt | Be more specific about location and fill content |
# Example with extended timeout
curl --max-time 600 -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Remove all people from this crowded plaza photo",
"image_urls": ["https://example.com/crowded-plaza.jpg"],
"mode": "max"
}'each-senseimage-editbackground-removal