Expand an image's canvas
expand_imageOutpaints an existing generation to a bigger canvas / new aspect ratio — the model extends the scene beyond the original edges. COSTS CREDITS (generate_* by output resolution). Creates a NEW generation in the source's own project. Optionally restrict directions with extend, or zoom out with zoom < 1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zoom | No | 0-1; below 1 zooms out (subject shrinks, more scene appears). | |
| extend | No | Directions to extend. Default: all four. | |
| resolution | No | Default: the source's. | |
| generation_id | Yes | ||
| target_aspect_ratio | Yes |