# AI Image Extender to Expand & Uncrop Photos

> Expand photos beyond their borders online with AI outpainting. Drag any edge, shift subject framing, or switch to 1:1, 4:3, 16:9, and 9:16 ratios. Supports JPG, PNG, and WebP up to 10 MB and 4160 px.

**AI Image Extender - Expand & Uncrop Photos Online | docsmall**

- Canonical HTML: https://docsmall.com/en/image-expand
- Markdown: https://docsmall.com/en/image-expand.md
- Language: en
- Updated: 2026-12-06
- Limits: 1 image per session, up to 10 MB, JPG/PNG/static WebP, longest side up to 4160 px (confirmable local downscale above 4160 px); 0%–40% expansion per edge relative to short side; 1 credit per generation (refunded on failure), files auto-deleted after 24 hours

Drag any edge of your canvas or switch to 1:1, 4:3, and 16:9 aspect ratios. AI seamlessly generates matching scenery, lighting, and textures beyond your photo's original borders.

docsmall AI Image Extender supports JPG, PNG, and static WebP files up to 10 MB and 4160 px on the longest side, with optional in-browser downscaling for oversized photos. Adjust top, bottom, left, and right independently up to 40% of the short side, reposition your subject inside the expanded frame, or run a second pass for dramatic aspect shifts. Images are processed on our servers at 1 credit per generation—with automatic credit refunds on failed tasks and 24-hour file retention.

## Pricing · Processing · Input limits · Expansion range

- **Pricing:** 1 credit per expansion; refunded if a task fails
- **Processing:** Server-side AI outpainting (image uploaded)
- **Input limits:** Up to 10 MB; 4160 px max side (resizable locally)
- **Expansion range:** 0%–40% per edge (short-side basis), multi-pass ready

Built for tight crops, awkward framing, and cross-platform aspect ratios, this visual AI image extender lets you uncrop photos right in the browser. Instead of slicing off part of your subject or adding blurry sidebars, drag out the space you need—or pick a preset ratio—and let AI paint natural, seamless background extensions.

- Visual drag-and-frame canvas: pull any edge or corner handle to expand, and slide the original photo inside the frame to offset your subject off-center.
- Smart ratio presets & two-pass workflow: includes Original, 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, and 2:3 presets, flagging wide jumps that need 2 passes with one-click follow-up expansion.
- Clear seam check & fair billing: toggle the original-frame overlay to inspect transitions; each generation costs 1 credit and failed tasks refund automatically.

## How to expand an image online with AI

Upload a photo, drag the borders or pick a target aspect ratio, inspect the generated seams, and download or continue expanding.

1. **Upload your photo to the canvas** — Click the upload zone, drop a file, or press Ctrl/Cmd + V to paste from your clipboard. Single JPG, PNG, and static WebP files up to 10 MB are accepted. EXIF orientation is baked in automatically so phone photos never rotate unexpectedly; images above 4160 px can be scaled down locally after your confirmation.
2. **Drag the borders or pick an aspect ratio** — Pull any of the four edges or corners, choose presets like 1:1, 4:3, 16:9, or 9:16, or fine-tune each side with the percentage sliders below. When there is room along an axis, drag the original photo itself to shift where your subject sits in the final frame.
3. **Generate, inspect seams, and download** — Click "Expand image" (1 credit per pass, automatically refunded if the task fails). Once ready, toggle "Show original frame" to check how smoothly the AI blend meets the original borders, then download the image—or click "Expand result further" to extend even wider.

## Complete Guide to AI Image Outpainting & Uncropping

Understand how AI outpainting differs from cropping and resizing, how the 40% short-side rule works, how to convert portrait photos to 16:9 widescreen in two passes, format limits, privacy, and creative boundaries.

### What is AI image outpainting—and how does it differ from cropping or resizing?

AI image outpainting (also known as uncropping or canvas expansion) enlarges a photo's canvas on one or more sides and generates brand-new imagery that matches the original lighting, color palette, depth of field, and surface texture—without stretching or cutting into your subject.

Each framing tool solves a different problem: use [Crop Image](https://docsmall.com/en/image-crop) when you want to trim away unwanted margins, and [Resize Image](https://docsmall.com/en/image-resize) when you need exact pixel dimensions without inventing new scenery. Choose AI Image Extender when your shot is already framed tightly and you need extra room or a new aspect ratio without losing anything in the frame.

- Keep your entire subject and add natural background space: use AI Image Extender.
- Cut off distracting borders or tighten composition: use [Crop Image](https://docsmall.com/en/image-crop).
- Scale existing pixels up or down to target dimensions: use [Resize Image](https://docsmall.com/en/image-resize).

### How is the 40% per-edge limit calculated—and why is it based on the short side?

Each direction (top, bottom, left, and right) is measured as a percentage of the original image's shorter side—min(width, height)—from 0% up to 40%. For a 1920 × 1080 px landscape photo, the short side is 1080 px, so adding 20% on the left extends the canvas by roughly 1080 × 0.2 = 216 px.

Anchoring every edge to the short side keeps outpainting proportions balanced even on wide panoramas or tall mobile screenshots, preventing extreme one-shot hallucinations. You never need to calculate pixels manually: the canvas badge and sliders convert percentages to estimated pixels and final aspect ratios in real time.

- On a 1080 × 1920 vertical photo (short side 1080 px), 40% per side adds ~432 px—or ~864 px across left and right combined.
- All four sides work independently: extend a single edge (such as adding sky above) or expand all four edges at once.
- Because AI models often align outputs to internal pixel grids, final dimensions may differ from estimates by a few pixels.

### Subject offset & two-pass expansion: turning a 9:16 portrait into a 16:9 banner

Outpainting does not have to stay centered. Whenever you have expansion room horizontally or vertically, drag the original photo inside the dashed frame to place your subject on the left or right third—creating clean negative space for headlines, callouts, or slide copy while locking your target aspect ratio.

Some dramatic ratio conversions require more than 80% combined expansion along one axis. While 1:1 → 16:9, 4:3 → 16:9, and 9:16 → 1:1 all complete in a single pass, jumping straight from 9:16 portrait to 16:9 landscape requires roughly 137% of the short side. The preset bar automatically tags such jumps with "2 passes": expand to the single-pass max (~1:1), review the seams, then click "Expand result further" to reach 16:9 smoothly.

- Single-pass ready: 1:1 → 16:9, 4:3 → 16:9, 3:4 → 1:1, and 9:16 → 1:1.
- Wide aspect flips (9:16 ↔ 16:9): complete cleanly across 2 guided passes with "Expand result further".
- Two-pass expansion gives the model richer visual context per step, producing far steadier perspective than forcing huge blank margins at once.

### Supported file formats and handling photos over 4160 px or 10 MB

The extender accepts single JPG, PNG, and static WebP files up to 10 MB, with minimum dimensions of 64 × 64 px and a longest-side ceiling of 4160 px. Your browser verifies file signatures locally, rejects animated WebP or corrupted uploads, and bakes in EXIF orientation so vertical phone photos always expand along the exact edges you see on screen.

If a DSLR or high-megapixel phone photo exceeds 4160 px on its longest side (while staying under 10 MB), the page pauses and offers to downscale it proportionally inside your browser before uploading. For iPhone HEIC originals, convert locally first with [HEIC to JPG](https://docsmall.com/en/heic-to-jpg); for files heavier than 10 MB, shrink them beforehand with [Compress Image](https://docsmall.com/en/image-compress).

- Accepted formats: JPG, PNG, and static WebP (animated GIF and multi-frame WebP are not supported).
- 10 MB max upload size; photos above 4160 px can be resized locally after confirmation.
- EXIF rotation is baked in locally so top, bottom, left, and right always match your preview.

### What format are expanded images saved in—and what happens to transparency?

Expanded results are typically returned as JPG files (when the output is PNG or WebP, the downloaded filename automatically matches the actual format) using your original name with _expanded appended. Because outpainting synthesizes continuous background scenery around the frame, transparent PNG backgrounds are generally filled in rather than preserved with an alpha channel.

If your photo has edge watermarks, date stamps, or clutter you do not want replicated outward, remove them first with [AI Object Remover](https://docsmall.com/en/image-cleanup) before expanding. After downloading, you can lock exact pixel dimensions with [Resize Image](https://docsmall.com/en/image-resize) or reduce file weight for web delivery with [Compress Image](https://docsmall.com/en/image-compress).

- Outputs typically download as JPG with _expanded appended to the original filename.
- Alpha transparency is not preserved; if you need a transparent cutout, use [AI Remove Background](https://docsmall.com/en/image-remove-bg).
- For small low-res images, expand the framing first and optionally enhance clarity afterward with [AI Image Upscaler](https://docsmall.com/en/image-upscale).

### Where AI outpainting saves the most time

Cross-platform social and web framing: adapt vertical product shots, portraits, or phone photos into 1:1 feeds, 4:3 thumbnails, 16:9 YouTube banners, or presentation slide backgrounds—without resorting to blurred sidebars or chopping off heads and product tops.

Ad creatives and copy space: when a photo fills the frame too tightly to fit headlines, price badges, or a brand mark from [Image Watermark](https://docsmall.com/en/image-watermark), expand just the top or one side to create clean, natural wall, table, or sky space for typography.

- Portrait-to-landscape and landscape-to-portrait adaptation for social feeds, covers, and hero banners.
- Adding clean negative space on one side of product or portrait photos for ad headlines and overlays.
- Rescuing tightly shot photos where subjects sit awkwardly close to the frame edge.

### Are photos uploaded to a server? Privacy and 24-hour retention policy

Yes. Because AI outpainting runs on server-side vision models, your prepared image is transferred over HTTPS to docsmall servers, and the generated expansion is stored temporarily so you can inspect and download it.

No account or sign-in is required, and both source images and expanded results are automatically deleted after 24 hours. Within 25 minutes of uploading, readjusting the borders on the same image reuses the uploaded source without re-uploading. Avoid uploading sensitive identity documents, payment cards, or confidential materials.

- Encrypted HTTPS transfer throughout—no registration or login required.
- Uploaded images and generated outputs are automatically purged after 24 hours.
- Do not upload IDs, financial records, or confidential business documents.

### Known limitations and photos unsuitable for AI outpainting

AI outpainting predicts plausible extensions from the pixels near the border—it cannot know what was truly outside the camera's field of view. Photos with faces, hands, legible text, brand logos, QR codes, or strict architectural vanishing lines cut right at the border are prone to distorted anatomy, garbled pseudo-text, or bent geometry in the newly generated area.

This page is designed for single-image visual framing and does not support batch queues, animated formats, or custom text prompts. Each pass is capped at 40% of the short side per edge, and every generation—including readjusted retries or second-pass expansions—spends 1 credit (automatically refunded if a task fails).

- Cropped faces, hands, sharp text, logos, or dense grids touching the border rarely extend accurately.
- No text-prompt guidance, batch multi-image processing, or animated GIF/WebP support.
- Every expansion pass uses 1 credit; retries and second passes count as separate generations (failed tasks auto-refund).

## Framing strategies for 3 common outpainting workflows

Choosing the right direction, offset, and pass count makes a noticeable difference in edge realism.

| Workflow | Recommended setup | Passes & tips | What to expect |
| --- | --- | --- | --- |
| Portrait to landscape / landscape to portrait | Pick a preset such as 1:1, 4:3, 16:9, or 9:16 so both opposite sides calculate automatically. | 4:3 ↔ 16:9 and 9:16 → 1:1 finish in 1 pass; use 2 passes for full 9:16 ↔ 16:9 flips. | Landscapes, studio backdrops, and uncluttered rooms blend seamlessly; test 15%–25% first on busy street scenes. |
| Ad banners & copy negative space | In Free mode, drag only the top or one side (e.g., Right +30%) and leave the other edges at 0%. | Or choose a target aspect ratio first, then drag your photo to the left or right third. | Expanding a single side preserves maximum source detail while generating clean breathing room for text. |
| Uncropping tight shots evenly | Choose Original ratio or keep 10%–20% on all four sides; drag corners to scale proportionally. | Toggle "Show original frame" afterward to inspect color continuity along all four seams. | Crop off any black bars or border watermarks beforehand so the AI does not repeat them outward. |

## 6 practical tips for more seamless AI image extensions

Simple framing and prep habits prevent seam lines, repeated artifacts, and awkward proportions.

1. **Trim borders, black bars, and edge watermarks first** — If your image has white frames, letterboxing, corner watermarks, or half-cropped passersby along the edge, AI will treat them as part of the scene and extend them outward. Clean up edges first with [Crop Image](https://docsmall.com/en/image-crop) or [AI Object Remover](https://docsmall.com/en/image-cleanup).
2. **Start with moderate margins (10%–25%) on complex scenes** — You do not always need the full 40% maximum. On detailed interiors or street photos, extending 15%–25% keeps lighting and perspective tight; if you still need more space, run a second pass from the cleanest result.
3. **Slide your subject off-center for editorial layouts** — Once you select a ratio like 16:9 or 4:3, drag the photo inside the frame instead of leaving it dead center. Shifting the subject creates natural space on the opposite side for titles, buttons, or product specs without breaking the ratio.
4. **Use two guided passes for extreme 9:16 ↔ 16:9 flips** — Converting a tall mobile photo into a widescreen banner works best in two steps: expand to roughly 1:1 first, verify the horizon and lighting look natural, then click "Expand result further" to reach 16:9.
5. **Always inspect seams with "Show original frame"** — The original-frame overlay dims the newly generated border and outlines your original photo, making it easy to spot any subtle horizon tilt, lighting shift, or duplicated pattern before publishing.
6. **Resize and compress after outpainting for final delivery** — Because AI models may round output dimensions by a few pixels, finish up with [Resize Image](https://docsmall.com/en/image-resize) when a platform requires exact dimensions (like 1920 × 1080) and [Compress Image](https://docsmall.com/en/image-compress) to keep page loads fast.

## AI Image Extender FAQ

### How much does AI Image Extender cost, and what if a task fails?

Each expansion pass deducts 1 credit when submitted (daily free credits are included, with optional pay-as-you-go packs—see [Free quota and pricing](https://docsmall.com/en/credits)). If a task fails due to timeout, busy servers, or content checks, that 1 credit is refunded automatically. Adjusting borders to regenerate or running a second pass counts as a new generation and uses 1 credit.

### Is the 40% maximum per side based on width/height or on the short side?

All four edges—top, bottom, left, and right—are measured relative to the original image's shorter side, min(width, height), from 0% to 40%. For a 1920 × 1080 photo (short side 1080 px), expanding 20% on the right adds about 216 px. The canvas calculates and displays estimated output pixels live as you drag.

### Why do some aspect ratio presets show a "2 passes" badge?

A single pass can add at most 40% of the short side per edge (80% combined across opposite sides). Turning a 9:16 portrait into a 16:9 widescreen banner needs roughly 137% of the short side, which exceeds one pass. Clicking the preset sets the maximum first step (~1:1), and clicking "Expand result further" afterward finishes reaching 16:9.

### Can I keep a 16:9 or 1:1 ratio while shifting my subject off to one side?

Yes. After selecting a target ratio, drag the original photo directly inside the expanded canvas to move it left, right, up, or down. The tool redistributes opposite-side margins while locking your overall ratio—subject to the 40% single-edge cap.

### Are my uploaded images kept private, and when are they deleted?

Images are transferred over HTTPS to docsmall servers solely for AI outpainting—no account or login is needed—and both uploaded originals and generated outputs are automatically deleted after 24 hours. Please avoid uploading IDs, financial cards, or confidential files.

### What formats and resolutions are supported, and what if my photo exceeds 4160 px?

JPG, PNG, and static WebP files up to 10 MB are accepted, with a minimum of 64 × 64 px and a maximum longest side of 4160 px. If your photo is larger than 4160 px, the page prompts you to downscale it proportionally inside your browser before uploading.

### Why do the final output dimensions sometimes differ by a few pixels from the preview estimate?

The live estimate rounds width and height from your short-side ratios, while the server-side AI model may snap outputs to an internal grid multiple (such as 8 or 16 px). A difference of a few pixels is normal, and the exact generated resolution is displayed below the canvas once finished.

### Does expanding a transparent PNG preserve the transparent background?

Usually no. AI outpainting is built to generate continuous scenery or matching backgrounds around the image, and outputs are typically saved as JPG without alpha transparency. If you need a transparent cutout, use [AI Remove Background](https://docsmall.com/en/image-remove-bg).

### Will vertical photos taken on a phone rotate the wrong way after upload?

No. Your browser bakes EXIF orientation into the image during local preparation, ensuring that top, bottom, left, and right on the canvas match the exact edges sent to the AI model.

### How do I expand an iPhone HEIC photo?

This tool accepts JPG, PNG, and static WebP directly and does not decode HEIC files. Convert your photo locally in the browser with [HEIC to JPG](https://docsmall.com/en/heic-to-jpg) first, then upload the resulting JPG here.

### Do I need to re-upload the image if I adjust borders and generate again?

Not within 25 minutes. Your prepared image uploads silently in the background when you load it; clicking "Adjust framing" to tweak margins and regenerate reuses the existing upload automatically (though each new generation uses 1 credit).

### Can I type a text prompt to guide what appears in the expanded area?

Not currently. This tool focuses on automatic, prompt-free visual continuation so extended borders naturally match your original lighting, colors, and textures without prompt engineering.

### Why did I receive a content safety check error?

Images pass automated safety moderation before server-side AI generation. If a photo is flagged, processing stops without producing an output and the 1 credit charged for that task is refunded automatically.

### How can I hit an exact pixel size or reduce file size after expanding?

After downloading your expanded photo, use [Resize Image](https://docsmall.com/en/image-resize) to set exact pixel dimensions, [Crop Image](https://docsmall.com/en/image-crop) to fine-tune framing, or [Compress Image](https://docsmall.com/en/image-compress) to shrink file weight for faster uploads.

## Related Image Tools

Pair AI outpainting with cropping, exact resizing, or compression to finalize assets for any platform.

- [Crop Image](https://docsmall.com/en/image-crop) — Trim dark borders or watermarks before outpainting, or fine-tune framing afterward.
- [Resize Image](https://docsmall.com/en/image-resize) — Scale your expanded photo to exact pixel dimensions required by web or social platforms.
- [Compress Image](https://docsmall.com/en/image-compress) — Shrink the downloaded file size while keeping crisp visual quality for fast sharing.

## English

[中文](https://docsmall.com/image-expand) · [**English**](https://docsmall.com/en/image-expand) · [Français](https://docsmall.com/fr/image-expand) · [Español](https://docsmall.com/es/image-expand) · [Italiano](https://docsmall.com/it/image-expand) · [Deutsch](https://docsmall.com/de/image-expand) · [Bahasa Indonesia](https://docsmall.com/id/image-expand) · [Português](https://docsmall.com/pt/image-expand) · [日本語](https://docsmall.com/ja/image-expand) · [한국어](https://docsmall.com/ko/image-expand) · [ไทย](https://docsmall.com/th/image-expand) · [Tiếng Việt](https://docsmall.com/vi/image-expand) · [العربية](https://docsmall.com/ar/image-expand) · [Русский](https://docsmall.com/ru/image-expand)

---

[docsmall](https://docsmall.com/en) · [HTML](https://docsmall.com/en/image-expand) · [llms.txt](https://docsmall.com/llms.txt) · [sitemap.xml](https://docsmall.com/sitemap.xml)
