Skills
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.
What Duaer returns
data[0].b64_json is the enlarged image.
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-upscale
description: >-
Enlarge one image with Duaer. The subject, layout, colors, and text stay.
One successful image uses that model's image credits.
---
# Enlarge an image with Duaer
Duaer Upscale sends an existing image to `POST https://api.duaer.com/v1/images/generations` and asks the model to enlarge it without adding or removing anything.
## When to use
- You already have a picture and need a larger one.
- On the canvas, use the Duaer Upscale node. It reads binary field `data`.
## Call
`POST https://api.duaer.com/v1/images/generations`
Header: `Authorization: Bearer <Duaer key>`
```json
{
"model": "doubao-seedream-5.0-lite",
"prompt": "Enlarge this image to the requested size. Keep the same subject, layout, colors, and text. Do not add or remove anything.",
"size": "2560x1440",
"response_format": "b64_json",
"watermark": true,
"image": "data:image/png;base64,..."
}
```
Use an account key or a model API key.
Get a Duaer key: https://skills.duaer.com/keys.md
## Parameters
- `image` — Required. A data URL of the source picture.
- `size` — `2560x1440` for a wide image, `1440x2560` for a tall image, `2048x2048` for a square image.
- `model` — An image model enabled in Duaer.
## Result
`data[0].b64_json` is the enlarged image.
How-to: https://doc.duaer.com/build/duaer-upscale.md
## Credits
One successful image uses that model's image credits.
A request that fails before the model runs uses 0.
No remaining credits returns 402 and does not generate.
A missing key returns 401.
## Related
- https://skills.duaer.com/cutout.md — Duaer Cutout
- https://skills.duaer.com/edit.md — Duaer Edit
- https://skills.duaer.com/image-mesh.md — Duaer Mesh
Related skills
Media
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.
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.
MediaTurn an image into a 3D file in Duaer
In Duaer, turn one image into a GLB file. A finished task is billed from output tokens, not as one image.