$ man image-expand
/image-expand(1)
PRICE / CALL
$0.15
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
synthforgeCATEGORY
ai
STATUS
● live
NAME
image-expand — ai image outpainting / image expansion
SYNOPSIS
POST https://x402.org/v1/image-expand
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
AI image outpainting / image expansion. Bria Expand model. Generates realistic content beyond original borders. Set canvas size + original placement. Commercial-license model.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| image_url | string | Public URL of the source image. | required |
| canvas_width | number | Final canvas width in pixels (256-4096). | required |
| canvas_height | number | Final canvas height in pixels (256-4096). | required |
| original_width | number | Width to render the original at within the new canvas. | optional |
| original_height | number | Height to render the original at within the new canvas. | optional |
| original_x | number | X position of the original (top-left) within the canvas. | optional |
| original_y | number | Y position of the original (top-left) within the canvas. | optional |
| prompt | string | Optional guidance for the generated regions. | optional |
| seed | number | Optional seed for reproducibility (0 to 2^31-1). | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| image_url | string | URL of the outpainted image with generated content extending beyond the original borders. |
| width | number | Final canvas width in pixels after expansion. |
| height | number | Final canvas height in pixels after expansion. |
| file_size_bytes | number | Size of the output image file in bytes. |
| seed | number | Random seed used by the Bria Expand model for this generation, reusable for reproducible results. |
| source_url | string | URL of the original input image that was expanded. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/image-expand \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# install once claude mcp add x402 --command "npx x402-deployer-mcp" # then ask Claude Code: # "use the image-expand tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- outpaintexpandimageaibriagenerative
- env
- FAL_KEY
- methods
- POST
- cluster
- synthforge
- price
- $0.15 USDC per call
ADJACENT — other endpoints in synthforge
| endpoint | description | price |
|---|---|---|
| image-generate-pro | Image generate (pro) / premium text-to-image / Flux 2 Pro / Recraft / Seedream / Qwen Image 2 Pro / xAI Grok Imagine. | $0.10 |
| image-to-video | Image-to-video / animate still image / Seedance image-to-video / motion-from-photo / camera-movement on photo. | $0.20 |
| seedance-video | Seedance 2.0 / Seedance 2.0 video generation / Seedance video AI / generative AI video / text-to-video AI / cinematic AI clips on AI Gateway. | $0.20 |
| text-to-video | Text-to-video / AI video / Seedance / generative video / cinematic clip from prompt. | $0.20 |
| remove-bg | AI background remover / background eraser / cutout tool. | $0.08 |
| music-generate | Music generation / text-to-music / AI music / generative song / instrumental and vocal music. | $0.05 |
| text-to-speech | Text to speech / TTS / voice generator. | $0.05 |
| voice | Text-to-speech / TTS / voice synthesis. | $0.05 |
SEE ALSO