output
Glossary ↗Outpainting
Outpainting is a generative image technique that extends a picture beyond its original edges, inventing new content that continues the existing scene — sky above a cropped skyline, more room around a product, a wider background behind a portrait. It's the mirror image of inpainting, which fills a hole inside an image; outpainting fills the empty canvas around it. Diffusion models power it: the tool treats the blank border as noise to be denoised, conditioned on the pixels already present so lighting, texture, and perspective stay consistent. For SaaS builders, outpainting shows up in design and marketing tools — reframing a square photo to a 16:9 banner without cropping the subject, or generating breathing room for text overlays. Practical note: results are best when you extend in modest increments and give a short prompt describing what should appear in the new area; large jumps or vague prompts cause visible seams and repeated patterns. Photoshop's Generative Fill, DALL-E, and Stable Diffusion pipelines all expose it. It is worth being explicit that outpainting is not the inverse of cropping. Nothing is recovered — there is no hidden original data outside the frame to restore. Every pixel beyond the border is invented by the model, conditioned on the edges it can see plus your prompt, which means the result is plausible rather than true. That distinction matters legally and editorially as much as technically: extending a photograph of a real place, product, or person fabricates context that never existed, and any product surfacing this to users is better off labelling it as generation than as "expand" or "uncrop." Quality is also not uniform in every direction. Extending along a strong visual cue — a clear horizon, a continuing wall, an even sky — gives the model an unambiguous continuation to follow and tends to hold together well. Extending into genuinely ambiguous regions, where the original gives no hint what should be there, is where you get repeated motifs, drifting perspective, and visible seams. Extension size compounds this: the further you push past the original relative to its own dimensions, the less anchoring signal remains and the harder coherence becomes, which is the technical reason incremental passes beat one large jump. On cost, most commercial APIs bill outpainting like any other generation — per image, at standard rates — so the budgeting question is how many passes a good result takes rather than whether the operation itself carries a premium. Build for iteration: let users extend, inspect, and extend again, rather than committing to a final canvas in a single call.
Related terms