titleMAGPIE: Agentic Multi-Reference Image Generation via Executable Scene Construction
authorsYifan 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
date2026-11-24
venuearXiv (preprint, not peer reviewed)
idarXiv:2611.32462
affiliationKlingAI Research
upvotes13 (Hugging Face Daily Papers, 2026-11-27)
linksabs pdf hf
cite
relatedDiffusionART: Efficient, Stable and Scalable Reinforcement of Diffusion Models
Behind Video Generation: Observations and Insights on Multimodal Understanding from Kling
Semantic Forcing: Unfolding Semantic Evolution for Streaming Interactive Video Generation
Beacon: Knowing When and How to Perform Agentic Visual Reasoning
OmniDirector: General Multi-Shot Camera Cloning without Cross-Paired Data
abstractMulti-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.

bibtex

@misc{dai2026magpie,
  title={MAGPIE: Agentic Multi-Reference Image Generation via Executable Scene Construction},
  author={Yifan Dai and Daili Hua and Bohan Zeng and Yuran Wang and Jialing Liu and Bozhou Li and Chengzhuo Tong and Yang Shi and Kai Zeng and Liu Yang and Xinyu Liu and Shujie Li and Yiyan Ji and Bingyin Mei and Yushuo Guan and Yuanxing Zhang and Fangcheng Fu and Wentao Zhang},
  year={2026},
  eprint={2611.32462},
  archivePrefix={arXiv},
  url={https://arxiv.org/abs/2611.32462}
}