Skills
Remove a background in Duaer
In Duaer, keep the subject and put it on a plain white background. One successful image uses the image credits of that model.
What Duaer returns
data[0].b64_json is the subject on white. The file is not transparent.
Key
Before you call, get a Duaer key.
Call skill
Paste this English skill into an agent. It matches Copy skill in the Duaer data market.
---
name: duaer-cutout
description: >-
Remove an image background with Duaer. The subject stays; the background is plain white.
One successful image uses that model's image credits.
---
# Remove a background with Duaer
Duaer Cutout sends an existing image to `POST https://api.duaer.com/v1/images/generations` and asks the model to keep the subject on a plain white background.
## When to use
- You need the subject without its original background.
- On the canvas, use the Duaer Cutout node. It reads binary field `data`.
## When not to use
- You need a transparent PNG. This route returns a white background.
## Call
`POST https://api.duaer.com/v1/images/generations`
Header: `Authorization: Bearer <Duaer key>`
```json
{
"model": "doubao-seedream-5.0-lite",
"prompt": "Remove the background. Keep the subject unchanged, including its shape, colors, and details. Put the subject on a plain white background. Do not add anything else.",
"size": "2560x1440",
"response_format": "b64_json",
"watermark": true,
"image": "data:image/png;base64,..."
}
```
Get a Duaer key: https://skills.duaer.com/keys.md
## Parameters
- `image` — Required. A data URL of the source picture.
- `size` — Match the source shape: `2560x1440`, `1440x2560`, or `2048x2048`.
## Result
`data[0].b64_json` is the subject on white.
How-to: https://doc.duaer.com/build/duaer-cutout.md
## Credits
One successful image uses that model's image credits.
No remaining credits returns 402 and does not generate.
A missing key returns 401.
## Related
- https://skills.duaer.com/upscale.md — Duaer Upscale
- https://skills.duaer.com/edit.md — Duaer Edit
Related skills
Media
Enlarge an image in Duaer
In Duaer, enlarge an existing image and keep the subject, layout, colors, and text. One successful image uses the image credits of that model.
MediaChange part of an image in Duaer
In Duaer, change only the part you name and leave the rest. An optional second image marks the region. One successful image uses the image credits of that model.