remove_background
PRE-FETCH (mandatory): resources/read kubeez://skills/media-upload AND kubeez://skills/billing-confirmation.
Cut the subject out of an image. The output is a PNG with a REAL transparent background (alpha) — use this instead of prompting an image model for a 'transparent background', which bakes a white or checkerboard fill into the pixels. Ideal for logos, product shots, mascots, and cutouts you will composite over something else.
Scope: generate:media. Billing: flat per image — call estimate(model='remove-background') for the exact price, tell the user, and get confirmation before calling this. Takes NO prompt: it is an operation on an existing image, not a generate_media model.
CANONICAL FLOW: (1) if the user has a local file, call get_upload_url(model_id='remove-background') and send them the link. (2) when they confirm the upload, call get_upload_session(token) to get the public URL. (3) quote the price and ask for confirmation. (4) ONLY THEN call this tool.
Required: image_url — a public HTTPS URL of a .jpg / .jpeg / .png / .webp image (max 5MB; the provider rejects other formats). An already-generated Kubeez image works directly — pass its output URL.
Async: returns {generation_id, status: 'pending'} immediately. Poll get_status(generation_id) until status is 'completed'; the output URL is the cutout PNG. Also available in-app at kubeez.com (image tools → Background Remover).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image_url": "<image_url>"
},
"name": "remove_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||