arXiv(opens in a new tab)cs.CVAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.23090

Loopy: Seamless Video Loop Generation via Anchored Looping Shift of Positional Embedding

Haotian Dong, Wenjing Wang, Chen Li, Jing Lyu, Xin Wang, Di Lin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

HAOTIAN DONG, Tianjin University, China

WENJING WANG, Independent, China

CHEN LI, Independent, China

JING LYU, Independent, China

XIN WANG ∗^{*}, The Hong Kong Polytechnic University, Hong Kong

DI LIN ∗^{*}, Tianjin University, China

Seamless Looping

"A female warrior faces forward, holding a long sword with both hands, raising it overhead and striking down, her black hair lifted by the sword's wind."

"A glass of bubbly, ice-cold cola with condensation on the glass and several slices of lemon inside. Realistic style. Close-up."

Figure

Applications

Figure

Live Wallpapers

Web Graphics

Game Visuals

Social Media

Fig. 1. Our Loopy generates high-quality looping videos with seamless transitions at loop boundaries and diverse motion. It also supports RGBA with semi-transparent effects. In the application block, all elements—including game assets and Loopy character stickers—are generated by our Loopy.

Looping videos are essential for practical applications such as web graphics, game development, and social media. However, existing approaches typically fail to generate high-quality looping videos due to the neglect of how video generation models perceive temporal order and how this relates to the looping behavior. In this work, we are the first to reveal that position embedding at different attention layers within DiT exhibits varying levels of positional control, with the most pronounced layer acting as an anchor. We formulate this anchored layer as the reference point of the looping video, offering strong contextual priors for the remaining layers to facilitate the generation of seamless and coherent video content. Based on this insight, we propose an anchored position embedding shifting strategy that applies layer-specific shift lengths according to each layer's temporal control effect, effectively transforming DiT's temporal perception from a straight line to a circle. Leveraging this strategy, we develop a general framework, Loopy, for high-quality looping video generation, supporting both RGB and RGBA videos, while also enabling advanced AIGC features such as identity control and style transfer. Experiments demonstrate that our approach significantly improves temporal consistency and visual fidelity in generated looping videos. The released model is available on our website: https://donghaotian123.github.io/Loopy.

CCS Concepts: • Computing methodologies → Computer vision.

Additional Key Words and Phrases: Looping video generation, position embedding, diffusion transformer, text-to-video diffusion

*Co-corresponding author.

Authors' Contact Information: Haotian Dong, Tianjin University, Tianjin, China, htdong@tju.edu.cn; Wenjing Wang, Independent, Beijing, China, augustawang@tencent.com; Chen Li, Independent, Beijing, China, chaselli@tencent.com; Jing Lyu, Independent, Beijing, China, eckolv@tencent.com; Xin Wang, The Hong Kong Polytechnic University, Hong Kong, xin1025.wang@connect.polyu.hk; Di Lin, Tianjin University, Tianjin, China, ande.lin1988@gmail.com.

Figure

This work is licensed under a Creative Commons Attribution 4.0 International License. © 2026 Copyright held by the owner/author(s). ACM 1557-7368/2026/12-ART188 https://doi.org/10.1145/3842544

ACM Reference Format:

Haotian Dong, Wenjing Wang, Chen Li, Jing Lyu, Xin Wang, and Di Lin. 2026. Loopy: Seamless Video Loop Generation via Anchored Looping Shift of Positional Embedding. ACM Trans. Graph. 45, 6, Article 188 (December 2026), 15 pages. https://doi.org/10.1145/3842544