Manuscript Offprint

arXiv:2610.36545

FrameForge: Harnessing Priors of Video Foundation Models for Unified Image Generation

Yijing Lin, Zhendong Mao, Mengqi Huang, Yuxin Wang, Yongdong Zhang

Yijing Lin 1^{1} Zhendong Mao 1,⊗^{1,\otimes} Mengqi Huang 1,2^{1,2}

Yuxin Wang 2^{2} Yongdong Zhang 1^{1}

1^{1}University of Science and Technology of China 2^{2}FrameX.AI

Corresponding author: Zhendong Mao

lyijing@mail.ustc.edu.cn; zdmao@ustc.edu.cn; huangmq@ustc.edu.cn

wangyuxin@frame-x.ai; zhyd73@ustc.edu.cn

Unified conditional image generation requires a single model to preserve different aspects of a visual input while producing a target image that follows textual guidance. Pretrained video models provide a promising foundation by encoding visual transformations across time, yet existing approaches typically assign the condition and target to fixed temporal positions. We observe that condition-target relationships vary substantially across generation tasks, while video models naturally encode visual transformations at different temporal scales. This motivates us to model conditional generation through input-adaptive virtual temporal relations. We propose FrameForge, which captures two complementary aspects of such relations. Mixture of Temporal Experts (MoTE) models how far the target lies from the condition by dynamically selecting temporal RoPE experts with different virtual intervals. Chain of Temporal Reasoning (CoTR) models how the condition is transformed into the target through a latent intermediate state, with a reasoning-bottleneck attention mask encouraging information propagation through this pathway. Experiments on DreamBench, COCO2017, and GEdit-Bench show that FrameForge achieves superior performance in subject-driven generation, canny-to-image generation, and image editing among the compared methods.

Project Page: lyne1.github.io/FrameForge-page/

1 Introduction

With recent advances in generative modeling [8, 19, 21, 33, 35, 57, 67], foundation models such as Stable Diffusion [13, 14, 41] and FLUX [25] offer strong text-to-image generation capabilities. However, real-world generation often involves diverse inputs (e.g., text, reference images, and structural maps) that impose constraints at different semantic and spatial levels. Modeling these heterogeneous condition-target relations within a unified framework remains challenging.

Existing approaches to heterogeneous conditional image generation are predominantly image-centric. Some train unified models on large-scale multi-task datasets [2, 9, 11, 42, 46, 53, 56], while others extend pretrained generators with control branches or lightweight adapters [47, 60, 61, 63, 65]. These approaches typically inject conditions as auxiliary spatial or semantic signals without explicitly modeling how strongly the condition and target differ or how one should be transformed into the other. This can make it difficult for a shared model to accommodate substantially different generation behaviors.

Pretrained video generation models provide a natural alternative by learning visual transformations across time. Recent studies exploit these priors by arranging the condition and target as different frames [6, 27, 31, 54]. However, existing approaches typically assign the condition and target to fixed temporal positions, resulting in an invariant temporal positional relation across different tasks and samples. Such a fixed offset overlooks the variation in condition-target relations and may limit a single shared adapter.

Our key observation is that heterogeneous condition-target relations can be interpreted through a virtual temporal interval. In natural videos, frames separated by different temporal intervals exhibit different degrees of visual variation. A similar phenomenon arises in conditional image generation: image editing typically requires relatively small changes while preserving most source content, whereas subject-driven and canny-to-image generation often involve larger variations in appearance, structure, or scene composition. As shown in Fig. 1, these tasks exhibit clearly different condition-target LPIPS distributions, while their variation ranges substantially overlap with those observed in natural video transitions. This suggests that different conditional generation tasks may correspond to different regions of the temporal transformation prior learned by a video model. The broad distributions within individual tasks further suggest that a task label alone cannot specify the required transformation magnitude. An input-dependent relation can account for both differences across tasks and variations among samples within the same task. Therefore, instead of assigning all condition-target pairs a fixed temporal offset, we model their relation with an input-adaptive virtual temporal interval.

This perspective reveals two complementary aspects of conditional generation: how far the target lies from the condition under the learned temporal prior, and how the condition should be transformed into the target. An adaptive interval addresses the former but does not uniquely determine the transformation. Modeling the latter requires a latent mechanism that learns condition-to-target transformations without explicit intermediate-frame supervision.

To this end, we propose FrameForge, a unified conditional image generation framework built upon a pretrained video foundation model. To model how far the target lies from the condition, Mixture of Temporal Experts (MoTE) selects among temporal RoPE experts with different virtual intervals using the joint textual and visual context. To model how the condition evolves into the target, Chain of Temporal Reasoning (CoTR) inserts a noise-initialized latent to form a condition-reasoning-target chain. The latent is progressively contextualized through attention with textual and visual tokens. During an intermediate training stage, a reasoning-bottleneck attention

Video Generation Pre-training

Figure

Figure 1 Motivation of FrameForge. Top: The LPIPS distances between frame pairs sampled from natural videos at different temporal intervals. Bottom: The condition-to-target LPIPS distances for image editing, subject-driven generation, and canny-to-image generation, where the dashed lines denote the median distance of each task.

mask prevents target tokens from directly accessing text or condition tokens, encouraging information propagation through the reasoning latent. The MoTE router and a single shared LoRA are jointly optimized across all tasks, while the pretrained video backbone remains frozen. This design enables heterogeneous conditional generation without task-specific adapters.

Our main contributions are summarized as follows:

Conceptual contribution. We formulate heterogeneous conditional image generation from the perspective of input-adaptive virtual temporal relations in pretrained video models. Our analysis shows that different generation tasks exhibit distinct condition-target transformation magnitudes, motivating adaptive temporal relation modeling.

Technical contribution. We propose FrameForge, a unified adaptation framework that jointly models two complementary aspects of conditional generation. MoTE adaptively determines how far the target lies from the condition through input-dependent temporal positional priors, while CoTR provides a latent pathway to model how the condition is transformed into the target without explicit intermediate supervision. The entire framework is jointly trained across tasks with a single shared LoRA.

Experimental contribution. We conduct extensive experiments on subject-driven generation, canny-to-image generation, and instruction-guided image editing. Results on DreamBench, COCO2017, and GEdit demonstrate that a single unified FrameForge model achieves superior performance across all three tasks compared with task-specific and unified baselines. Comprehensive ablations further validate the effectiveness of the proposed MoTE and CoTR modules.

References (62)