OpenCode + Background removal
OpenCode runs the work loop and Background removal performs the selected operation. The Composer below preselects OpenCode, GPT-5.6 Sol, and this tool so you can test one real task with the same billing and recovery path as any AgentSky run.
How the combination works
OpenCode decides when to call Background removal.
OpenCode runs the coding-agent loop in the cloud: it explores the repository, edits files, calls tools, and executes validation with the selected compatible model.
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.
OpenCode
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 OpenCode, GPT-5.6 Sol, and Background removal. Begin with the smallest input that lets you inspect the output before expanding the workflow.
Open the OpenCode Composer
The Composer above preselects OpenCode, GPT-5.6 Sol, and Background removal. Add the target, required inputs and a concrete expected result; the draft stays in place through sign-in.
State the Background removal boundary
Remove the background from this product photo. Preserve the outline and fine details, and return a transparent image.
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 OpenCode + Background removal establishes
Model-flexible coding work where teams want OpenCode's workflow with a wider choice of compatible model providers.
Configure and verify
- OpenCode and GPT-5.6 Sol 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.
Common questions
Related resources
