An Outpainting and Canvas-Extend Workflow
Outpainting expands the canvas of an existing image beyond its original borders, generating new content that seamlessly continues the scene — ideal for converting portrait crops to landscape layouts, adding breathing room around product shots, or extending a panorama without re-shooting. This guide walks through building a canvas-extend workflow in Floniks: positioning the original image on a larger canvas, writing a scene-continuation prompt, chaining a seam-blend pass to eliminate the border artifact, and saving the configuration as a reusable template. You will learn how to handle perspective consistency, lighting continuation, and the special challenges posed by wide-angle and symmetrical compositions.
Understanding Outpainting and Its Use Cases
Outpainting is the inverse of inpainting: instead of filling a hole inside an existing image, you extend the image by synthesizing new content beyond its original edges. The model reads the existing pixels as context and generates a plausible continuation of the scene — the same lighting, perspective, color palette, and environmental style carried into the newly synthesized region. This makes outpainting the correct approach whenever you need to change the aspect ratio of a finished image, add negative space around a subject for text overlay, or extend a background to accommodate a different composition.
Practical applications include converting a 1:1 Instagram-formatted product photo into a 16:9 hero banner by extending the sides; adding sky and foreground to a landscape photo cropped too tightly in the original shoot; extending a white seamless backdrop on both sides to accommodate multiple product variants in a single composite; and generating additional scene width for a character illustration originally framed too tightly. Outpainting can also be used iteratively — a sequence of small extensions, each about 30% of the current image width, typically produces better continuity than a single large extension because each step has more reference context.
Positioning the Source Image on the Extended Canvas
The first node in the outpainting workflow is a Canvas Extend node (sometimes called an "image placement" or "canvas pad" node). This node takes your source image and places it on a larger canvas at a specified position, filling the surrounding area with a neutral color (typically white, black, or the average edge color of the source image). The output is an image at the final target resolution with the source image in its intended position and blank regions on one or more sides to be filled by the outpainting model.
For extending the right side of a 1:1 image to reach 16:9, place the source image flush with the left edge of the new canvas. For adding breathing room equally on both sides, center the source image horizontally. For adding sky above a landscape, anchor the source image to the bottom edge. The positioning choice determines which regions become outpainting zones, so plan it before configuring the node.
Set the canvas fill color to the dominant edge color of the source image rather than white or black. Most outpainting models are fine-tuned on images where the fill region begins from a pixel that matches the source boundary, so a stark color contrast at the boundary (a beige subject on a white-filled canvas) creates an unnatural context discontinuity. Sampling the source image's edge color and using it as the fill minimizes this effect and produces a more natural starting point for the model.
Writing the Scene-Continuation Prompt
The outpainting prompt must describe the full scene — both the original content and the extended region — rather than only the new region. This is different from inpainting, where the fill prompt describes only the masked area. Because the model uses global context to generate the extension, a prompt that correctly describes the entire scene produces better coherence than one focused narrowly on "what should be in the new region."
For a product shot on a marble surface: "luxury product on white marble surface, soft studio light from upper right, soft shadows, shallow depth of field, clean minimal background extending outward on both sides, no additional objects." The phrase "extending outward on both sides" cues the model that the new regions are an expansion of the existing scene rather than a new environment.
Include explicit lighting direction: "soft box light from upper left, warm highlight on right edge, soft fill shadow on left" gives the model the information it needs to continue the lighting gradient correctly into the extended region. Without a lighting direction hint, the extended region may flip the shadow direction or introduce a light source inconsistent with the original photograph.
For wide-angle or architectural scenes, add a perspective cue: "straight-on architectural perspective, parallel horizontal lines, no lens distortion" prevents the extension from drifting toward a fisheye or converging-line interpretation of the scene geometry. This is especially important when extending wide-angle interior shots where the model might incorrectly exaggerate perspective in the new region.
Chaining the Seam-Blend Pass
The boundary between the original image pixels and the newly synthesized outpainting region is the most common source of visible artifacts. Even a well-prompted outpainting pass often shows a faint line at the boundary due to differences in noise grain, color saturation, or micro-detail sharpness between the original photograph and the AI-synthesized extension. A seam-blend pass eliminates this artifact.
Configure an Image-to-Image node immediately after the outpainting node. Set the mask to a gradient band — fully white in the center of the boundary zone (approximately 100 pixels on each side of the seam), fading to black 150 pixels beyond on both sides. Set denoising strength to 0.25–0.35. This low-strength pass allows the model to harmonize the local texture, grain, and color in the seam zone without regenerating large areas of either the original or the extension.
For images with strong directional light, run a second targeted pass with a narrow mask (40px wide) directly on the seam line at strength 0.15 to address any residual boundary line. After both passes, connect a Color Grading node that applies a uniform color temperature and contrast adjustment to the full extended image to tie the original and synthesized regions together visually. This final grading step is often the difference between "looks AI-extended" and "looks like the original photograph had more canvas."
Iterative Outpainting for Large Extensions
A single outpainting pass that extends the canvas by more than 50% of the original image width or height frequently produces quality degradation: the model runs out of contextual reference pixels and begins to invent scenery that diverges from the original aesthetic. For large extensions, use an iterative outpainting approach: extend the canvas by 25–30% per step, run the seam-blend pass after each step, and use the blended output as the input for the next extension step.
In the Floniks editor, build this as a linear chain of outpainting-blend-outpainting-blend steps rather than trying to achieve the full extension in a single pass. The workflow looks like: Canvas Pad (step 1) → Outpaint → Seam Blend → Canvas Pad (step 2) → Outpaint → Seam Blend → final Color Grade. Each Canvas Pad step extends the canvas by the target increment and positions the previous output correctly. Label each step node with the extension percentage and direction (for example "Outpaint Right +25%") so the canvas is readable.
Save this iterative chain as a named template with the number of steps configurable. For most use cases, two to three extension steps are sufficient. Teams that regularly produce panoramic composites or hero banners from portrait-format source images will find this iterative template among their most frequently invoked workflow templates.
Symmetrical and Mirrored Composition Challenges
Symmetrical compositions — a centered subject against a uniform background, a reflection in still water, a formal architectural facade — present a unique outpainting challenge. The model must maintain strict left-right or vertical symmetry in the extended region, but diffusion models are stochastic and do not natively enforce geometric symmetry. Without mitigation, the extension of a symmetrical scene will show subtle asymmetries that are disproportionately noticeable precisely because the original composition trained the viewer's eye to expect symmetry.
The primary mitigation is to extend only one side of a symmetrical scene and then apply a horizontal flip-and-composite to produce the opposite side, rather than asking the model to independently generate both extensions. In the Floniks editor, connect the outpainting output to a Flip node (horizontal mirror), then composite the flipped version onto the extended canvas region opposite the original extension. This approach guarantees mathematical symmetry in the extended region.
For scenes with vertical symmetry such as reflections in water, use the same technique: extend the image downward, flip the extension vertically, and composite it as the reflection region. This is more reliable than asking the model to generate a plausible reflection independently, which often drifts in color temperature or introduces surface distortions inconsistent with the source image's water or floor material.
Step by step
- 1
Create a Canvas Extend node
Open /editor and add a Canvas Extend node. Upload your source image and set the target canvas dimensions (for example 1920x1080 for a 16:9 extension of a 1080x1080 source). Position the source image using the anchor controls — left-anchor for rightward extension, center for bilateral extension. Set the fill color to the sampled edge color of the source image.
- 2
Add an Outpainting node and write the scene-continuation prompt
Connect the Canvas Extend output to an Outpainting node. Write a full-scene prompt describing both the original and extension regions: for example "product on white marble surface, soft studio light from upper right, clean minimal background extending outward on both sides, no additional objects." Set denoising strength to 0.9 and mask type to "canvas extension region."
- 3
Run a Seam-Blend pass
Connect an Image-to-Image node after the outpainting node. Set the mask to a 100px gradient band centered on the seam between original and synthesized pixels. Set denoising strength to 0.28. Label this node "Seam Blend."
- 4
Apply a Color Grade to unify the extended image
Connect a Color Grading node after the Seam Blend node. Apply a slight warmth adjustment (+5K color temperature) and a gentle contrast lift (+10%) uniformly across the full image to visually merge the original and synthesized regions. Connect the final output to an Output Collector node.
- 5
For large extensions, chain a second Canvas Extend and Outpaint
If your target canvas is more than 50% larger than the original image in any dimension, connect the Color Grade output back into a second Canvas Extend node and repeat the Outpaint and Seam Blend steps. Each pass should extend by no more than 30% of the current canvas width for best continuity. Save the multi-step chain as a template named "Iterative Outpaint — [direction]."
FAQ
How much canvas extension can I achieve in a single outpainting pass?+
A single pass works well for extensions up to about 30–40% of the original image width or height. Beyond that, the model starts to lose coherence with the source context and may invent scenery that diverges from the original aesthetic. For larger extensions, use an iterative approach: extend by 25–30% per step, blend the seam, then use the result as input for the next extension step.
Why does my outpainting result look like it was composited on rather than continuous?+
The most common cause is the canvas fill color: if the placeholder fill is white or black while the source image edge is a mid-tone, the model sees an unnatural contrast discontinuity at the start of the extension zone. Set the canvas fill to match the sampled edge color of the source image. Also run a seam-blend pass at denoising strength 0.25–0.30 on a gradient mask centered on the seam boundary to harmonize grain and color temperature.
Related guides
Build it on Floniks
Image, video, digital humans, and reusable workflows on one canvas. Sign up gets you starter credits — no card required.
Explore Floniks