# TKCAM: Text and Keyframe to Camera Trajectory Generation

*Haozhe Yang, Zhiyang Dou, Zekai Gu, Cheng Lin, Wenping Wang, Yuan Liu, Taku Komura*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153921) · [OpenReview](https://openreview.net/forum?id=He1Jh80Zy2) · [Open on the map](../papers.html#p153921)

Category: [Robotics, VLA & World Models](../pcat/4.md) › [Video Generation with Geometry and Motion](../pgroup/583.md) · Type: new method · Keywords: camera motion synthesis, text-conditioned generation, keyframe control, masked transformer, hierarchical motion tokens, Residual Vector Quantizer

Areas: [Multimodal](../areas/multimodal.md) › Multimodal Generation › Controllable Video Generation; [Evaluation & Benchmarks](../areas/evaluation.md) › Multimodal System Benchmarks › Motion Generation; [Model Architectures & Sequence Modeling](../areas/architectures.md) › World Modeling Architectures › Motion Modeling; [Generative Models (Diffusion & Flows)](../areas/generative-models.md) › Video Generation › Video Motion Generation; [Computer Vision & 3D](../areas/computer-vision.md) › Dynamic Visual Generation › Video Generation

## Summary
TKCAM is a text- and keyframe-conditioned framework that generates controllable camera trajectories by discretizing 12-DoF motion into hierarchical tokens and using a masked transformer to reconstruct and refine them.

## Explained to a 5-year-old
The paper helps a computer make a camera move smoothly in videos. You can tell it what you want in words and draw a few key poses for the camera. It then fills in the rest of the moves so the camera goes from one pose to the next without jumps. It does this by breaking the movement into small pieces and using a model to guess the best steps. This makes it easy for people to create cool camera motions for movies or games.

## Explained to a 5-year-old, longer
The goal is to make a virtual camera move in a video just like a real camera would. Usually, making these movements is hard because you need to decide where the camera should be at every moment. The paper lets you give the camera directions using words and a few key poses you draw. It then automatically creates the missing poses so the camera moves smoothly from one to the next. To do this, the movement is split into small pieces that are easier to handle. A special model learns how these pieces should be arranged to follow your text and key poses. The model can also fix any mistakes it makes, making the motion look natural. This way, you don't have to draw every single frame of the camera movement yourself. It saves time and helps people create high-quality videos for movies, games, or virtual tours. The system works on many different kinds of scenes, not just one specific type. By using both words and key poses, you get more control over the final camera motion. The result is a smooth, realistic camera movement that looks like it was filmed by a human cinematographer.

## For a technical reader
TKCAM generates camera trajectories conditioned on text and keyframes using a masked transformer and hierarchical token quantization. It formulates motion as 12-DoF kinematic sequences, discretizes them with a Residual Vector Quantizer, and employs a two-stage transformer to reconstruct and refine tokens. The architecture uses self- and cross-attention to fuse multimodal inputs, enabling smooth interpolation between sparse key poses. A new dataset, RealEstate10K-Cap, and a cross-domain benchmark with a Universal CLaTr Evaluator are provided for evaluation. The system is open-sourced, offering a plug-and-play solution for controllable cinematography.

## Problem
Generating high-quality and controllable camera motion for cinematography, video synthesis, and 3D scene understanding is challenging, especially when users need to specify motion via text and sparse keyframes.

## Method
The approach formulates camera dynamics as continuous 12-DoF kinematic sequences, discretizes them into hierarchical motion tokens using a Residual Vector Quantizer, and employs a two-stage masked transformer with self- and cross-attention to reconstruct and refine tokens, enabling text and keyframe conditioning.

## Results
The approach achieves significantly lower Fréchet Inception Distance, higher text-motion matching scores, and improved retrieval (R@K) compared to prior baselines, yielding cinematographically plausible motions with precise spatial control.

## Contributions
The paper introduces a unified text- and keyframe-conditioned camera motion synthesis framework using hierarchical motion tokens and a masked transformer, along with a new large-scale text-camera dataset and a comprehensive cross-domain benchmark.

## Practical relevance
It enables creators and researchers to generate realistic camera motions with intuitive text and keyframe controls, facilitating content creation and 3D scene analysis.

## Research questions this paper is counted under

- [How can we generate realistic, controllable 3D motion and appearance from minimal input while preserving temporal coherence and fine-grained control?](../q/82.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/153921)
