Manuscript Offprint

arXiv:2609.08032

Flexible Motion Generation from Language and Style References

Kai Weixian Lan, Bodie Criswell, Briana Fedkiw, Zhan Zhang, Joseph Teran, Daniel Holden

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

FROM LANGUAGE AND STYLE REFERENCES

Kai Weixian Lan¹,⁴ Bodie Criswell²,⁴ Briana Fedkiw³,⁴ Zhan Zhang¹,⁴ Joseph Teran¹,⁴ Daniel Holden⁴

¹University of California, Davis, USA ²University of Utah, USA ³Brown University, USA ⁴Epic Games, USA

Figure

Figure 1: FlexMoGen generates long, stylized human motions conditioned on time-varying text prompts and style reference clips. Given three sequential content prompts (“Jump with both feet”, “Side hop”, “Kick legs”) and corresponding style references (bottom row), our framework synthesizes a single temporally coherent motion sequence (top row) that faithfully reflects both the intended action and the target style within each segment. Color coding indicates the correspondence between style references, content prompts, and generated frames.

ABSTRACT

We introduce FlexMoGen, a novel framework for flexible human motion synthesis conditioned on both natural language descriptions and motion style references. Text prompts are effective at defining semantic content, but they are often limited in capturing fine-grained style details such as timing, limb articulation, and expressive dynamics. A style example clip supplements the text by conveying these nuanced motion characteristics directly, enabling the model to preserve high-level intent while reproducing the desired stylistic traits. Given a text prompt and a style example clip, FlexMoGen generates high-quality motions that preserve semantic content while faithfully reflecting the target style, offering users greater control over the animation generation process. Unlike prior methods that rely on discrete style labels and do not generalize to long or multi-style generation, FlexMoGen learns a variational style encoder without style supervision and supports long, time-varying, multi-style synthesis. Our framework jointly pre-trains the style encoder and a text-to-motion latent diffusion model within a unified architecture, modulating motion style through a lightweight adaptation module. It integrates an efficient relative positional encoding scheme and is trained on both stylized and non-stylized datasets, enabling strong generalization to unseen text-style combinations. Experiments show that FlexMoGen achieves the best balance between content fidelity and style reflection.

Keywords Motion synthesis · Motion style transfer · Diffusion models · Character animation

1 Introduction

Character animation is a fundamental component of modern computer graphics applications. Traditional methods, such as hand animation via key-framing or using motion capture to capture motions from real subjects, are both costly and time-consuming. Data-driven character motion synthesis has emerged as a powerful alternative, enabling the automatic generation of animations. Recent advances demonstrate that animation can be generated from text prompts, style examples, trajectories, and other control signals.

For text-conditioned generation, generative models have become widely used. Early approaches to motion generation from text descriptions employed variational autoencoders (VAEs) [32], as seen in works such as Temos [39] and text2motion [13]. More recently, diffusion models [19, 46] have gained popularity for generating diverse human motions, with several studies adopting this framework [6, 8, 52, 61]. Another active area in animation is motion stylization, which focuses on transferring style from one motion to another [1, 27, 36, 50, 56].

In this work, we focus on integrating content, represented by text prompts, and style, represented by example clips, to generate novel human motions, extending the formulation introduced by SMooDi [62]. In this formulation, text prompts define the semantic content of the action (e.g., walking, running, or dancing), while style captures the expressive characteristics of the motion, such as happy, sad, energetic, or lethargic. Text alone is often insufficient to express the full range of stylistic nuances in motion; descriptors like rhythm, energy, and joint-level articulation can be ambiguous or hard to specify precisely. A motion style reference clip provides these details directly, making it easier to communicate how a motion should look and feel while the text prompt preserves the high-level semantic intent. Although one could, in principle, describe both content and style using natural language and input them into a text-to-motion (T2M) model, the nuanced and highly personalized nature of style is difficult to fully capture with text alone. Consistent with the findings of SMooDi, we also adopt motion examples as a more expressive representation of style. A straightforward solution for text- and style-conditioned motion generation is to first synthesize the content using a T2M model and then apply style transfer as a post-processing step. However, existing style-transfer methods [1, 36, 56] are typically trained only on stylized datasets, which are limited in diversity and cannot support a broad range of content motions. In addition, a two-stage pipeline often introduces temporal inconsistencies and artifacts. To overcome these drawbacks, SMooDi [62] introduces the idea of adding style control directly into a pretrained T2M model via ControlNet [60]. Building on this formulation, subsequent works such as Sawdayee et al. [43] and Wu et al. [55] also integrate example-based style conditioning into pretrained T2M models.

Although these works employed new techniques to add style control to a T2M model, common drawbacks are as follows. Their approach is limited to short animation sequences and offers limited flexibility in controlling the generated motions. Additionally, most of these frameworks require explicit style class labels, which are often unavailable in practice, the exception being Wu et al. [55], who also learn style without labels but still target short, single-style sequences. To address these limitations, we propose a model that supports separate control signals and style examples for different segments of an animation. Our method employs a style encoder trained without reliance on explicit style class annotations. To enable the synthesis of temporally coherent and arbitrarily long motion sequences, we introduce a sliding-window transformer architecture inspired by relative position encoding from language modeling [45, 48, 54] and music generation [25]. This architecture facilitates smooth state transitions and fine-grained temporal control over both semantics and style, as well as generating longer sequences. Furthermore, drawing inspiration from skeleton-aware networks [27, 30, 38], we incorporate per-body-part style embeddings into our encoder to disentangle localized stylistic features. This enhances style transfer fidelity and enables targeted manipulation of individual body parts.

We demonstrate that our method advances the state of the art in flexibility and versatility, and achieves the best balance between content fidelity and style reflection. Furthermore, we provide comprehensive supplementary videos and materials to substantiate the effectiveness of our approach. Our main contributions are:

  • A variational style encoder that learns rich motion style representations from example clips without requiring any explicit style class labels.

  • A lightweight style adaptation module implemented as learnable bias vectors injected into the key and value projections of attention layers, enabling efficient and effective modulation of motion style.

  • Temporal attention mechanisms that provide fine-grained temporal control, supporting temporally varying semantics and styles, and enabling the generation of motions significantly longer than those seen during training.

References (62)