Introduction
Urban planners face significant hurdles when proposing new active transportation infrastructure, such as bike lanes. Creating realistic visual mockups for public engagement is traditionally a manual, labor-intensive process involving software like Photoshop or SketchUp. While generative AI offers a potential shortcut, standard text-to-image models often fail to respect the strict spatial and geometric constraints required for infrastructure design, frequently hallucinating changes to the background or misplacing lane markings. This paper proposes a multi-agent system that leverages foundation models to automate high-fidelity street design generation in a zero-shot or few-shot manner.
Multi-Agent Architecture
The proposed system decomposes the complex task of street editing into four specialized agents, ensuring spatial accuracy and adherence to design constraints.
- Locator Agent (GPT-o3): Analyzes input street-view imagery to provide a structured description of road geometry, serving as a spatial anchor for the subsequent steps.
- Prompt Optimization Agent (GPT-4.5): Translates simple user requests into precise, unambiguous instructions with explicit boundary and color constraints using in-context examples.
- Design Generation Agent (GPT-image-1): Employs a cascading strategy where it first identifies a target region and then applies the optimized prompt exclusively to that area. This "highlight-first" approach acts as a spatial prior, preventing global hallucinations and maintaining lane width control.
- Evaluator Agent: Performs quality control by segmenting the generated infrastructure using a fine-tuned YOLO-v11 model and ranking candidates using CLIP embeddings and GPT-o3 compliance checks.
Results and Discussion
The multi-agent pipeline demonstrates significant improvements over standard diffusion models, which often suffer from topological errors. By isolating the generation task to specific regions and using an automated evaluator, the system achieves high reliability.
Quantitative analysis shows that the Evaluator Agent achieves between 95.5% and 97.0% accuracy in selecting instruction-compliant designs across various scenarios, including buffered lanes and bollard placements. Qualitatively, the system excels at maintaining the integrity of background elements—such as parked cars and pedestrians—while correctly rendering new infrastructure with proper perspective and occlusion (e.g., painting a lane behind a parked car rather than over it).
Conclusion
This research highlights that agentic decomposition is a viable alternative to massive domain-specific fine-tuning for specialized tasks like urban design. While the system currently requires multiple generation passes to ensure quality, it provides a robust framework for scalable, automated street-view editing. Future work aims to further reduce human-in-the-loop requirements and improve the first-pass success rate of the generation agent.
Summary updated