Editing and Refining.
Inpainting, outpainting, upscaling, and variations — making good images great.
After this lesson you'll know
- What inpainting is and how to fix specific parts of an image without regenerating
- How outpainting extends your image beyond its original borders
- When and how to upscale images for print or large display
- How to use variations to explore different directions from one starting point
The best AI images are almost never the first generation.
You have learned how to write great prompts. But even the best prompt sometimes gives you an image that is 90% perfect with one element that is off — a weird hand, a background detail you do not want, or a color that does not match your brand. This is where editing tools come in. They let you fix the 10% without losing the 90% you love.
Fix one part of an image while keeping everything else exactly the same.
Inpainting lets you select a specific area of your image and regenerate just that section. Got a portrait where the eyes look slightly off? Select the eye area, describe what you want, and the AI redraws only that part while keeping the rest of the image untouched.
Where to use it: ChatGPT lets you click on an image and highlight areas to edit. DALL-E's editor has a brush tool for selecting regions. In Stable Diffusion, inpainting is a dedicated mode with precise mask controls. Adobe Firefly's Generative Fill in Photoshop is another excellent option.
Pro tip: When inpainting, make your selection slightly larger than the area you want to change. This gives the AI more context to blend the new content seamlessly with the surrounding image.
Extend your image beyond its borders.
Outpainting is the opposite of inpainting. Instead of fixing something inside the image, you expand the canvas and let the AI fill in what logically should be there. Have a beautiful portrait but need more space above for a social media header? Outpaint upward and the AI will extend the background naturally.
This is incredibly useful for adapting images to different aspect ratios. You created a square image but need it in landscape for a presentation slide? Outpaint the sides. Need a vertical version for Instagram Stories? Outpaint top and bottom. The AI maintains the style and context of the original while expanding the scene.
Make your images bigger without making them blurry.
AI-generated images often come out at moderate resolution — fine for social media, but too small for prints, posters, or large displays. Upscaling uses AI to increase the resolution while adding genuine detail rather than just stretching pixels.
Free tools: Upscayl (open source, runs on your computer), Bigjpg, Let's Enhance
Built-in options: Midjourney has upscale buttons right on each generation. Stable Diffusion has upscaling workflows built into many interfaces.
Professional: Topaz Gigapixel AI is the gold standard for upscaling if you need maximum quality.
A good rule of thumb: generate your image at the best quality your tool allows, then upscale 2-4x if you need it larger. Going beyond 4x can introduce artifacts.
This lesson is for Pro members
Unlock all 300+ lessons across 30 courses with Academy Pro. Founding members get 90% off — forever.
Already a member? Sign in to access your lessons.