MAGPIE: Agentic Multi-Reference Image Generation via Executable Scene Construction
Yifan Dai, Daili Hua, Bohan Zeng, Yuran Wang, Jialing Liu, Bozhou Li, Chengzhuo Tong, Yang Shi, Kai Zeng, Liu Yang, Xinyu Liu, Shujie Li, Yiyan Ji, Bingyin Mei, Yushuo Guan, Yuanxing Zhang, Fangcheng Fu, Wentao Zhang
Abstract
Multi-reference image generation requires a model to preserve the appearance of selected subjects while arranging them according to an instruction. Despite recent progress in reference-based generation and compositional control, reliably organizing selected subjects into the intended scene remains challenging. Although existing methods provide various forms of compositional guidance, the planned relationships are not always explicitly instantiated for inspection and refinement before image synthesis. To address this limitation, we introduce MAGPIE, which represents the intended composition as a simplified 3D scene defined by an executable Blender program. A coding agent links each scene instance to its reference, checks the geometry and rendered view against the instruction, and revises the program to correct discrepancies. The final proxy rendering serves as a visual plan for the image generator. Using MAGPIE-Instruct-3K, we train the generator to follow this plan while drawing each subject's appearance from its reference. MAGPIE improves both Qwen and FLUX on DreamOmni2 and SconeEval. With FLUX, it improves overall success on DreamOmni2 by 28.21 percentage points over the original backbone and achieves the highest overall score among the models evaluated on SconeEval.
Create a lesson
Metadata
- Categories
- cs.CV, cs.CL
- Comments
- 20 pages, 11 figures
Related papers
Qwen-Image-HD: Autoregressive Diffusion for High Definition Image Generation
Shared title terminologycs.CVZihao Liu, Zekai Zhang, Shengming Yin et al.
HazeFlux: Few-Step Generative Priors for Real-World Image Dehazing
Shared title terminologycs.CVYunong Liu, Danna Xue, Javier Vazquez-Corral
Every Edit Its Own Budget: Per-Instruction Token Freezing for Training-Free Acceleration of Multi-Edit Image Editing
Shared title terminologycs.CVJyotirmoy Nath, Neeraj Kumar, Brejesh Lall
Towards a Multimodal Aesthetic Agent for Photographic Reference Grading
Shared title terminologycs.CVKunjie Lin, Haitao Zhang, Bosheng Chen et al.
SofaSpace: A Benchmark for Executable Visual Spatial Reasoning in Continuous Motion and Environment Construction
Shared title terminologycs.CVZe Rong, Kun Shi, Zhedong Zheng
The Old Scene Lives in the Cache: Diagnosing and Shedding Stale History in Streaming Video Generation
Shared title terminologycs.CVHao Zhou, Ziyang Xu, Chenhan Jin et al.