Image generation
diffusers-image-outpaint
Extend a photo beyond its edges to change the aspect ratio
★ 2.5k
May 2026
Apache-2.0
Image generation
What it does
Paints in what lies outside the frame so a portrait shot can become landscape, or a cropped-off sky can be restored. The original pixels are kept and only the new area is generated, blended to join naturally. What gets added is invention, not record, so this should never be used on journalistic or evidentiary images; people and buildings can also join up awkwardly. Uploads go to the host's servers and the model's OpenRAIL++ licence restricts certain uses.
Summary based on the project's own description. The Japanese page has a fuller beginner guide: setup difficulty, what to prepare, and a step-by-step start.
Screenshots & visuals
Before you start
- Setup difficultySome setup needed
- Command lineNot required
- API keyNot required
- Sends data onlineYes
Judged automatically from the project's own metadata. Always confirm on the official page.
diffusers-image-outpaint FAQ
- Do I need to install anything or write code to use diffusers-image-outpaint?
- No install needed — it runs in the browser.
- Does diffusers-image-outpaint work on a phone?
- No. It needs a computer.
- Can I use diffusers-image-outpaint commercially?
- The licence is Apache-2.0, which permits commercial use. Conditions such as keeping the copyright notice still apply, so read the licence text before shipping it inside something.
How it compares
The conditions that decide whether you can actually use it, side by side.
| Tool | Command line | API key | Sends data out | Phone | Commercial use |
|---|---|---|---|---|---|
| diffusers-image-outpaint (this page) | Not needed | Not needed | Yes | No | With conditions |
| ImageToolbox | Not needed | Not needed | No | Yes | Yes |
| Omni-Image-Editor | Not needed | Not needed | Yes | No | Yes |
| FLUX.1-Kontext-Dev | Not needed | Not needed | Yes | No | With conditions |
"Sends data out" means your input is uploaded to someone's server. Pick "No" when the material cannot leave your organisation.