Koskamo

Agent use case: Execute image background removal

Document v1 · published by Koskamo · updated 2026-10-18

Original source

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.

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: Remove the background from the attached image using the apiai.me service. Use the remove-bg tool and return the resulting image.

Source and provenance

Original source
apiai.me
Published on Koskamo by
Koskamo
Citation version
Document v1
Reuse
Check the original source’s reuse terms.

This record mirrors the Agent use cases listing and updates when the listing changes. To correct it, suggest an edit on the listing.

Version history

  1. Synced from the directory

    Version 1