cs.CVMar 16, 2026

AnyPhoto: Multi-Person Identity Preserving Image Generation with ID Adaptive Modulation on Location Canvas

Authors: Longhui Yuan

Abstract

Multi-person identity-preserving generation requires binding multiple reference faces to specified locations under a text prompt. Strong identity/layout conditions often trigger copy-paste shortcuts and weaken prompt-driven controllability. We present AnyPhoto, a diffusion-transformer finetuning framework with (i) a RoPE-aligned location canvas plus location-aligned token pruning for spatial grounding, (ii) AdaLN-style identity-adaptive modulation from face-recognition embeddings for persistent identity injection, and (iii) identity-isolated attention to prevent cross-identity interference. Training combines conditional flow matching with an embedding-space face similarity loss, together with reference-face replacement and location-canvas degradations to discourage shortcuts. On MultiID-Bench, AnyPhoto improves identity similarity while reducing copy-paste tendency, with gains increasing as the number of identities grows. AnyPhoto also supports prompt-driven stylization with accurate placement, showing great potential application value.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. WithEveryone: Unified Planning and Identity Grounding for Group Image Generation

    Aug 20, 2026Hengyuan Xu, Qixun Wang, Yiji Cheng +5Subject-Driven Image GenerationImage Generation

  2. CanvasComposer: Personalized Group Photo Generation via a Multi-Reference Canvas

    Oct 23, 2025Gordon Guocheng Qian, Ruihang Zhang, Tsai-Shien Chen +11Subject-Driven Image GenerationImage Generation

  3. Diff-ID: Identity Consistent Facial Image Generation and Morphing via Diffusion Models

    Jul 27, 2026Taimoor Rizwan, Sara Atito, Muhammad Awais +2Image GenerationIdentity-Preserving Image Generation