How to Stop AI from Moving Your Walls: A Breakdown Using Seedream 5 Pro and Nano Banana

Getting a neural network to produce a beautiful interior is easy. Getting a beautiful interior that follows your floor plan is much harder. A window drifts to the side, a wall comes out shorter than drawn, and sometimes a column appears that was never on the plan. This happens because the model sees a picture rather than a dimensioned drawing, and it fills in whatever looks plausible to it.

What keeps the geometry in place is a good source image and a prompt with a clear structure and explicit restrictions. We'll go through each of these, and then show how to package the prompt in Markdown so the whole team can work with it.

Why AI "loses" the geometry

Diffusion models, Seedream included, rebuild an image out of noise, guided by the text and the references. Their limitations come from several factors:

  • A change of aspect ratio. If the source plan is 3:2 and the generation runs at 1:1, the model fills in or crops the edges, and the geometry shifts.

  • Vague meaning. The model reads "a large window" or "a high ceiling" in its own way. It needs numbers and reference points, or concrete examples backed by references, such as a clay render of the room with the exact door and window openings.

  • Conflicting instructions. A phrase like "a cozy living room with panoramic windows" pulls the composition toward arbitrary proportions instead of your plan. To prevent that, you again need a ready example or a draft visualization based on the project plan.

  • No defined role for the reference. If the model doesn't know what exactly to take from the image (the outline, say, or the material), it rewrites everything. That's why the prompt structure has to give each reference its own role.

  • Too many changes at once. The more edits you pack into one request, the higher the chance that the model breaks something or slips in an extra detail. Sometimes a thing you needed simply disappears.
The core principle: keep what the drawing defines, and change only what you've explicitly allowed.
A side-by-side comparison labeled “Plan” and “Render.” The left shows a simple 2D floor plan of a living room/kitchen; the right shows a 3D AI-generated render with a slanted wall and window. This image highlights the challenge of translating architectural plans into accurate 3D visualizations using AI.
Room plan vs. a visualization with distorted proportions

Note: as you can see, the neural network rendered the living room with distorted walls and geometry. The prompt was poorly written, but the source image is also to blame: AI editors aren't yet advanced enough to visualize a room from a plan like this one. Even with the same plan and the same prompt, you get a different result every time. In one attempt a window moves, in another the style of the room changes along with the layout of the rooms in the background. So for now, it works best to start from a clay render of the walls raised from the plan, or from a draft visualization with the door and window openings already in place. Then a prompt line like "Do not change the wall geometry: wall height and length, door and window height" will work correctly and precisely.
Same plan + same prompt ≠ a good result, in layout or in aesthetics

The source image matters more than you'd think

Half the success is decided at the source-image stage, before a single word of the prompt is written. As we've said, what works best is an image of an empty room with accurate geometry: a photo or a visualization built from the drawings that shows only what matters, meaning the walls and the openings for doors and windows.
Example of a source image

The less clutter in the image, the less the neural network has to guess.

  • Nothing extra. Remove dimension lines, labels and anything else the task doesn't need, shadows included. Keep the outlines of walls and openings sharp and legible, and the furniture too.

  • The same aspect ratio. Export the reference in the same proportions as the final frame. If you need a perspective view, prepare a separate reference with the camera angle you want.

  • Sufficient resolution. Seedream 5 Pro is comfortable to work with at 2K. The source image should be at least the target resolution, otherwise the details will start to blur.

  • One source image, one task. Don't combine a plan with a facade or an interior photo in a single reference: the model won't know which one to follow.

Seven blocks of a reliable prompt: Seedream 5 Pro and Nano Banana in practice

A reliable prompt for preserving geometry consists of seven blocks:
A note on camera settings. In practice, this block may not work. AI still struggles to perceive space in 3D, so it usually keeps the angle of the source reference. Simple, concrete wording works better: "show this whole room from above", "from the window side", "as if we're standing facing [the detail you need]".

Putting it all together: a prompt template

Reference 1 is an empty room. Use it as the strict geometric base: the wall outlines, the position of doors and windows and the room dimensions stay unchanged.

Invariants:
Do not change the position or size of walls, openings and columns.
Keep the room's aspect ratio the same as in the source reference.
Do not change the number of windows and doors.

Task: Photorealistic interior visualization of the room in photo 1. Floor: oak (as in photo 2); walls: leave unchanged. Furniture: as in photo 3.
Camera: keep the current angle of photo 1.
Lighting: daylight, soft, from the window on the left.
Format: aspect ratio 3:2, resolution 2K, PNG.
Avoid: new windows, perspective distortion, extra furniture, text and labels in the image.
The result with a proper source image and a well-built prompt with references
ByteDance's Seedream 5 Pro can edit an image using several references at once (up to 10) and supports various aspect ratios, with 1K and 2K resolution presets.

For architectural work, this is useful in several ways:

  • A dedicated role for each reference. One image sets the geometry, while the others supply materials or lighting.

  • An explicit aspect ratio. Choose the same one as your source image, not the default.

  • Editing instead of generating from scratch. Phrases like "change only…" and "keep unchanged…" work better than "create a beautiful interior".
This structure and this kind of wording are what translate an idea from human language into something the model can understand.

One room, many angles

One frame is rarely enough. The client usually wants to see the room from two sides, along with close-ups of the details, the kitchen and the view from the window. And it has to be the same room in every shot, not three similar-looking ones. So use the same reference for the whole series and add the Invariants block to the prompt every time. The geometry stays shared, and only the viewpoint changes.

To be honest, this is still the most temperamental part of working with AI. A perfect series rarely comes out on the first try: usually you have to regenerate and tweak the wording until all the frames line up. With a strict reference and invariants, though, it takes noticeably fewer attempts.
Example of several frames from one project

Adapting to other models

The general rule: the prompt structure is the same for every model. What changes is the way references are passed in and a few technical settings.

Prompts as project documentation: moving them to Markdown

A good prompt is easy to lose. It ends up buried in a chat history or kept by just one person on the team. That's why we recommend storing prompts in Markdown, like any other project documentation. A Markdown file opens in any editor. You can keep it in Git or Notion, or simply attach it to the project files.

The main advantage is order. When every prompt follows the same template, anyone on the team can see at a glance where the references are and where the restrictions start. You also get a change history: if the walls started drifting again in version 3, it's easy to check which invariant was removed. And a prompt that worked well for one apartment doesn't have to be rewritten for the next one. Copy the file and swap the references, then hand it over to a colleague, who will immediately see which images need to be prepared.

Basic Markdown syntax for prompts:

  • Headings are marked with #: # Heading 1, ## Heading 2.

  • Lists: bulleted lists use -, * or +, numbered lists use 1., 2. and so on.

  • Code or prompt blocks are wrapped in triple backticks (```) so that the AI or the editor treats them as a single instruction.

  • Bold and italic text are marked with double (**text**) or single (*text*) asterisks.

Step 1. Create a file template

Create a file named prompt_interior_01.md with the following structure:

# Prompt: interior visualization

**Model:** Seedream 5 Pro
**Version:** 1.0
**Date:** 2026-10-15
**Project:** Apartment, 12 Elm Street, Apt. 45

---

## References

| # | File | Role |
|---|---|---|
| 1 | `plan_v3_clean.png` | Geometry: walls, openings, columns |
| 2 | `oak_sample.jpg` | Floor material |

## Invariants (do not change)

- Position and dimensions of walls, openings and columns
- Room aspect ratio: original
- Number of windows and doors

## Task

Photorealistic interior visualization.

- Floor: oak (reference 2)
- Furniture: as in photo 2
- Lighting: daylight, from the west window

## Camera and format

- Angle: same as the source frame
- Lens: 24 mm, straight verticals
- Aspect ratio: 3:2
- Resolution: 2K
- File format: PNG

## Constraints

- Do not add windows or doors
- Do not distort the perspective
- No text or dimension labels

## Prompt for the model

```text
Use reference 1 as the strict geometric base...
```

## Version history

Step 2. Split the prompt into logical blocks

Don't store everything as one paragraph. Break it down into:
  • Metadata (model, version, date, project);
  • References (a table with the role of each file, in order);
  • Invariants (what must not change);
  • Task (what needs to be done);
  • Technical parameters (camera angle, lens, aspect ratio, resolution);
  • Final text (the code block you copy into the model).
The ## headings help you find the right block quickly, and the code block keeps the exact prompt text without reformatting.

Step 3. Use tables for parameters

Markdown tables are especially handy for references and version history: you can see at a glance which file is responsible for what, without rereading the whole prompt. That said, formatting a table takes longer than a plain list, so it makes sense to use one where there are many parameters. Columns are separated by a vertical bar |, and a row of hyphens separates the header from the data.

Example table:
| Header 1 | Header 2 | Header 3 |
| -------- | -------- | -------- |
| Row 1 | Data | Data |
| Row 2 | Data | Data |

Where to build tables

Typing tables by hand is tedious, especially large ones. Here's where it's easiest:

  • Заголовки обозначаются символом #: # Заголовок 1, ## Заголовок 2.

  • Списки: маркированные создаются через -, * или +, нумерованные – через 1., 2. и так далее.

  • Блоки кода или промпта заключаются в тройные обратные кавычки (```), чтобы ИИ или редактор воспринимали их как единую инструкцию.

  • Жирный текст и курсив выделяются двойными (**текст**) или одинарными (*текст*) звёздочками.

Putting the prompt to the test: in Markdown and in English

A screenshot of an AI prompt interface (likely for Seedream 5 Pro or Nano Banana) showing three reference thumbnails: an empty room, a wood texture, and a final render. The prompt text reads “# Interior Visualization Prompt” and “## Geometry Base (Reference 1)”, illustrating the structured, reference-based approach to AI interior design.
A Markdown prompt in action in Nano Banana
A different interior scene featuring a large paper lantern pendant, a dark L-shaped sofa, a projector screen displaying a woman’s face, and a large window with a city skyline at dusk. This image represents a stylized mood or concept render, contrasting with the more technical, geometry-focused examples.
An interior option based on the references

The bottom line

A neural network can hold the geometry if you treat the prompt as a technical brief rather than a wish. Prepare a clean source image, give each reference its own role, lock in the invariants and state the aspect ratio explicitly. Seedream 5 Pro and Nano Banana handle reference-based editing well, but the final say still belongs to the architect: overlay the result on the plan or the 3D model and compare the outlines before you show the image to the client.

If you keep your prompts in Markdown, over time the team builds up its own library. Good solutions don't get lost, and they can be passed on to colleagues or reused on the next project.

One last thing. A perfect result on the first try is rare, and that's fine. Sometimes all it takes is fixing one line in the prompt or swapping in a better reference. Sometimes a surprisingly short phrase does the trick, and sometimes you have to spend a long time refining every detail. Prompting is a skill like any other. It takes patience and a careful human eye, which neural networks don't have yet.