AI outpainting / uncrop

Expand Image API

Extend a photo past its original edges and let AI paint in matching scenery. Turn a portrait crop into a landscape banner, fill an aspect ratio for ads, or recover a tight crop. Pick the direction and how far to extend.

Endpoint

POST https://api.pixelapi.dev/v1/image/outpaint

curl -X POST https://api.pixelapi.dev/v1/image/outpaint \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"image_url":"https://.../photo.jpg","direction":"all","extend_pixels":256,"prompt":"continue the beach scene"}'

direction: all, left, right, top, bottom.

Get the result

curl https://api.pixelapi.dev/v1/image/JOB_ID \
  -H "Authorization: Bearer YOUR_API_KEY"

Jobs run async on managed API service — poll until status is completed. predictable API access.

What people use it for

Also see: Remove Object • AI Image Editor