Menu

Post image 1
Post image 2
1 / 2
0

Outpaint — extend any image beyond its borders

DEV Community·Om Prakash·29 days ago
#aqTIwtM1
Reading 0:00
15s threshold

Outpaint — extend any image beyond its borders Every team that ships images at scale eventually hits the same wall: the photo you have is the wrong shape for the slot you need. Our new outpaint endpoint extends the canvas in any direction without cropping the subject, without watermarks, and without making you babysit a job queue. What it does POST /v1/image/outpaint takes a public image URL and grows the canvas outward. You pick a direction — all , left , right , top , or bottom — and how many pixels to add per extended side, anywhere from 64 to 512. The original pixels are preserved exactly. Only the new region is generated, and it's generated to be coherent with the lighting, perspective, and structure of what was already there. The whole thing runs synchronously. You make the HTTP call, you wait, you get a finished image back in the response. There's no callback URL to register, no polling loop to write, no job ID to chase across two services.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More