---
title: "Use Muse Code with Background removal — tool setup and examples — AgentSky"
description: "Use Muse Code with the Background removal tool on AgentSky. Preselect the capability, run a bounded task, and verify the returned result and usage."
url: https://agentsky.dev/agents/muse-code/tools/background-removal
---

# Muse Code + Background removal

Muse Code runs the work loop and Background removal performs the selected operation. The Composer below preselects Muse Code, Muse Spark 1.2, and this tool so you can test one real task with the same billing and recovery path as any AgentSky run.

[Repo](https://agentsky.dev/auth/start?returnTo=%2Fagents%2Fmuse-code%2Ftools%2Fbackground-removal%3Fresume%3D1)

How the combination works

## Muse Code decides when to call Background removal.

Runs the task through its ACP harness in a persistent cloud workspace while the selected AgentSky model supplies reasoning and generation.

Remove the surrounding background while keeping the source subject. This fits catalog images, presentation assets and profile cutouts where you already have the right photograph. It does not invent a new setting or replace objects; those jobs require image editing or generation.

- Muse Code Owns the task loop, context, model calls, tool choice, cloud computer, progress and final result.
- Background removal Performs the operation exposed by the current Background removal capability. Its input limits and output shape come from the live tool guide and adapter.
- AgentSky Keeps the selected agent, model, capability grant, task state and usage record together. Tool charges and model or runtime charges remain itemized separately.

Setup and first task

## Start with one bounded background removal task.

The Composer carries Muse Code, Muse Spark 1.2, and Background removal. Begin with the smallest input that lets you inspect the output before expanding the workflow.

01

### Open the Muse Code Composer

The Composer above preselects Muse Code, Muse Spark 1.2, and Background removal. Add the target, required inputs and a concrete expected result; the draft stays in place through sign-in.

02

### State the Background removal boundary

Remove the background from this product photo. Preserve the outline and fine details, and return a transparent image.

03

### Run and verify the returned result

Check the output against the source or brief, confirm that the result has the expected format, and inspect the task usage for model, runtime and tool charges.

Inputs, cost and limits

## What Muse Code + Background removal establishes

Tasks supported by this ACP harness through AgentSky's verified platform-model path.

Configure and verify

- Muse Code and Muse Spark 1.2 are preselected for the browser evaluation.
- Background removal is enabled from the current capability catalog with its live input and output guidance.
- The first task can be checked from the returned artifact, text or provider result before a larger workflow is attempted.

Still depends on the task

- A tool guide does not guarantee a provider result for malformed, blocked or unsupported Background removal inputs.
- A successful tool call does not establish that the result is correct for your business decision; inspect the output at its source boundary.
- Total task cost can include model tokens, active computer time and the selected tool's billable units.

Current Background removal rates

### rembg.remove-background

$0.01 per asset.

Tool-specific details

## Use the current Background removal contract.

Remove the surrounding background while keeping the source subject. This fits catalog images, presentation assets and profile cutouts where you already have the right photograph. It does not invent a new setting or replace objects; those jobs require image editing or generation.

- Required input An image file. The CLI can convert a local file into a base64 data URL for the request.
- Result An image artifact intended to preserve a transparent background, plus its MIME type and provider.
- Configured bounds The capability catalog specifies a 60-second timeout and a 20,000,000-byte limit. Inspect fine edges on both light and dark backgrounds.

## Muse Code + Background removal questions

## Related resources

[Muse CodeReview Muse Code's supported models, tools, channels and connectors.](https://agentsky.dev/agents/muse-code) [Background removal toolReview the current operation inputs, outputs, examples and rates.](https://agentsky.dev/features/tools/background-removal) [Muse Code + Muse Spark 1.2Review the current default agent and model combination.](https://agentsky.dev/agents/muse-code/with/muse-spark-1.2) [PricingReview model, active-computer and tool charges.](https://agentsky.dev/pricing)

## Give Muse Code a background removal task.

[Open the Composer](https://agentsky.dev/agents/muse-code/tools/background-removal#composer)

## Frequently asked questions

### Can Muse Code use Background removal on AgentSky?

Yes. This page is generated from the current AgentSky tool catalog and preselects Background removal for Muse Code. The exact operation still depends on the tool's current adapter, required inputs and provider availability.

### What does Muse Code do with Background removal?

Muse Code interprets the task, decides whether the permitted Background removal operation is useful, supplies its inputs, and returns the result in the running task. The tool performs the operation; it does not replace the agent's reasoning or verification.

### What should my first Muse Code + Background removal task be?

Start with one small, read-only or reversible request. Remove the background from this product photo. Preserve the outline and fine details, and return a transparent image. Then compare the returned result with the source or brief before adding more inputs or allowing follow-up actions.

### How do I verify a Background removal result?

Inspect the returned artifact or response at its source boundary. Check the expected format, important fields, fidelity to the brief and any provider error or partial-result signal; a completed tool call alone does not prove correctness.

### How much does Muse Code + Background removal cost?

There is no fixed task price. AgentSky records the selected tool's billable units together with model token usage and active cloud-computer time. Review the current Background removal guide for the operation rate; provider charges or quotas can remain separate.

### What happens if I am signed out or my balance is empty?

The shared Composer preserves the task, Muse Code, Muse Spark 1.2, and Background removal through sign-in. Before dispatch, AgentSky checks the account and balance; if funding is required, it shows the billing path and keeps the draft instead of silently changing the selections.

### Can I use Background removal without Muse Code?

You can call the underlying tool API directly when you need an operation without a cloud agent. This page is for the combined workflow, where Muse Code supplies the task loop and Background removal is available as a selected capability in the Composer.

### Can I combine Background removal with a connector?

Yes, when the task needs both a tool operation and authorized application data. Enable the connector separately, state the resource and permission boundary, and verify each result at its own source; tool access does not grant connector access.

---

Markdown copy of https://agentsky.dev/agents/muse-code/tools/background-removal. Every agentsky.dev page has one: add `.md` to its address or send `Accept: text/markdown`. Start from https://agentsky.dev/llms.txt.
