Plan-Then-Render Image Generation: Using Structured Composition Blueprints for Complex Scenes
This article explains why complex-scene image generation still struggles with spatial relations, negated semantics, and legible in-image text, and how a plan-then-render split addresses it: an autoregressive planner emits a verifiable blueprint (layout boxes, entity graph, attribute table, text slots) that a diffusion or similar pixel model renders under constraint. It covers the engineering payoff (pre-render consistency checks, localized failures, constraint-violation penalties and replanning loops), practical handling of in-image text as a symbol system, the office workflow from outline to exported slide decks, and an evaluation approach based on constraint satisfaction, text legibility, human preference, and regeneration counts.
Why Complex Scenes Still Break Image Generation
Complex-scene image generation has been stuck on three problems for a long time: spatial relationships are hard to express, negated semantics get ignored, and text inside the image comes out looking like garbled texture. When a user asks for “a girl in red on the left side of a blue chair, with a dog on the right that is not biting an apple,” models tend to blend color, subject, and position together.
The root cause is not an inability to apply color. It is the absence of an executable composition plan. Diffusion processes are good at fitting visual statistics out of noise, but poor at first writing down “who is where, with which attributes, and what must not appear” as structured constraints.
Splitting the Pipeline Into a Planning Brain and a Rendering Hand
The more reliable approach in recent years is to split generation into a planner and a renderer.
On the planning side, an autoregressive sequence model turns natural language into a composition blueprint: a subject list, attribute bindings, spatial and containment relations, negation items, and background and lighting priorities.
On the rendering side, a diffusion or comparable pixel model fills in texture and lighting under the blueprint’s constraints.
The parameter counts on either side do not need to be mythologized. What matters is a clean interface: the planner’s output should be a verifiable intermediate representation — layout boxes, an entity graph, an attribute table, text slots — rather than another block of unparseable prose. This is what turns left/right, above/below, containment, and exclusion from bag-of-words co-occurrence into geometric and logical constraints that can actually be checked.
Engineering Benefits You Can Measure
Thinking before drawing produces measurable engineering gains.
First, consistency can be checked before a single pixel is committed: is the girl bound to red, is the dog bound to “not biting the apple,” is the chair blue and on the center axis.
Second, failures become localizable. If the plan is wrong, you fix the blueprint; only if the render is muddy do you tune sampling and guidance strength. No need to redraw the whole image.
Third, negation and counting — the sort of elementary-school logic that used to depend on prompt luck — can be handled through constraint-violation penalties or replanning loops.
One caveat worth stating plainly: this is a general decoupling pattern used across the industry, not a claim that any particular model has eliminated guesswork entirely. Complex occlusion, fine-grained materials, and long-tail cultural symbols still produce errors, and evaluation sets, not single sample images, are what should settle the argument.
In-Image Text as a Hard Requirement
Text inside the image is a separate hard metric. Early generators treated Chinese characters and Latin letters as decorative patterns, scrambling stroke topology.
A sounder approach treats text as a symbol system: character-level or stroke-level conditioning, layout slots separated from font style, and glyph skeleton alignment during rendering.
Common engineering combinations include:
- Extracting the target string and its alignment during planning
- Using a glyph encoder to supply a differentiable or retrievable shape prior
- Post-processing with vector text overlay or a typesetting engine to guarantee legibility
Posters, covers, and courseware depend on this above all — no matter how good the image is, an unreadable headline makes the deliverable unusable. Again, avoid inventing unverifiable claims such as “passed an elementary school spelling test.” Report character accuracy, language coverage, and failure cases on extreme long sentences instead.
From “Can Draw” to “Can Deliver” in Office Workflows
Office scenarios extend “can draw” into “can hand in the work.” Going from a structured outline to paginated slides and then exporting to a common presentation format is fundamentally a multimodal pipeline:
- The planning module supplies title hierarchy, bullet lists, image slots, footers, and theme colors
- The image on each page follows the same set of composition constraints
- The export layer only handles layout and media packaging; it does not write the model’s internal tensors into the file
Developers should focus on permissions, font embedding, sensitive-information filtering, and editability, rather than treating a single generation as the final draft. On the cloud side, teams typically store intermediate pages in object storage, run batch rendering through asynchronous queues, and watch failure rates and latency with logs and monitoring. These are generic category capabilities and are not bound to any specific vendor’s API.
Why Plan-Plus-Render Beats Just Scaling the Diffusion Model
Compared with iterating by simply making the diffusion model larger, the advantage of planning plus rendering lies in interpretability and fixability, not in some mystical “big improvement in aesthetics.”
For evaluation, use a fixed prompt set: spatial relations, negation, multi-subject counting, mixed Chinese-English text, and brand-neutral poster layouts. Compare on constraint satisfaction rate, text legibility rate, human preference, and number of regenerations — not marketing language.
In production, archive the intermediate blueprints so they can be audited and used for fine-tuning, and default to refusing or escalating high-risk content such as ID documents, signatures, and misleading text. Done this way, image generation stops being emotional guesswork and becomes an engineerable stage of content production.
