Text-to-motion

Also known as: motion generation

On this page 7

Text-to-motion is the generative AI task of producing a three-dimensional human movement sequence from a natural-language description, such as “a person walks forward, stops and waves with the left hand”. The output is not a video but a time series of skeletal poses, usually joint rotations and a root trajectory at 20 to 30 frames per second, which can drive any rigged character.

Within Generative media, text-to-motion sits beside text-to-video and image-to-3D but solves a different problem: it generates movement data that animators, game engines and robot controllers can edit and retarget. The task is also called motion generation or language-conditioned motion synthesis, and it relies on motion capture datasets paired with text annotations.

How text-to-motion models generate movement

A text-to-motion model maps a text embedding to a sequence of poses through a learned generative process. The text is first encoded, often with a pretrained language or vision-language encoder such as CLIP or a T5-style model, and the motion generator then produces frames conditioned on that embedding.

Three architectural families dominate current research. Diffusion models start from random noise over the whole sequence and denoise it step by step; autoregressive transformers predict discrete motion tokens one after another; and masked token models fill in missing tokens in parallel, trading some flexibility for speed.

FamilyHow it generatesStrengthsWeaknesses
Motion diffusionIterative denoising of full sequencesHigh diversity, easy editing and inpaintingSlow sampling without distillation
Autoregressive tokensVQ-VAE codes predicted in sequenceStrong text alignment, variable lengthError accumulation in long clips
Masked token modelsParallel prediction of masked codesFast inference, good qualityNeeds a robust motion tokenizer
Latent diffusionDiffusion in a compressed motion spaceFaster than raw diffusionLoses fine detail such as finger motion
Main model families for text-to-motion

Most systems add physics-aware post-processing or auxiliary losses to reduce artifacts such as foot sliding, ground penetration and jitter, because the raw network output does not obey contact constraints by itself.

Diffusion-based systems also support controllable editing without retraining. By fixing some frames or joints and regenerating the rest, an animator can perform motion inpainting, for example keeping the legs of a walk while changing the arm gesture, or extending a clip with a smooth in-betweening transition between two given poses. Trajectory guidance can additionally force the root of the character to follow a path drawn in the scene.

Motion representations and datasets

The motion representation decides what the model can express and how easily the result transfers to a character. Most research uses a body model such as SMPL or a fixed skeleton of about 22 joints, encoding each frame as joint positions, rotations, velocities and foot contact labels.

Training data comes from optical motion capture sessions annotated with sentences. The table summarizes the datasets most often cited for benchmarking; numbers are approximate and depend on the release version.

DatasetApproximate sizeContent focus
KIT Motion-LanguageAbout 3,900 motions, 6,300 textsEveryday actions, short clips
HumanML3DAbout 14,600 motions, 44,900 textsBroad daily activities, sports, dance fragments
BABELAbout 43 hours with frame-level labelsSequences of several actions
Motion-XOver 80,000 sequencesWhole-body motion including hands and face
Widely used text-motion datasets

These datasets remain small compared with image corpora, which limits generalization to unusual verbs, rare sports and culturally specific gestures. Data scarcity is the main reason why prompts outside common activities often produce generic walking or idle motion.

Text-to-motion compared with neighboring techniques

Text-to-motion is often confused with AI animation and text-to-video, yet the outputs are fundamentally different. The comparison below shows where each technique fits in a production pipeline.

TechniqueInputOutputEditable after generation
Text-to-motionText promptSkeletal pose sequenceYes, keyframes and curves
Text-to-videoText promptPixel framesLimited to video editing
Video-based motion captureRecorded videoSkeletal pose sequenceYes
Face reenactmentSource face and driving videoAnimated face videoLimited
Camera motion controlCamera path parametersVideo with guided viewpointLimited
Text-to-motion and related generative tasks

The practical advantage of text-to-motion is reusability: a generated clip can be retargeted to different characters, blended with other clips in a game engine and refined by an animator, which a rendered video cannot offer.

Evaluating generated motion

Quality is measured with automatic metrics and human studies. Fréchet Inception Distance (FID) computed on motion features estimates realism, R-precision checks whether the text can be retrieved from the motion, and diversity and multimodality scores measure variety across and within prompts.

These metrics depend on a pretrained motion-text evaluator, so a model can score well while still showing visible artifacts. Experienced teams therefore add physical plausibility checks such as foot skating ratio and penetration depth, and they run blind preference tests with animators before adopting a model.

Another common blind spot is long-sequence coherence. Benchmarks mostly use clips of up to about 10 seconds, so a model that excels on single actions may drift, repeat itself or lose balance when asked to chain several actions in one prompt. Testing with realistic, multi-step descriptions reveals this weakness early.

Practical use and limitations

Text-to-motion is most useful for previsualization, background characters and rapid prototyping, where speed matters more than signature performance. The decision table summarizes typical choices.

SituationRecommended approachReason
Crowd and background extrasGenerate many variants from short promptsDiversity at low cost
Hero character performanceMotion capture with an actorNuance and timing need human acting
Game prototypeGenerate, then clean up key clipsFast iteration before final capture
Robot or simulation trainingGenerate, then filter with a physics simulatorRemoves physically impossible motion
When to use text-to-motion

Key limitations include weak handling of objects and scene contact, difficulty with precise timing such as “jump exactly on beat three”, limited finger and facial detail and dataset bias toward the movement styles of the capture performers. Licensing of training data and consent of capture actors are open questions that studios should review before commercial use.

The simple explanation

Text-to-motion lets a computer turn a sentence into body movement. You type “a person jumps and then sits down”. The system creates the movement of a digital skeleton that does exactly that.

It does not make a finished film. It makes the movement itself, like the strings of a puppet. Any 3D character can then wear that movement. An animator can still adjust it by hand.

How it is used in practice

A small game studio is building an open-world town that needs about 150 background characters performing daily activities. Recording every action with motion capture would cost several studio days. Instead, a technical animator writes short prompts such as “a person sweeps the floor slowly” and “a person carries a heavy box and stops to rest” and generates five variants of each.

The team filters the clips with an automatic foot-sliding check, retargets the best ones to its character rigs and cleans up obvious errors in a standard animation tool. Within two weeks the town has over 300 usable motion clips. The studio still books motion capture for the main characters, whose performances must carry story and emotion.