Koskamo

Execute image background removal

The user receives a processed image file with the background removed, generated by the API and returned as a binary response or URL, ready for download or further use.

How it works

Changes data in your accountsDesign and content

The agent identifies the 'remove-bg' tool from the available tools list. It constructs a POST request to the /api/v1/process/remove-bg endpoint, attaching the user's image file and the user's API key in the header. The agent executes the request, handles the binary image response, and provides the result to the user. It verifies the request succeeded by checking for a 200 status code and valid image data.

Prompt

Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.

Prompt for Execute image background removal
Remove the background from the attached image using the apiai.me service. Use the remove-bg tool and return the resulting image.

MCP servers it needs

Source

The vendor page this playbook is drawn from, and the passage that supports it.

What you get after clicking Copy curl -X POST https://apiai.me/api/v1/process/remove-bg \ -H "X-API-Key: ak_xxxx" \ -F "image=@photo.png" \ --output result.png
apiai.me Docs — API Pipelines & AI Orchestration Reference

Each playbook is drawn from the vendor page it cites and reviewed by Koskamo before it is published. Koskamo does not run these servers or your agent: check what each tool will do before you let it act on your accounts.