MAGPIE: Agentic Multi-Reference Image Generation via Executable Scene Construction

Yifan Dai, Daili Hua, Bohan Zeng, Yuran Wang, Jialing Liu +13 more
11/24/2026
cs.CVcs.CL

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{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    = {http://arxiv.org/abs/2611.32462v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.32462.svg)](https://codeofpaper.com/paper/2611.32462)

Discussion