extend_scene
Expand a canvas by specified margins and fill new space with sampled texture patches from the active layer, matching adjacent pixels so no new colors appear.
Instructions
Grow the canvas by left/right/top/bottom pixels and fill the
new space on layer (the active one) by continuing its own texture, like
turning a portrait scene into a wide banner. Patches of patch pixels are
copied from the sample_* area (all of the layer by default) and matched
to what is already beside them, so no new colours appear. Pick a sample of
pure background, like open meadow, so the subject isn't copied, and big
enough not to repeat. The margins come from frame and are shared by the
layer's other frames. Other layers just get a bigger canvas. One undo step. Headless: pass file.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "extend_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| file | No | ||
| left | No | ||
| seed | No | ||
| frame | No | ||
| layer | No | ||
| patch | No | ||
| right | No | ||
| bottom | No | ||
| sample_x | No | ||
| sample_y | No | ||
| sample_width | No | ||
| sample_height | No |