All apps
Extend the PictureGive a picture a new shape and fill in the rest. Your picture stays as it was.
Run on
Your ComfyUI

Your picture

New shape
Advanced
Quality
Pictures

How it works

  1. Pick a picture. It shows in the frame editor, here in the panel and large on Create, and the two stay in step. The striped part is the new area, and the size of your result shows on the frame.
  2. Pick a new shape, from 21:9 cinema to 9:16 tall, or Original to keep your picture's shape. Or drag any edge of the frame to add as much as you want on that side.
  3. Pick a Scale to zoom out. At 1.5x the frame is one and a half times bigger and keeps its shape, so your picture gets smaller inside it. Dragging a corner does the same by hand.
  4. Drag your picture to where it should sit in the frame. Center puts it in the middle, and Undo steps back.
  5. If you like, say what should be in the new area. A short description of your picture is written first, so the new area matches it. Qwen gets one on Comfy Cloud, and on This computer when your ComfyUI can write one. Ideogram gets one when you leave the text empty.
  6. It works best when your picture fills at least 45% of the new frame. To go further, extend once, press Extend result, and extend again.
  7. Qwen Image 2.1 is the full Qwen Image 2.1 with a LoRA made for extending pictures. The whole frame is painted with your picture as the guide, then your picture is put back on top at full size. A thin strip just inside the edges that meet the new area is blended so no line shows; the rest of your picture keeps every pixel. The new area is made at a working size and scaled up, so on a big frame it can look a little softer than your picture. The dashed line on a result shows where your picture sits; Outline turns it off.
  8. Ideogram 4.5 Precise Edit is a partner model on Comfy Cloud. It gets your picture on a gray canvas with a mask of the new area, paints only that area at your frame's own size, and what it returns is your result. It paints about 4 megapixels at most: when the area to fill is bigger, the frame is made smaller to fit, and the size on the frame shows what you get. Extending one side at a time keeps big pictures at full size. It costs more credits. Quality under Advanced trades detail for credits; High gives the best results.
  9. Comfy Cloud runs it on a Comfy Cloud GPU and uses credits from your Comfy account.
  10. This computer sends the same steps to the ComfyUI running on your computer, with Qwen Image 2.1 at a slightly smaller working size, so it takes a few minutes. In Comfy Desktop, the first run downloads the files for you (about 17 GB, plus the 160 MB LoRA). It is free and nothing leaves your computer. Ideogram does not run on this computer.
  11. Your ComfyUI blocks requests from websites unless you allow this one. Start it with the line the page shows when it can't connect. In Comfy Desktop, put the same website in Settings, Server-Config, Network, Enable CORS header, then restart.