# Image Editing through toolfare

> Six fixed image operations — background removal, object removal, outpainting, upscaling, product shots in a described scene and virtual try-on — run on an image you give by URL, from Claude, ChatGPT, Codex, Cursor or your own script. No editing-service account or key of your own: toolfare quotes each call before it runs, charges one balance, and returns the edited image in the same call.

Page: https://toolfare.ai/image-editing

## Use it from your agent

Paste this into Claude Code, Codex, Cursor or any agent with a shell:

> Set up https://toolfare.ai/skill.md, then use toolfare to remove the background from this product photo and then place the product in a bright kitchen scene, telling me the price of each step first

Apps without a terminal connect toolfare as an MCP server: https://toolfare.ai/docs#connect

## Use it from a script

```sh
mkdir -p ~/.local/bin
curl -fsSL 'https://toolfare.ai/toolfare/toolfare.mjs' -o ~/.local/bin/toolfare
chmod +x ~/.local/bin/toolfare
export PATH="$HOME/.local/bin:$PATH"
export TOOLFARE_MCP_URL='https://api.toolfare.ai/mcp'
toolfare login
```

Sign in once per machine; the CLI renews the sign-in itself. On a CI runner or another server,
create an API key in the toolfare console and set it as `TOOLFARE_API_KEY` instead of signing in.
Paid calls on one sign-in or key run one at a time. `--max-cost` refuses a call quoted above
that many credits (1,000 credits = $3).

## Tools

### Cut out, clean up or extend an image

Tool: `image_editing`

Remove the image background

Required parameters: image, model

Optional parameters: n, prompt, response_format

Cost: From $0.03

Ask:
- Remove the background from this product photo.
- Erase the price sticker from this image.
- Extend this square photo into a wider scene with more of the beach.

### Stage a product or try a garment on

Tool: `image_editing_edit`

Remove the image background

Required parameters: image, model

Optional parameters: n, prompt, response_format

Cost: From $0.03

Ask:
- Put this bottle on a stone counter next to a window.
- Show this person wearing this jacket.
- Upscale this product image for a print ad.
## Price

From $0.03 Quoted before each call; the final charge follows the returned usage. Pay per call from one balance.

Balances and top-ups are in US dollars. Quotes and `--max-cost` count credits: 1,000 credits = $3 ($0.003 each).

## Use it when

- You need clean cut-outs of product photos for a store or an ad.
- A good image has something in it you want gone, or is too small or too tightly cropped.
- You want a product shot in a new scene without a photo shoot.
- You want to see a garment on a person before producing a full campaign.

## Look elsewhere when

- You want a free-form change described in words — a new colour, a different outfit, several images combined.
- You need a new image from scratch rather than a fix to an existing one.
- The footage is video, not a still.

## Limits

- One input image per call, except virtual try-on, which takes exactly two: the person first, then the garment.
- Object removal, outpainting and product shots need a text description of up to 2,000 characters; the other operations take none.
- Images are passed as URLs or data URLs; one output image per call.
- Pay as you go from your toolfare balance, in US dollars; there is no subscription. A call runs when your balance covers its quote.
