Expand a cropped photo
luw_expand_imageExpand a tightly cropped architectural or interior photo into a wider view by outpainting its edges. Costs 1 credit.
Instructions
Luw.ai Expand AI: outpaint a tightly cropped architectural or interior photo to a wider view. Costs 1 credit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image": "<image>"
},
"name": "luw_expand_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Photo to expand (public https:// link or data: URI; the local npx server also accepts a file path). | |
| format | No | Output image format. | |
| precision | No | How far to extend each side, as a share of the photo's size: 90+ about 10%, 61-89 about 17%, 60 or less about 25% (default). |