Skip to main content
Glama

Expand an image's canvas

expand_image

Outpaints 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. An uploaded asset works as the base too (asset_id, not both); its result goes to project_id or the asset's project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zoomNo0-1; below 1 zooms out (subject shrinks, more scene appears).
extendNoDirections to extend. Default: all four.
asset_idNo
project_idNoasset_id only.
resolutionNoDefault: the source's.
generation_idNo
target_aspect_ratioYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / asset_id
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / project_id
      Added value: +{
      +  "description": "asset_id only.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "generation_id",
      -  "target_aspect_ratio"
      -]New value: +[
      +  "target_aspect_ratio"
      +]
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources