Multimodal Image Generation in Practice: Sketch and Annotation-Based Editing
This article examines how sketch references, region-specific annotation editing, templates, prompt sharing, and transparent-background output shift control in image generation from prompt wording to spatial input. It breaks down the technical meaning of each interaction mode, then walks through two hands-on workflows—photorealistic cover production and spatial/interior visualization—using a three-stage pattern of sketch for structure, reference image for identity, and annotation for local refinement. It closes with engineering practices for consistency and controllability, plus a pre-delivery quality checklist.
1. Background: From Describing a Layout to Providing One
When using generative models to produce usable images, the biggest friction has never been image quality—it is control. For structured requirements such as “title on the left, person on the right, negative space in the background,” plain text descriptions suffer from inherent information loss: the model’s understanding of spatial relationships is probabilistic, and sampling the same prompt multiple times yields noticeably different layouts. Users are left retrying repeatedly to approximate the target.
A more efficient interaction hands spatial information to the model in a form closer to how people actually think—sketches and annotations.
Newer multimodal image generation capabilities shift the focus of interaction from “writing more detail” to “drawing more precisely,” and shift editing from “regenerating the whole image” to “pointing at a location on the image and changing it.” Both changes move controllability away from prompt engineering and onto spatial input and region constraints.
2. Capability Breakdown: The Technical Meaning of Four New Interaction Modes
2.1 Sketch Reference
Sketch reference lets users draw rough lines directly inside the chat box as a prior condition for composition and layout. Its technical value is that lines carry topological and positional information, which is far less ambiguous than natural language. In practice, no drawing skill is required—stick figures, blocks, and arrows are enough to express subject placement, visual weight, and areas of negative space. Note that a sketch is a constraint, not the final image; the model still handles materials, lighting, and detail completion.
2.2 Region-Specific Annotation Editing
Annotation editing narrows the scope of a change from global to local. The user places a marker on the original image and describes the desired change, and the model repaints only that region and its context while keeping the remaining pixels as unchanged as possible. This addresses the most common problem in multi-turn editing—“fix one thing, break the whole image”—and is the key mechanism for keeping characters, product appearance, and layouts consistent across iterations.
2.3 Templates
Templates lock in reusable layouts, styles, and constraints so that a team’s output maintains a unified visual language. Technically, they are equivalent to parameterized prompt and layout contracts, and they fit high-frequency, repetitive scenarios such as covers, posters, and explanatory diagrams.
2.4 Prompt Sharing and Transparent Backgrounds
Prompt sharing turns high-quality inputs into an asset that accumulates within an organization. Transparent-background output plugs directly into downstream compositing workflows, removing an extra cutout step.
3. Hands-On 1: Sketch-Driven Photorealistic Cover Production
The difficulty with cover images is layout precision: title safe zones, subject orientation, and sight-line negative space are all hard requirements. The recommended workflow is as follows.
Step 1: Draw the sketch. Use rectangles to mark the title area, simple figures to mark subject position and orientation, arrows to indicate the direction in which background elements extend, and specify the aspect ratio.
Step 2: Add reference images. Upload a real photo or product image as an identity and appearance constraint, preventing the model from improvising and drifting off-model.
Step 3: Provide a structured prompt that separates layout constraints from style constraints:
Output a 16:9 photorealistic cover.Follow the sketch strictly for layout: the top 1/3 is a title safe zone, kept high-contrast and unobstructed;the subject is placed at the right third of the frame, with the sight line facing the negative space on the left;background elements extend along the arrow direction to create depth.Match the subject's appearance to the uploaded photo, keeping facial features and hairstyle consistent.
Step 4: Make local adjustments only. If the title overlaps the subject, do not rewrite the whole prompt; instead, annotate the title region: “change this area to a solid background, move the title up, increase opacity,” and leave everything else untouched.
This three-stage pattern—sketch for structure, reference image for identity, annotation for fine-tuning—compresses a composition that would otherwise take multiple conversational turns into one generation plus one local correction.
4. Hands-On 2: Sketch-Driven Spatial and Interior Visualization
Interior design, exhibition layout, and flat composition are all tasks with strong spatial constraints. The focus of the sketch is proportion and relative position: wall direction, door and window openings, furniture outlines, and the direction of the main light source. In the prompt, state up front “preserve the sketch’s spatial relationships and perspective direction,” then add material and lighting descriptions such as light wood tones, matte finishes, and soft shadows from side-back lighting. To compare multiple options, keep the sketch and prompt fixed and swap only the style paragraph, so that layouts remain comparable and only one variable changes.
5. Engineering Practices for Consistency and Controllability
- Layered constraints: explicitly separate immutable items (aspect ratio, layout, identity features) from variable ones (color scheme, materials, atmosphere) to prevent interference.
- Small-step iteration: change one variable per round so quality regressions are easy to trace.
- Region first: if annotation can solve it, do not regenerate the whole image; this reduces pixel-level drift.
- Prompt versioning: put prompts under version control alongside templates to build a traceable experiment record.
- Output specifications: for scenarios requiring further compositing, use transparent backgrounds directly, with a unified color space and resolution.
6. Quality Checklist
Before delivery, verify five items: whether the layout matches the sketch; whether subject identity stays stable; whether text areas are safe and unobstructed; whether non-target regions remain unchanged after multiple editing rounds; and whether export specifications (aspect ratio, background, resolution) meet the distribution channel. For enterprise-side batch production, generation, storage, processing, and distribution can be decoupled: object storage holds assets, container platforms run inference and compositing tasks, and log and monitoring services track success rate and latency, forming a stable, operable content production pipeline on cloud platforms such as Baidu AI Cloud.
7. Conclusion
The core change in this interaction paradigm is returning controllability to the creator: sketches handle space, annotations handle local edits, and templates handle consistency. Once you master this method, image generation truly moves from a gamble to an engineering capability that is predictable and reusable.
