Generating videos from motion control inputs
The system uses video generation neural networks with motion control inputs to create high-definition, photorealistic videos with precise motion control, addressing the lack of control in existing technologies and optimizing resource usage.
Patent Information
- Application Number
- PCT/US2026/029139
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-20
- Filing Date
- 2026-05-20
- Publication Date
- 2026-11-26
AI Technical Summary
Existing video generation technologies lack the ability to accurately depict specific target motion and provide granular control over spatial positioning, leading to uncontrolled or randomized video generation.
A system utilizing video generation neural networks that incorporate motion control inputs, such as future trajectory data or point tracking outputs, to generate videos with precise motion control, employing sparse image representations and selective data processing to optimize memory footprint and reduce latency.
The system generates high-definition, photorealistic videos with controlled motion, offering users granular control over object positioning and scene transitions, while reducing memory usage and computational cycles.
Smart Images

Figure US2026029139_26112026_PF_FP_ABST
Abstract
Description
[0001] Attorney Docket No. 45288-0662WO1
[0002] GENERATING VIDEOS FROM MOTION CONTROL INPUTS
[0003] CROSS-REFERENCE TO RELATED APPLICATIONS
[0004] [1] This application claims the benefit of U. S. Provisional Application Serial No.
[0005] 63 / 809,317, filed May 20, 2025. The disclosure of the prior application is considered part of the disclosure of this application, and is incorporated in its entirety into this application.
[0006] BACKGROUND
[0007] [2] This specification relates to generating videos using neural networks.
[0008] [3] Neural networks are machine learning models that employ one or more layers of nonlinear units to predict an output for a received input. Some neural networks include one or more hidden layers in addition to an output layer. The output of each hidden layer is used as input to the next layer in the network, i.e., another hidden layer or the output layer. Each layer of the network generates an output from a received input in accordance with current values of a respective set of parameters.
[0009] SUMMARY
[0010] [4] This specification describes a system implemented as computer programs on one or more computers in one or more locations that uses a video generation neural network to generate videos. In particular, the system obtains a conditioning input characterizing an output video and processes the conditioning input using the video generation neural network to generate an output video that spans a particular time window. The conditioning input generally includes a motion control input that specifies an aspect of the target motion to be depicted in the output video.
[0011] [5] The subject matter described in this specification can be implemented in particular embodiments so as to realize one or more of the following advantages.
[0012] [6] The disclosed techniques improve the quality and controllability of generated media by utilizing specific "conditioning inputs" that include a "motion control input". This allows the video generation neural network to accurately depict specific target motion in the output video rather than relying on randomized or uncontrolled generation. For example, using "image andAttorney Docket No. 45288-0662WOI
[0013] motion trajectory to video generation (IM2V), the system generates videos that start from an input image and depict particular objects moving along annotated "future trajectories" This provides users with granular control over spatial positioning by defining paths for individual items, such as the center of a corresponding object's region. As another example, for "motion to video (M2V) generation, the system applies a point tracker to an input video to extract complex movement data via a point tracking output. It processes this output alongside an additional conditioning input to generate a new video that depicts a completely different scene than the input video but with the motion transferred from the original video. These control mechanisms can be applied to advanced frameworks like latent diffusion neural networks, rectified flow generative neural networks, and multistep consistency generative neural networks, which are capable of achieving high definition video generation and photorealistic video generation, resulting in high-quality videos being generated that give users a large degree of controllability over the motion depicted in the videos.
[0014] [7] This specification describes several optimizations designed to reduce memory footprint, decrease latency, and save processor cycles during inference. For example, when performing IM2V, the system converts motion trajectory data into sparse image representations for multiple time points. Because the system only needs to track a particular point for an object, these sparse images depict only a relatively small proportion of the pixels in a first color value (representing the object), with all non-tracked pixels set to a second color value. Processing these sparse representations is significantly more memory -efficient than analyzing dense flow maps. During the generation loop, the system updates latent tokens across a plurality of updating steps. To save computational cycles during these steps, the system selectively limits the data it combines. For example, the system can sum or average the tokens representing the motion control input wdth the latent tokens representing the current latent frame, improving the controllability of the final generated video without increasing the number of tokens that need to be processed by the denoising neural network.
[0015] [8] The details of one or more embodiments of the subject matter of this specification are set forth in the accompanying drawings and the description below.
[0016] [9] Other features, aspects, and advantages of the subject matter will become apparent from the description, the drawings, and the claims.
[0017] Attorney Docket No. 45288-0662WOI
[0018] BRIEF DESCRIPTION OF THE DRAWINGS
[0019]
[0010] FIG. 1 is a block diagram of an example video generation system.
[0020]
[0011] FIG. 2 shows an example of annotations on an input image.
[0021]
[0012] FIG. 3 shows an example of processing a conditioning input to generate a video.
[0022]
[0013] FIG. 4 shows an example of the architecture of the video generation neural network.
[0023]
[0014] FIG. 5 is a flow diagram of an example process for performing image and motion trajectory to video generation.
[0024]
[0015] FIG. 6 is a flow diagram of an example process for generating an output video when performing image and motion trajectory to video generation.
[0025]
[0016] FIG. 7 is a flow diagram of an example process for performing motion to video generation.
[0026]
[0017] FIG. 8 is a flow diagram of an example process for generating an output video when performing motion to video generation.
[0027]
[0018] FIG. 9 is a flow diagram of an example process for generating an output video from motion control tokens.
[0028]
[0019] Like reference numbers and designations in the various drawings indicate like elements.
[0029] DETAILED DESCRIPTION
[0030]
[0020] FIG. 1 shows an example video generation system 100 The video generation system 100 is an example of a system implemented as computer programs on one or more computers in one or more locations in which the systems, components, and techniques described below are implemented.
[0031]
[0021] The video generation system 100 generates videos 112 using a video generation neural network 110.
[0032]
[0022] The video generation neural network 110 can be any appropriate neural network that maps a conditioning input 102 to a video 112 that includes multiple video frames and spans a corresponding time window.
[0033]
[0023] For example, the video generation neural network 110 can be a diffusion neural network. One example of such a neural network is described in Itnagen Video: High Definition Video Generation with Diffusion Models, available at arXiv:2210.02303.
[0034] Attorney Docket No. 45288-0662WOI
[0035]
[0024] As a particular example of this, the video generation neural network 110 can be a latent diffusion neural network. One example of such a neural network is described in Photorealistic Video Generation with Diffusion Models, available at arXiv:2312.06662.
[0036]
[0025] As another example, the video generation neural network 110 can be a rectified flow generative neural network. One example of such a neural network is described in Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow, available at arXiv:2209.03003.
[0037]
[0026] As yet another example, the video generation neural network 110 can be a multi step consistency generative neural network. One example of such a neural network is described in Multistep Consistency Models, available at arXiv:2403.06807.
[0038]
[0027] As another example, the video generation neural network 110 can have an architecture that includes multiple generative neural networks that each generate respective outputs in a respective latent space, as described below with reference to FIG. 3.
[0039]
[0028] As yet another example, the video generation neural network 110 can have a single, unified Transformer sequence modeling architecture to handle both discrete text and continuous image and video data (and optionally data of other modalities) within a single sequence. For example, the unified architecture can be an attention, e.g., self-attention, architecture, e.g., a Transformer architecture. As another example, the unified architecture can be a recurrent architecture, e.g., a linear recurrent neural network architecture, a state space model architecture, and so on As another example, the unified architecture can be a hybrid architecture that has both attention and recurrent layers. For example, instead of relying on an isolated text encoder, the unified sequence modeling neural network can process a unified sequence that includes discrete text tokens and continuous latent representations of any visual inputs. To generate the final video, the unified sequence modeling neural network functions as the denoising neural network within a denoising process, e.g., as described below.
[0040]
[0029] In particular, the system 100 obtains a conditioning input 102 characterizing an output video 112 and processes the conditioning input 102 using the video generation neural network 110 to generate an output video 112 that spans a particular time window.
[0041]
[0030] Generally, the conditioning input 102 includes a motion control input 104 that specifies target motion to be depicted in the output video 112.
[0042] Attorney Docket No. 45288-0662WOI
[0043]
[0031] As a particular example, the system 100 can perform image and motion trajectory to video generation (IM2V).
[0044]
[0032] In IM2V, the conditioning input 102 includes (i) an input image depicting a set of one or more objects at respective locations, and (ii) respective future trajectory data for each of one or more particular objects in the set of objects depicted in the input image. The respective future trajectory for a particular object specifies a respective future trajectory of the particular object starting from the respective location of the object in the input image. The particular object(s) can be all of the objects depicted in the input image or a subset of the objects depicted in the input image. Thus, in IM2V, the motion control input 104 includes the respective future trajectory data.
[0045]
[0033] In this example, the system 100 generates output videos 112 that start from the input image and depict the particular objects moving along the respective future trajectories.
[0046]
[0034] For example, the system 100 can obtain a respective annotation for each of the one or more particular objects that specifies a respective future path for the particular object and generate the respective future trajectory data for each of the one or more particular objects from the respective annotation. For example, the future path may not include any timing information and the system can generate a trajectory by adding timing information to the future path, e.g., by generating a trajectory' that specifies that the object traverses the path at a constant speed or using another predetermined speed profile.
[0047]
[0035] As a particular example of this, the respective annotation for each of the one or more particular objects can be an overlaid annotation that depicts the respective future path for the particular object overlaid over the input image.
[0048]
[0036] FIG. 2 shows an example 200 of annotations for objects in an input image.
[0049]
[0037] In FIG. 2, the respective future paths 202-208 for four of the cubes 212-218 shown in the input image 102 are depicted as respective dotted-lines with arrows depicting the direction of motion.
[0050]
[0038] For example, the system 100 can obtain the annotation data by providing the input image 102 for presentation in a user interface and receiving data representing a user input annotating the input image 102 while the input image is presented in the user interface to generate the respective annotations.
[0051] Attorney Docket No. 45288-0662WO1
[0052]
[0039] As another example, the system 100 can perform motion to video (M2V) generation. In M2V generation, the conditioning input 102 includes a point tracking output generated for an input video and an additional conditioning input, e.g., text or an input image or both, characterizing a target scene. Thus, in this example, the motion control input 104 includes the point tracking output.
[0053]
[0040] The video 112 generated by the video generation neural network 110 then depicts the target scene with motion defined by the point tracking output 103 for the input video. In particular, the target scene can be a different scene than the one depicted in the input video. Thus, the system 100 generates an output video 112 that ‘Transfers” the motion from the input video to a different scene that is characterized by the conditioning input. The conditioning input may specify the object / entity that the motion is to be applied to, for example.
[0054]
[0041] In particular, the system 100 obtains an input video that includes a respective input video frame at each of a plurality of input time points.
[0055]
[0042] The system 100 then applies a point tracker to the input video to generate a point tracking output for the input video The point tracking output identifies, for each of a plurality of query points, a respective location of the query point in each of the plurality of input video frames. The system can generally use any appropriate point tracker to generate this output. For example, the system 100 can use the TAPNet point tracker, the D4RT point tracker, the TAPNext point tracker, or the TAPNext++ point tracker.
[0056]
[0043] The system 100 obtains an additional conditioning input characterizing a target scene and processes the point tracking output and the additional conditioning input using the video generation neural network 110 to generate a video 112 that depicts the target scene with motion defined by the point tracking output for the input video. That is, in this example the conditioning input 102 includes the point tracking output and the additional conditioning input.
[0057]
[0044] In either example, the manner in which the video generation neural network 110 processes the conditioning input 102 is generally dependent on the architecture of the video generation neural network.
[0058]
[0045] Some examples of an architecture of a video generation neural network that can perform the processing in this manner shown below in FIG. 3. Other examples of architectures of the video generation neural network include those described above.
[0059] Attornev Docket No. 45288-0662WOI
[0060]
[0046] FIG 3 shows an example 300 of an architecture of the video generation neural network 110. In particular, in the example 300, the video generation neural network includes a base latent diffusion model 310, a latent-to-latent neural network 320, and a decoder neural network 330
[0061]
[0047] The base latent diffusion model 310 processes the conditioning input to generate low-resolution latents, e.g., of resolution T / 8, H / 8, W / 8, 4, where T is the total number of video frames in the output video, H is the height of the output video, and W is the width of the output video, and 4 is the number of channels of each H / 8 x W / 8 latent representation included in the low-resolution latents. Thus, the low-resolution latents are a latent representation of the generated video that has a lower spatial dimensionality than the generated video.
[0062]
[0048] The latent-to-latent neural network 320 performs upscaling to upscale the low-resolution latents along the temporal, spatial, and channel dimensions, e.g, to generate upscaled latents having dimensionality T / 4, H / 4, W / 4, 8. For example, the neural network 320 can also be a latent denoising neural network or can be a different type of generative neural network,
[0063]
[0049] The decoder neural network 330 then maps the upscaled latents to the output video, e.g., to the output video having dimensionality T, H, W, 3, where 3 are the RGB channels of the pixels of the output video.
[0064]
[0050] In this example, the base latent diffusion model 310 can generate the low-resolution latents conditioned on the motion control input and any other data in the conditioning input. These low-resolution latents are then processed further to generate the output video by using the latent-to-latent neural network 320 and the decoder neural network 330. In some cases, neither the latent-to-latent neural network 320 nor the decoder neural network 330 is conditioned on the motion control input. In some other cases, one or both of the latent-to-latent neural network 320 or the decoder neural network 330 are conditioned on the motion control input. The decoder neural network can be pre-trained as part of an autoencoder (AE) framework jointly with a video encoder neural network. That is, the video encoder and the decoder can be pre-trained on a video reconstruction objective.
[0065]
[0051] Examples of this architecture of the video generation neural network and example of training the video generation neural network are described in more detail in VIDEO GENERATION AND ENCODING USING MACHINE-LEARNING MODELS, App. No.
[0066] Attorney Docket No. 45288-0662WOI
[0067] PCTUS2025049646, the entire contents of which are hereby incorporated by reference in their entirety.
[0068]
[0052] As described above, more generally, the video generation neural network can be any appropriate neural network that maps a conditioning input to a video that includes multiple video frames and spans a corresponding time window. For example, the video generation neural network can include only the base latent diffusion model 310 and the decoder neural network 330, i.e., the decoder neural network 330 can be configured to directly map from the low-resolution latents to the output video. As another example, the video generation neural network can include a different type of latent denoising neural network, e g., one of the types of denoising neural networks described above, followed by (i) an upsampling neural network and then a decoder neural network or (ii) a decoder neural network.
[0069]
[0053] More specifically, as described below with reference to FIG. 9, any appropriate latent denoising neural network can be adapted to serve as the video generation neural network, i.e., to process the conditioning inputs described in this specification by, at each denoising step, combining the tokens that are being denoised by the latent denoising neural network with tokens generated from the conditioning input and then processing the resulting combined tokens by the latent denoising neural network. An example of performing this combination is described below with reference to FIG. 9.
[0070]
[0054] FIG. 4 shows an example 400 of processing a conditioning input using the video generation neural network 110.
[0071]
[0055] In the example of FIG. 4, the system 100 processes the motion control conditioning input, e.g., the future trajectory data when performing IM2V or the point tracking data when performing M2V, as follows. In particular, the example 400 shows an example of an input for a denoising step to be processed by a denoising neural network of the video generation neural network.
[0072]
[0056] Generally, when motion control inputs are not used, the system can generate the input as a sequence of tokens that includes noised video tokens 410 that represent the video tokens that are being denoised, text tokens 420 that represent a text conditioning input, and a time step token 430 that represents the timestep associated with the denoising step.
[0073] Attorney Docket No. 45288-0662WOI
[0074]
[0057] In the example of FIG. 4, the system 100 processes the motion control conditioning input, e.g., the future trajectory data when performing IM2V or the point tracking data when performing M2V, as follows in order to incorporate the motion control conditioning input.
[0075]
[0058]
[0076]
[0059] In particular, the system 100 generates, from the motion control conditioning input, a respective image representation 460 for each of a plurality of time points in the output video.
[0077]
[0060] For example, when the input is future trajectory' data, the system 100 can generate “sparse” image representations. In particular, the system 100 can generate a respective image representation for each of the plurality of time points that depicts a respective location of a particular point corresponding to each particular object at the corresponding time point according to the future trajectory for the particular object.
[0078]
[0061] As another example, when the input is point tracking data, the system 100 can generate the respective image representations such that, for each coordinate in the respective image representations, (i) the coordinate corresponds to a respective location in an initial input video frame in the input video, and (ii) for the respective image representation for each subsequent time point of the plurality of time points, the coordinate has values that define a location of the corresponding location in the input video frame corresponding to the subsequent time point according to the point tracking output for the initial video. The respective representations can also optionally include occlusion scores when the point tracking output includes occlusion scores.
[0079]
[0062] For example, these coordinates and occlusion scores may be mapped directly to distinct channels (e g., red, green, blue, or alpha channels) of a multi-channel image tensor representing the motion control input.
[0080]
[0063] Generating these image representations is described in more detail below with reference to FIGS. 6 and 8.
[0081]
[0064] The system processes the respective image representation 460 for each of the plurality of time points using an encoder neural network 450 to generate a respective set of one or more motion control tokens for each of the plurality of time points. These tokens are referred to as dense control tokens 440 in FIG. 4.
[0082] Attorney Docket No. 45288-0662WOI
[0083]
[0065] The system then processes the respective sets of one or more motion control tokens for the plurality of time points using the video generation neural network to generate the output video.
[0084]
[0066] When the conditioning input also includes an image, the system processes the image using an encoder neural network, eg., the same encoder neural network as used to process the motion control input or a different encoder neural network, to generate one or more image tokens.
[0085]
[0067] When the conditioning input also includes other data, e.g., text, a time step, and so on,, each of these can also be encoded by a respective encoder to generate a set of one or more tokens and processed along with the motion control tokens and the image tokens to generate the output video.
[0086]
[0068] The video generation neural network then processes these tokens to generate the output video.
[0087]
[0069] In particular, in the example of FIG. 4, the video generation neural network initializes a respective set of one or more latent tokens corresponding to each of the plurality of time points (“noised video tokens” 410) and updates the respective sets of one or more latent tokens at each of a plurality of updating steps.
[0088]
[0070] As part of this updating, at each updating step, the video generation neural network generates a denoising output for the updating step and updates the respective sets of one or more latent tokens using the denoising output for the updating step. To do this, the system processes an input that includes the respective sets of one or more latent tokens and the respective sets of one or more motion control tokens using a first denoising neural network of the video generation neural network to generate a first denoising output for the updating step. The system can also optionally generate one or more additional denoising outputs and combine them with the first output using classifier-free guidance.
[0089]
[0071] In the particular example of FIG. 4, the video generation neural network generates a respective set of one or more combined tokens for each of the plurality of time points by¬ performing the following: for each time point, combining the set of one or more latent tokens for the time point and the set of one or more motion control tokens for the time point (and, when included for any given time point, image tokens) to generate the respective set of combined
[0090] Attorney Docket No. 45288-0662WOI
[0091] tokens for the time point. Combining tokens in this manner will be described in more detail below with reference to FIGS. 6 and 8.
[0092]
[0072] The video generation neural network processes an input that includes the respective sets of combined tokens and, when included, the one or more conditioning tokens for any additional conditioning tokens using the first denoising neural network of the video generation neural network to generate the first denoising output for the updating step.
[0093]
[0073] After updating the respective sets of one or more latent tokens at each of the plurality of updating steps, the video generation neural network generates the output video using the respective sets of one or more latent tokens.
[0094]
[0074] In some implementations, the system utilizes a dimensionality matching layer to align the structural dimensions (e.g., channel depth, sequence length, or spatial resolution) of the motion control tokens with the latent tokens prior to combination (e.g., summation or averaging). The dimensionality matching layer may include, e.g., a linear projection layer, a 1 * 1 convolutional layer, a multi-layer perceptron (MLP), or a pooling layer. For example, the dimensionality matching layer can be integrated as a final projection head of the second encoder neural network. As another example, the dimensionality matching layer is a standalone bridge layer positioned between the output of the second encoder neural network and the input of the first denoising neural network. As yet another example, the dimensionality matching layer is integrated within an input block of the first denoising neural network.
[0095]
[0075] FIG. 5 is a flow diagram of an example process 500 for performing IM2V generation. For convenience, the process 500 will be described as being performed by a system of one or more computers located in one or more locations. For example, a video generation system, e.g., the video generation system 100 of FIG. 1, appropriately programmed in accordance with this specification, can perform the process 500.
[0096]
[0076] The system obtains a request to generate a video (step 502). As described above, for IM2V generation, the request includes a conditioning input that includes (i) an input image depicting a set of one or more objects at respective locations and (ii) respective future trajectory data for each of one or more particular objects in the set that specifies a respective future trajectory' of the particular object starting from the respective location of the object in the input image. The conditioning input can also optionally include additional input(s). For example, theAttorney Docket No. 45288-0662WOI
[0097] conditioning input can include a text prompt, e g., describing certain properties of the generated video.
[0098]
[0077] When the set of one or more objects includes multiple objects, the one or more particular objects can be a proper subset of the set of one or more objects, i.e., the system only makes use of future trajectory data for a proper subset of the objects depicted in the video, or can be all of the objects.
[0099]
[0078] In some cases, the system receives the future trajectory data as input.
[0100]
[0079] In some other cases, the system generates the future trajectory data.
[0101]
[0080] For example, the system can obtain a respective annotation for each of the one or more particular objects that specifies a respective future path for the particular object (step 504).
[0102]
[0081] As described above, the system can receive this annotation in the form of a user input submitted while the input image is displayed on a user device. For example, the respective annotation for each of the one or more particular objects can be an overlaid annotation that depicts the respective future path for the particular object overlaid over the input image. In this example, the system can provide the input image for presentation in a user interface and receive, through the user interface, data representing a user input annotating the input image to generate the respective annotations.
[0103]
[0082] The system then generates the respective future trajectory data for each of the one or more particular objects from the respective annotation (step 506). For example, the annotation data can specify a path for the particular object that is independent of time, and the system can transform the path into a trajectory by associating each of multiple points along the path with a respective time point.
[0104]
[0083] The system processes the conditioning input using a video generation neural network to generate an output video that depicts the one or more particular objects moving along the respective future trajectories for the particular objects (step 508).
[0105]
[0084] The manner in which the video generation neural network incorporates the conditioning input is generally dependent on the architecture of the video generation neural network, as indicated above. One example of how the video generation neural network can process the conditioning input is described below with reference to FIG. 6.
[0106]
[0085] FIG. 6 is a flow diagram of an example process 600 for processing the conditioning input when performing IM2V generation. For convenience, the process 600 will be described as beingAttorney Docket No. 45288-0662WO1
[0107] performed by a system of one or more computers located in one or more locations. For example, a video generation system, e.g., the video generation system 100 of FIG. 1, appropriately programmed in accordance with this specification, can perform the process 600.
[0108]
[0086] The system processes the input image using a first encoder neural network to generate one or more image tokens representing the input image (step 602).
[0109]
[0087] The system generates a respective image representation for each of a plurality of time points in the output video that identifies, for each of the particular objects, a respective location of the particular object at the corresponding time point according to the future trajectory for the particular object (step 604). That is, the system represents the future trajectories of the particular objects as respective images at each of multiple time points in the output video.
[0110]
[0088] For example, the respective image representation for each of the plurality of time points can depict a respective location of a particular point corresponding to each particular object at the corresponding time point according to the future trajectory for the particular object. As a particular example, the particular point can be the center of a region corresponding to the particular object within the input image. The system can identify which regions correspond to which objects by processing the input image using a segmentation neural network.
[0111]
[0089] In some implementations, the system uses absolute locations to identify the particular points. That is, the respective location of the particular point corresponding to each particular object at the corresponding time point is the absolute location of the particular point at the corresponding time point according to the future trajectory for the particular object.
[0112]
[0090] In some other implementations, the system uses relative locations to identify the particular points. That is, the respective location of the particular point corresponding to each particular object at the corresponding time point is the relative location of the particular point at the corresponding time point according to the future trajectory' for the particular object, i.e., relative to an initial location of the particular point in the input image. That is, in these implementations, the relative location shows how' much the particular point has moved from the input image at the corresponding time point.
[0113]
[0091] As a particular example of this, the respective image representation can be a sparse image that depicts pixels corresponding to the particular points for the one or more particular objects with a first color value, e.g., white, and each pixel that does not correspond to any of the particular points for the one or more particular objects with a second, different color value, e.g.,Attorney Docket No. 45288-0662WOI
[0114] black. The image representation is referred to as a sparse image because only a relatively small proportion of the pixels in the image correspond to the particular points, and the remainder of the pixels are all depicted in the second color value. A 'sparse image' may refer to an image representation wherein a substantial majority of the pixels are set to a background or default value (e.g., the second color value). For example, the pixels having the first color value (representing the tracked particular points) may constitute less than 5%, less than 2%, less than 1 %, or less than 0.1% of the total pixel count of the image representation.
[0115]
[0092] The system processes the respective image representation for each of the plurality of time points using a second encoder neural network to generate a respective set of one or more motion control tokens for each of the plurality of time points (step 606). For example, the first and second encoder neural networks can be the same neural network or different neural networks.
[0116]
[0093] The system processes the one or more image tokens representing the input image and the respective sets of one or more motion control tokens for the plurality of time points using the video generation neural network to generate the output video (step 608).
[0117]
[0094] FIG. 7 is a flow diagram of an example process 700 for performing motion to video generation. For convenience, the process 700 will be described as being performed by a system of one or more computers located in one or more locations. For example, a video generation system, e.g., the video generation system 100 of FIG. 1, appropriately programmed in accordance with this specification, can perform the process 700.
[0118]
[0095] The system obtains an input video that includes a respective input video frame at each of a plurality of input time points (step 702).
[0119]
[0096] The system applies a point tracker to the input video to generate a point tracking output for the input video (step 704). The point tracking output identifies, for each of a plurality of query points, a respective location of the query point in each of the plurality of input video frames. For example, the query' points can be a random subset of the pixels in the initial frame in the input video, all of the pixels in the initial frame, pixels located at fixed intervals, e.g., on a grid, within the initial frame, and so on.
[0120]
[0097] For example, the point tracker can be a neural network, e.g., one of the point tracking neural networks referenced above or another appropriate point tracking neural network, so that the system applies the point tracker by processing the input video using the point tracking neural network to generate the point tracking output for the input video. Optionally, the point trackingAttorney Docket No. 45288-0662WOI
[0121] output can also include, for each of the plurality of query points, a respective occlusion score for the query point for each of the plurality of input video frames that represents the likelihood that the query point is occluded in the input video frame.
[0122]
[0098] The system obtains a conditioning input characterizing a target scene (step 706). For example, the conditioning input can include a text prompt that describes the target scene, e.g. a description of one or more objects that are to be present in the generated video. As another example, the conditioning input can include an image of the target scene.
[0123]
[0099] The system processes the point tracking output and the conditioning input using the video generation neural network to generate a video that depicts the target scene with motion defined by the point tracking output for the input video (step 708). For example, the input video can depict a different scene from the target scene, so that the output video depicts motion from the input video but inserted into a different scene.
[0124]
[0100] The manner in which the video generation neural network incorporates the conditioning input is generally dependent on the architecture of the video generation neural network, as indicated above. One example of how the video generation neural network can process the conditioning input is described below with reference to FIG. 8.
[0125]
[0101] FIG. 8 is a flow diagram of an example process 800 for processing the conditioning input when performing motion to video generation. For convenience, the process 800 will be described as being performed by a system of one or more computers located in one or more locations. For example, a video generation system, e.g., the video generation system 100 of FIG. 1, appropriately programmed in accordance with this specification, can perform the process 800.
[0126]
[0102] The system processes the conditioning input using a first encoder neural network to generate one or more conditioning tokens representing the conditioning input (step 802). For example, the first encoder neural network can be a text embedding neural network or an image embedding neural network, depending on the type of conditioning input that is received.
[0127]
[0103] The system generates a respective image representation for each of a plurality of time points in the output video from the point tracking output (step 804). That is, the system represents the point tracking output as respective images at each of multiple time points in the output video.
[0128] Attorney Docket No. 45288-0662WOI
[0129]
[0104] To generate the respective image representation at a given time point, the system generates a respective set of values for each coordinate in the respective image representation, i.e., for each possible (x,y) coordinate within the image representation.
[0130]
[0105] More specifically, each coordinate corresponds to a respective location in an initial input video frame in the input video. Additionally, for the respective image representation for each subsequent time point of the plurality of time points, i.e., for each time point that is after the time point corresponding to the initial video frame, the coordinate has values that define the location of the corresponding location in the input video frame corresponding to the subsequent time point according to the point tracking output for the initial video. That is, the coordinate has values that specify how the corresponding location in the input video frame has moved since the initial input video frame as specified by the point tracking output.
[0131]
[0106] In some cases, the locations are absolute locations.
[0132]
[0107] In some other cases, the locations are relative locations. That is, the locations specified by the values of the coordinates can be relative locations of the corresponding locations in the input video frame corresponding to the subsequent time point according to the point tracking output. In particular, the relative locations can be relative to the corresponding locations in the input video frame corresponding to the initial time point.
[0133]
[0108] When the point tracking output also includes occlusion scores, these can also be represented in the image representations. For example, for each respective image representation, the coordinate can have a value that specifies an occlusion score for the location for the input video frame corresponding to the time point.
[0134]
[0109] To encode these multi-dimensional coordinate and occlusion values into standard tensor formats, the respective image representation for each of the plurality of time points can be structured as a multi-channel tensor (e.g., an RGB or RGB A image tensor). For any given coordinate in the image representation, different dimensions of the coordinate value can be mapped to different channels of the tensor. For example, for a given pixel coordinate, a horizontal displacement or relative coordinate of a point tracked from the initial frame can be stored in a first channel (e.g., the red channel), a vertical displacement or relative coordinate can be stored in a second channel (e.g., the green channel), and the corresponding occlusion score can be stored in a third channel (e.g., the blue channel). Alternatively, the occlusion score may be stored in an alpha channel of a four-channel tensor.
[0135] Attorney Docket No. 45288-0662WOI
[0136]
[0110] The system processes the respective image representation for each of the plurality of time points using a second encoder neural network to generate a respective set of one or more motion control tokens for each of the plurality of time points (step 806). For example, the first and second encoder neural networks can be the same neural network or different neural networks.
[0137]
[0111] The system processes the one or more conditioning tokens representing the conditioning input and the respective sets of one or more motion control tokens for the plurality of time points using the video generation neural network to generate the output video (step 808).
[0138]
[0112] FIG. 9 is a flow diagram of an example process 900 for generating an output video using motion control tokens. For convenience, the process 900 will be described as being performed by a system of one or more computers located in one or more locations. For example, a video generation system, e.g., the video generation system 100 of FIG 1, appropriately programmed in accordance with this specification, can perform the process 900.
[0139]
[0113] The system can perform the process 900 when performing IM2V generation or M2V generation.
[0140]
[0114] The system initializes a respective set of one or more latent tokens corresponding to each of the plurality of time points ( step 902). For example, the system can sample the values in the latent tokens from a noise distribution, e.g., a Gaussian distribution or another appropriate distribution.
[0141]
[0115] The system updates the respective sets of one or more latent tokens at each of a plurality of updating steps using the video generation neural network (step 904).
[0142]
[0116] In particular, at each updating step, the system generates a denoising output for the updating step (step 906).
[0143]
[0117] As part of this, the system processes an input that includes the respective sets of one or more latent tokens and the respective sets of one or more motion control tokens using a first denoising neural network of the video generation neural network to generate a first denoising output for the updating step. For example, the first denoising neural network can be the base latent diffusion model referenced in FIG. 3 or a different denoising neural network,
[0144]
[0118] When performing M2V generation, the input also includes the conditioning tokens.
[0145]
[0119] When performing IM2V generation, the input also includes the image tokens.
[0146]
[0120] In some cases, the system uses the first denoising output as the denoising output. In other cases, the system makes use of classifier-free guidance. That is, the system generates one orAttorney Docket No. 45288-0662WOI
[0147] more additional denoising outputs using the first denoising neural network and then combines the first denoising output and the one or more additional denoising outputs in a sense of guidance weights. Generally, each additional denoising output is generated by processing a corresponding input that includes the respective sets of latent tokens but does not include some of the data in the conditioning input.
[0148]
[0121] For example, the system can generate a respective set of one or more combined tokens for each of the plurality of time points. In this example, for the initial time point of the plurality of time points, the system can combine the set of one or more latent tokens for the initial time point, the set of one or more motion control tokens for the initial time point, and (i) the one or more image tokens or (ii) the one or more conditioning tokens to generate the respective set of combined tokens for the initial time point.
[0149]
[0122] For each subsequent time point of the plurality of time points, the system combines the set of one or more latent tokens for the subsequent time point and the set of one or more motion control tokens for the subsequent time point to generate the respective set of combined tokens for the subsequent time point. That is, the system only uses the image or conditioning tokens for the initial time point.
[0150]
[0123] For example, to combine the different sets of tokens for a given time point, the system can sum or average the sets of tokens for the given time point.
[0151]
[0124] The system then processes an input that includes the respective sets of combined tokens using the first denoising neural network of the video generation neural network to generate the first denoising output for the updating step.
[0152]
[0125] The system updates the respective sets of one or more latent tokens using the denoising output for the updating step (step 908). For example, the system can apply a reverse diffusion update rule or a rectified flow update rule to the denoising output and the latent tokens to generate the update.
[0153]
[0126] After updating the respective sets of one or more latent tokens at each of the plurality of updating steps, the system generates the output video using the respective sets of one or more latent tokens (step 910).
[0154]
[0127] For example, the system can process the respective sets of latent tokens using a decoder neural network to generate the output video.
[0155] Attorney Docket No. 45288-0662WOI
[0156]
[0128] As another example, e.g, when the video generation neural network operates as described above with reference to FIG. 3, the system can further upsample the one or more latent tokens using another neural network. The system can then process the further upsampled latent tokens using a decoder neural network to generate the output video.
[0157]
[0129] Prior to using the video generation neural network to generate videos, the system or another training system trains the video generation neural network to generate videos. For example, the training system can fine-tune a video generation neural network that has been already pre-trained on a large data set of videos to achieve general-purpose video generation capabilities In some cases, during the fine-tuning, the system can train certain components of the video generation neural network while holding others fixed. For example, the system can train the base latent diffusion model while holding the other components fixed. As another example, the system can train one or more of the encoder neural networks while holding the remaining components fixed. As yet another example, the system can train the base latent diffusion model and the encoder that encodes the motion control inputs while holding the other components fixed.
[0158]
[0130] In another example, the system can train the video generation neural network from scratch, e.g., from randomly initialized values of some or all of the components of the neural network. For example, the system can train, from scratch, the denoising neural network and, optionally, one or more of the encoders used to encode the motion control input or the input image, while holding the decoder neural network fixed, i.e., to a pre-trained version of the decoder neural network.
[0159]
[0131] Generally, in either of these examples, the system can train the neural network on one or more training data sets on a denoising objective, e.g., a diffusion objective, a rectified flow objective, or a multi-step consistency objective. When the system is configured to perform 1M2V, the one or more training data sets can include a IM2V data set that includes multiple training examples, with each training example including a respective input image, respective future trajectory data, and a target video that starts from the input image and depicts the objects in the input image moving along the respective future trajectories. The system can generate a training example by extracting, from an existing video, the first image in the video and then extracting the motion of the objects depicted in the first image in subsequent frames. When the system is configured to perform M2V, the training examples can include a respective point
[0160] Attorney Docket No. 45288-0662WOI
[0161] tracking output, a respective conditioning input, and a target video that depicts the scene described by the respective conditioning input with the motion defined by the point tracking outputs. The system can generate a training example by extracting, from an existing video, the first image in the video and then applying a point tracker to the existing video to generate the point tracking output.
[0162]
[0132] In this specification, the term “configured” is used in relation to computing systems and environments, as well as computer program components. A computing system or environment is considered “configured” to perform specific operations or actions when it possesses the necessary software, firmware, hardware, or a combination thereof, enabling it to carry out those operations or actions during operation. For instance, configuring a system might involve installing a software library with specific algorithms, updating firmware with new instructions for handling data, or adding a hardware component for enhanced processing capabilities
[0163] Similarly, one or more computer programs are “configured” to perform particular operations or actions when they contain instructions that, upon execution by a computing device or hardware, cause the device to perform those intended operations or actions.
[0164]
[0133] The embodiments and functional operations described in this specification can be implemented in various forms, including digital electronic circuitry, software, firmware, computer hardware (encompassing the disclosed structures and their structural equivalents), or any combination thereof. The subject matter can be realized as one or more computer programs, essentially modules of computer program instructions encoded on a tangible non-transitory storage medium for execution by or to control the operation of a computing device or hardware. The storage medium can be a storage device such as a hard drive or solid-state drive (SSD), a storage medium, a random or serial access memory device, or a combination of these.
[0165] Additionally or alternatively, the program instructions can be encoded on a transmitted signal, such as a machine-generated electrical, optical, or electromagnetic signal, designed to carry information for transmission to a receiving device or system for execution by a computing device or hardware. Furthermore, implementations may leverage emerging technologies like quantum computing or neuromorphic computing for specific applications, and may be deployed in distributed or cloud-based environments where components reside on different machines or within a cloud infrastructure.
[0166] Attorney Docket No. 45288-0662WOI
[0167]
[0134] The term “computing device or hardware” refers to the physical components involved in data processing and encompasses all types of devices and machines used for this purpose.
[0168] Examples include processors or processing units, computers, multiple processors or computers working together, graphics processing units (GPUs), tensor processing units (TPUs), and specialized processing hardware such as field-programmable gate arrays (FPGAs) or application¬ specific integrated circuits (ASICs). In addition to hardware, a computing device or hardware may also include code that creates an execution environment for computer programs. This code can take the form of processor firmware, a protocol stack, a database management system, an operating system, or a combination of these elements. Embodiments may particularly benefit from utilizing the parallel processing capabilities of GPUs, in a General-Purpose computing on Graphics Processing Units (GPGPU) context, where code specifically designed for GPU execution, often called kernels or shaders, is employed Similarly, TPUs excel at running optimized tensor operations crucial for many machine learning algorithms. By leveraging these accelerators and their specialized programming models, the system can achieve significant speedups and efficiency gains for tasks involving artificial intelligence and machine learning, particularly in areas such as computer vision, natural language processing, and robotics.
[0169]
[0135] A computer program, also referred to as software, an application, a module, a script, code, or simply a program, can be written in any programming language, including compiled or interpreted languages, and declarative or procedural languages. It can be deployed in various forms, such as a standalone program, a module, a component, a subroutine, or any other unit suitable for use within a computing environment. A program may or may not correspond to a single file in a file system and can be stored in various ways. This includes being embedded within a file containing other programs or data (e.g., scripts within a markup language document), residing in a dedicated file, or distributed across multiple coordinated files (e.g., files storing modules, subprograms, or code segments) A computer program can be executed on a single computer or across multiple computers, whether located at a single site or distributed across multiple sites and interconnected through a data communication network. The specific implementation of the computer programs may involve a combination of traditional programming languages and specialized languages or libraries designed for GPU programming or TPU utilization, depending on the chosen hardware platform and desired performance characteristics.
[0170] Attorney Docket No. 45288-0662WO1
[0171]
[0136] In this specification, the term “engine” broadly refers to a software-based system, subsystem, or process designed to perform one or more specific functions. An engine is typically implemented as one or more software modules or components installed on one or more computers, which can be located at a single site or distributed across multiple locations. In some instances, one or more dedicated computers may be used for a particular engine, while in other cases, multiple engines may operate concurrently on the same one or more computers. Examples of engine functions within the context of Al and machine learning could include data preprocessing and cleaning, feature engineering and extraction, model training and optimization, inference and prediction generation, and post-processing of results. The specific design and implementation of engines will depend on the overall architecture and the distribution of computational tasks across various hardware components, including CPUs, GPUs, TPUs, and other specialized processors.
[0172]
[0137] The processes and logic flows described in this specification can be executed by one or more programmable computers running one or more computer programs to perform functions by operating on input data and generating output. Additionally, graphics processing units (GPUs) and tensor processing units (TPUs) can be utilized to enable concurrent execution of aspects of these processes and logic flows, significantly accelerating performance. This approach offers significant advantages for computationally intensive tasks often found in Al and machine learning applications, such as matrix multiplications, convolutions, and other operations that exhibit a high degree of parallelism. By leveraging the parallel processing capabilities of GPUs and TPUs, significant speedups and efficiency gains compared to relying solely on CPUs can be achieved. Alternatively or in combination with programmable computers and specialized processors, these processes and logic flows can also be implemented using specialized processing hardware, such as field-programmable gate arrays (FPGAs) or application-specific integrated circuits (ASICs), for even greater performance or energy efficiency in specific use cases.
[0173]
[0138] Computers capable of executing a computer program can be based on general-purpose microprocessors, special-purpose microprocessors, or a combination of both. They can also utilize any other type of central processing unit (CPU). Additionally, graphics processing units (GPUs), tensor processing units (TPUs), and other machine learning accelerators can be employed to enhance performance, particularly for tasks involving artificial intelligence andAttorney Docket No. 45288-0662WOI
[0174] machine learning. These accelerators often work in conjunction with CPUs, handling specialized computations while the CPU manages overall system operations and other tasks. Typically, a CPU receives instructions and data from read-only memory (ROM), random access memory (RAM), or both. The essential elements of a computer include a CPU for executing instructions and one or more memory devices for storing instructions and data. The specific configuration of processing units and memory will depend on factors like the complexity of the Al model, the volume of data being processed, and the desired performance and latency requirements.
[0175] Embodiments can be implemented on a wide range of computing platforms, from small embedded devices with limited resources to large-scale data center systems with high-performance computing capabilities. The system may include storage devices like hard drives, SSDs, or flash memory for persistent data storage.
[0176]
[0139] Computer-readable media suitable for storing computer program instructions and data encompass all forms of non-volatile memory', media, and memory devices. Examples include semiconductor memory devices such as read-only memory (ROM), solid-state drives (SSDs), and flash memory devices; hard disk drives (HDDs); optical media; and optical discs such as CDs, DVDs, and Blu-ray discs. The specific type of computer-readable media used will depend on factors such as the size of the data, access speed requirements, cost considerations, and the desired level of portability or permanence.
[0177]
[0140] To facilitate user interaction, embodiments of the subject matter described in this specification can be implemented on a computing device equipped with a display device, such as a liquid crystal display (LCD) or an organic light-emitting diode (OLED) display, for presenting information to the user. Input can be provided by the user through various means, including a keyboard,, touchscreens, voice commands, gesture recognition, or other input modalities depending on the specific device and application. Additional input methods can include acoustic, speech, or tactile input, while feedback to the user can take the form of visual, auditory, or tactile feedback. Furthermore, computers can interact with users by exchanging documents with a user's device or application. This can involve sending web content or data in response to requests or sending and receiving text messages or other forms of messages through mobile devices or messaging platforms. The selection of input and output modalities will depend on the specific application and the desired form of user interaction.
[0178] Attorney Docket No. 45288-0662WOI
[0179] [1411 Machine learning models can be implemented and deployed using machine learning frameworks, such as TensorFlow or JAX, These frameworks offer comprehensive tools and libraries that facilitate the development, training, and deployment of machine learning models.
[0180]
[0142] Embodiments of the subject matter described in this specification can be implemented within a computing system comprising one or more components, depending on the specific application and requirements. These may include a back-end component, such as a back-end server or cloud-based infrastructure; an optional middleware component, such as a middleware server or application programming interface (API), to facilitate communication and data exchange; and a front-end component, such as a client device with a user interface, a web browser, or an app, through which a user can interact with the implemented subject matter. For instance, the described functionality could be implemented solely on a client device (e.g., for on-device machine learning) or deployed as a combination of front-end and back-end components for more complex applications. These components, when present, can be interconnected using any form or medium of digital data communication, such as a communication network like a local area network (LAN) or a wide area network (WAN) including the Internet. The specific system architecture and choice of components will depend on factors such as the scale of the application, the need for real-time processing, data security requirements, and the desired user experience.
[0181]
[0143] The computing system can include clients and servers that may be geographically separated and interact through a communication network. The specific type of network, such as a local area network (LAN ), a wide area network (WAN), or the Internet, will depend on the reach and scale of the application. The client-server relationship is established through computer programs running on the respective computers and designed to communicate wdth each other using appropriate protocols. These protocols may include HTTP, TCP / IP, or other specialized protocols depending on the nature of the data being exchanged and the security requirements of the system. In certain embodiments, a server transmits data or instructions to a user's device, such as a computer, smartphone, or tablet, acting as a client. The client device can then process the received information, display results to the user, and potentially send data or feedback back to the server for further processing or storage. This allows for dynamic interactions between the user and the system, enabling a wide range of applications and functionalities.
[0182] Attorney Docket No. 45288-0662WOI
[0183]
[0144] While this specification contains many specific implementation details, these should not be construed as limitations on the scope of any invention or on the scope of what may be claimed, but rather as descriptions of features that may be specific to particular embodiments of particular inventions. Certain features that are described in this specification in the context of separate embodiments can also be implemented in combination in a single embodiment.
[0184] Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination. Moreover, although features may be described above as acting in certain combinations and even initially be claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.
[0185] 1145] Similarly, while operations are depicted in the drawings and recited in the claims in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous. Moreover, the separation of various system modules and components in the embodiments described above should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
[0186]
[0146] Particular embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. For example, the actions recited in the claims can be performed in a different order and still achieve desirable results. As one example, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some cases, multitasking and parallel processing may be advantageous.
[0187] Clause 1. A method performed by one or more computers, the method comprising:
[0188] obtaining a request to generate a video, the request comprising a conditioning input that comprises:
[0189] (i) an input image depicting a set of one or more objects at respective locations, and
[0190] Attorney Docket No. 45288-0662WO1
[0191] (ii) respective future trajectory' data for each of one or more particular objects in the set that specifies a respective future trajectory of the particular object starting from the respective location of the object in the input image; and
[0192] processing the conditioning input using a video generation neural network to generate an output video that depicts the one or more particular objects moving along the respective future trajectories for the particular objects.
[0193] Clause 2. The method of clause 1, wherein the conditioning input further comprises one or more additional inputs.
[0194] Clause 3. The method of clause 2, wherein the one or more additional inputs comprise a text prompt.
[0195] Clause 4. The method of any preceding clause, wherein obtaining a request to generate a video comprises:
[0196] obtaining a respective annotation for each of the one or more particular objects that specifies a respective future path for the particular object; and
[0197] generating the respective future trajectory data for each of the one or more particular objects from the respective annotation.
[0198] Clause 5. The method of clause 4, wherein the respective annotation for each of the one or more particular objects is an overlaid annotation that depicts the respective future path for the particular object overlaid over the input image.
[0199] Clause 6 The method of clause 5, wherein obtaining the request further comprises:
[0200] providing the input image for presentation in a user interface; and
[0201] receiving data representing a user input annotating the input image to generate the respective annotations.
[0202] Clause 7. The method of any preceding clause, wherein processing the conditioning input using the video generation neural network to generate the output video comprises:
[0203] processing the input image using a first encoder neural network to generate one or more image tokens representing the input image,
[0204] generating a respective image representation for each of a plurality of time points in the output video that identifies, for each of the particular objects, a respective location of the particular object at the corresponding time point according to the future trajectory for the particular object;
[0205] Attorney Docket No. 45288-0662WO1
[0206] processing the respective image representation for each of the plurality of time points using a second encoder neural network to generate a respective set of one or more motion control tokens for each of the plurality of time points; and
[0207] processing the one or more image tokens representing the input image and the respective sets of one or more motion control tokens for the plurality of time points using the video generation neural network to generate the output video.
[0208] Clause 8. The method of clause 7, wherein the first encoder neural network and the second encoder neural network are the same neural network.
[0209] Clause 9. The method of clause 7 or clause 8, wherein the respective image representation for each of the plurality of time points depicts a respective location of a particular point corresponding to each particular object at the corresponding time point according to the future trajectory for the particular object.
[0210] Clause 10. The method of clause 9, wherein the particular point is a center of a respective region corresponding to the particular object within the input image.
[0211] Clause 11. The method of clause 10, further comprising:
[0212] generating the respective regions corresponding to each of the particular objects by¬ processing the input image using a segmentation neural network.
[0213] Clause 12. The method of any one of clauses 9-11, wherein the respective image representation is a sparse image that depicts pixels corresponding to the particular points for the one or more particular objects with a first color value and each pixel that does not correspond to any of the particular points for the one or more particular objects with a second, different color value.
[0214] Clause 13. The method of any one of clauses 7-12, wherein processing the one or more image tokens representing the input image and the respective sets of one or more motion control tokens for the plurality of time points using the video generation neural network to generate the output video comprises:
[0215] initializing a respective set of one or more latent tokens corresponding to each of the plurality of time points; and
[0216] updating the respective sets of one or more latent tokens at each of a plurality of updating steps, the updating comprising, at each updating step:
[0217] Attorney Docket No. 45288-0662WO1
[0218] generating a denoising output for the updating step, comprising processing an input comprising the respective sets of one or more latent tokens, the one or more image tokens, and the respective sets of one or more motion control tokens using a first denoising neural network of the video generation neural network to generate a first denoising output for the updating step; and
[0219] updating the respective sets of one or more latent tokens using the denoising output for the updating step; and
[0220] after updating the respective sets of one or more latent tokens at each of the plurality of updating steps, generating the output video using the respective sets of one or more latent tokens Clause 14. The method of clause 13, wherein processing an input comprising the respective sets of one or more latent tokens, the one or more image tokens, and the respective sets of one or more motion control tokens using a first denoising neural network of the video generation neural network to generate a first denoising output comprises:
[0221] generating a respective set of one or more combined tokens for each of the plurality of time points, comprising:
[0222] for an initial time point of the plurality of time points, combining the one or more image tokens, the set of one or more latent tokens for the initial time point, and the set of one or more motion control tokens for the initial time point to generate the respective set of combined tokens for the initial time point; and
[0223] for each subsequent time point of the plurality of time points, combining the set of one or more latent tokens for the subsequent time point and the set of one or more motion control tokens for the subsequent time point to generate the respective set of combined tokens for the subsequent time point; and
[0224] processing an input that comprises the respective sets of combined tokens using the first denoising neural network of the video generation neural network to generate the first denoising output for the updating step.
[0225] Clause 15. The method of clause 14, wherein combining the one or more image tokens, the set of one or more latent tokens for the initial time point, and the set of one or more motion control tokens for the initial time point to generate the respective set of combined tokens for the initial time point comprises:
[0226] Attorney Docket No. 45288-0662WO1
[0227] summing each of the set of one or more latent tokens for the initial time point with a corresponding one of the set of one or more motion control tokens for the initial time point and a corresponding one of the one or more image tokens, and wherein combining the set of one or more latent tokens for the subsequent time point and the set of one or more motion control tokens for the subsequent time point to generate the respective set of combined tokens for the subsequent time point comprises:
[0228] summing each of the set of one or more latent tokens for the subsequent time point with a corresponding one of the set of one or more motion control tokens for the subsequent time point. Clause 16. The method of any one of clauses 13-15, wherein initializing a respective set of one or more latent tokens corresponding to each of the plurality of time points comprises sampling values in each of the respective sets of one or more latent tokens from a noise distribution.
[0229] Clause 17. The method of any one of clauses 13-16, wherein generating the output video using the respective sets of one or more latent tokens comprises:
[0230] generating, from the respective sets of one or more latent tokens, a respective set of one or more additional latent tokens for each of a plurality of second time points, and
[0231] generating the output video from the respective sets of one or more additional latent tokens for each of the plurality of second time points.
[0232] Clause 18. A method performed by one or more computers, the method comprising:
[0233] obtaining an input video comprising a respective input video frame at each of a plurality of input time points;
[0234] applying a point tracker to the input video to generate a point tracking output for the input video, wherein the point tracking output identifies, for each of a plurality of query points, a respective location of the query' point in each of the plurality of input video frames;
[0235] obtaining a conditioning input characterizing a target scene; and
[0236] processing the point tracking output and the conditioning input using a video generation neural network to generate a video that depicts the target scene with motion defined by the point tracking output for the input video.
[0237] Clause 19. The method of clause 18, wherein the input video depicts a different scene from the target scene.
[0238] Attorney Docket No. 45288-0662WO1
[0239] Clause 20 The method of clause 18 or clause 19, wherein the conditioning input comprises a text prompt that describes the target scene
[0240] Clause 21. The method of any one of clauses 18-20, wherein the conditioning input comprises an image of the target scene.
[0241] Clause 22. The method of any one of clauses 18-21, wherein applying a point tracker to the input video to generate a point tracking output for the input video comprises:
[0242] processing the input video using a point tracking neural network to generate the point tracking output for the input video.
[0243] Clause 23. The method of any one of clauses 18-22, wherein the point tracking output for the input video further comprises, for each of the plurality of query points, a respective occlusion score for the query point for each of the plurality of input video frames that represents a likelihood that the query point is occluded in the input video frame.
[0244] Clause 24. The method of any one of clauses 18-23, wherein processing the point tracking output and the conditioning input using the video generation neural network to generate the output video comprises:
[0245] processing the conditioning input using a first encoder neural network to generate one or more conditioning tokens representing the conditioning input;
[0246] generating a respective image representation for each of a plurality of time points in the output video from the point tracking output;
[0247] processing the respective image representation for each of the plurality of time points using a second encoder neural network to generate a respective set of one or more motion control tokens for each of the plurality of time points; and
[0248] processing the one or more conditioning tokens and the respective sets of one or more motion control tokens for the plurality of time points using the video generation neural network to generate the output video.
[0249] Clause 25. The method of clause 24, wherein, for each coordinate in the respective image representations:
[0250] the coordinate corresponds to a respective location in an initial input video frame in the input video, and
[0251] for the respective image representation for each subsequent time point of the plurality of time points, the coordinate has values that define a location of the corresponding location in theAttorney Docket No. 45288-0662WO1input video frame corresponding to the subsequent time point according to the point tracking output for the initial video.
[0252] Clause 26. The method of clause 25, when dependent on clause 23, wherein, for each coordinate in the respective image representations:
[0253] for each respective image representation, the coordinate has a value that specifies an occlusion score for the location for the input video frame corresponding to the time point.
[0254] Clause 27. The method of any one of clauses 24-26, wherein processing the one or more conditioning tokens and the respective sets of one or more motion control tokens for the plurality of time points using the video generation neural network to generate the output video comprises:
[0255] initializing a respective set of one or more latent tokens corresponding to each of the plurality of time points; and
[0256] updating the respective sets of one or more latent tokens at each of a plurality of updating steps, the updating comprising, at each updating step:
[0257] generating a denoising output for the updating step, comprising processing an input comprising the respective sets of one or more latent tokens, the one or more conditioning tokens, and the respective sets of one or more motion control tokens using a first denoising neural network of the video generation neural network to generate a first denoising output for the updating step; and
[0258] updating the respective sets of one or more latent tokens using the denoising output for the updating step; and
[0259] after updating the respective sets of one or more latent tokens at each of the plurality of updating steps, generating the output video using the respective sets of one or more latent tokens. Clause 28. The method of clause 27, wherein processing an input comprising the respective sets of one or more latent tokens, the one or more conditioning tokens, and the respective sets of one or more motion control tokens using a first denoising neural network of the video generation neural network to generate a first denoising output comprises:
[0260] generating a respective set of one or more combined tokens for each of the plurality of time points, comprising:
[0261] for each time point, combining the set of one or more latent tokens for the time point and the set of one or more motion control tokens for the time point to generate the respective set of combined tokens for the time point; and
[0262] Attorney Docket No. 45288-0662WO1
[0263] processing an input that comprises the respective sets of combined tokens and the one or more conditioning tokens using the first denoising neural network of the video generation neural network to generate the first denoising output for the updating step.
[0264] Clause 29. The method of clause 28, wherein combining the set of one or more latent tokens for the time point and the set of one or more motion control tokens for the time point to generate the respective set of combined tokens for the time point comprises:
[0265] summing each of the set of one or more latent tokens for the time point with a corresponding one of the set of one or more motion control tokens for the time point.
[0266] Clause 30. The method of any one of clauses 27-29, wherein initializing a respective set of one or more latent tokens corresponding to each of the plurality of time points comprises sampling values in each of the respective sets of one or more latent tokens from a noise distribution.
[0267] Clause 31. The method of any one of clauses 27-30, wherein generating the output video using the respective sets of one or more latent tokens comprises:
[0268] generating, from respective sets of one or more latent tokens, a respective set of one or more additional latent tokens for each of a plurality of second time points; and
[0269] generating the output video from the respective sets of one or more additional latent tokens for each of the plurality of second time points.
[0270] Clause 32. The method of any one of clauses 1-17, wherein the set of one or more objects comprises a plurality of objects and wherein the one or more particular objects are a proper subset of the set of one or more objects.
[0271] Clause 33. The method of any preceding clause, wherein the video generation neural network is a denoising neural network.
[0272] Clause 34. The method of any one of clauses 1-32, wherein the video generation neural network is a multistep consistency generative neural network.
[0273] Clause 35. The method of any one of clauses 1-32, wherein the video generation neural network is a rectified flow generative neural network.
[0274] Clause 36. The method of any preceding clause, when dependent on clause 25, wherein, for the respective image representation for each subsequent time point of the plurality of time points, the locations specified by the values of the coordinates are relative locations of the correspondingAttorney Docket No. 45288-0662WO1
[0275] locations in the input video frame corresponding to the subsequent time point according to the point tracking output.
[0276] Clause 37. The method of clause 36, wherein the relative locations are relative to the corresponding locations in the input video frame corresponding to the initial time point.
[0277] Clause 38. The method of any preceding clause, when dependent on clause 24, wherein the second encoder neural network is a same encoder neural network that is used to encode input images for processing by the video generation neural network.
[0278] Clause 39. The method of any preceding clause, when dependent on clause 9, wherein the respective location of the particular point corresponding to each particular object at the corresponding time point is an absolute location of the particular point at the corresponding time point according to the future trajectory for the particular object.
[0279] Clause 40 The method of any one of clauses 1-38, when dependent on clause 9, wherein the respective location of the particular point corresponding to each particular object at the corresponding time point is a relative location of the particular point at the corresponding time point according to the future trajectory for the particular object relative to an initial location of the particular point in the input image.
[0280] Clause 41. A system comprising:
[0281] one or more computers; and
[0282] one or more storage devices communicatively coupled to the one or more computers, wherein the one or more storage devices store instructions that, when executed by the one or more computers, cause the one or more computers to perform the operations of the respective method of any one of clauses 1-40.
[0283] Clause 42. One or more non-transitory computer storage media storing instructions that when executed by one or more computers cause the one or more computers to perform the operations of the respective method of any one of clauses 1-40.
[0284]
[0147] What is claimed is:
Claims
Attorney Docket No. 45288-0662WO1CLAIMS1. A method performed by one or more computers, the method comprising:obtaining a request to generate a video, the request comprising a conditioning input that comprises:(i) an input image depicting a set of one or more objects at respective locations, and(ii) respective future trajectory data for each of one or more particular objects in the set that specifies a respective future trajectory of the particular object starting from the respective location of the object in the input image; andprocessing the conditioning input using a video generation neural network to generate an output video that depicts the one or more particular objects moving along the respective future trajectories for the particular objects.
2. The method of claim 1, wherein the conditioning input further comprises one or more additional inputs.
3. The method of claim 2, wherein the one or more additional inputs comprise a text prompt.
4. The method of any preceding claim, wherein obtaining a request to generate a video comprises:obtaining a respective annotation for each of the one or more particular objects that specifies a respective future path for the particular object; andgenerating the respective future trajectory data for each of the one or more particular objects from the respective annotation.
5. The method of claim 4, wherein the respective annotation for each of the one or more particular objects is an overlaid annotation that depicts the respective future path for the particular object overlaid over the input image.Attorney Docket No. 45288-0662WO16. The method of claim 5, wherein obtaining the request further comprises:providing the input image for presentation in a user interface, andreceiving data representing a user input annotating the input image to generate the respective annotations.
7. The method of any preceding claim, wherein processing the conditioning input using the video generation neural network to generate the output video comprises:processing the input image using a first encoder neural network to generate one or more image tokens representing the input image;generating a respective image representation for each of a plurality of time points in the output video that identifies, for each of the particular objects, a respective location of the particular object at the corresponding time point according to the future trajectory for the particular object;processing the respective image representation for each of the plurality of time points using a second encoder neural network to generate a respective set of one or more motion control tokens for each of the plurality of time points; andprocessing the one or more image tokens representing the input image and the respective sets of one or more motion control tokens for the plurality of time points using the video generation neural network to generate the output video.
8. The method of claim 7, wherein the first encoder neural network and the second encoder neural network are the same neural network.
9. The method of claim 7 or claim 8, wherein the respective image representation for each of the plurality of time points depicts a respective location of a particular point corresponding to each particular object at the corresponding time point according to the future trajectory for the particular object.
10. The method of claim 9, wherein the particular point is a center of a respective region corresponding to the particular object within the input image.Attorney Docket No. 45288-0662WO111 The method of claim 10, further comprising:generating the respective regions corresponding to each of the particular objects by processing the input image using a segmentation neural network.
12. The method of any one of claims 9-11, wherein the respective image representation is a sparse image that depicts pixels corresponding to the particular points for the one or more particular objects with a first color value and each pixel that does not correspond to any of the particular points for the one or more particular objects with a second, different color value.
13. The method of any one of claims 7-12, wherein processing the one or more image tokens representing the input image and the respective sets of one or more motion control tokens for the plurality of time points using the video generation neural network to generate the output video comprises:initializing a respective set of one or more latent tokens corresponding to each of the plurality of time points; andupdating the respective sets of one or more latent tokens at each of a plurality of updating steps, the updating comprising, at each updating step:generating a denoising output for the updating step, comprising processing an input comprising the respective sets of one or more latent tokens, the one or more image tokens, and the respective sets of one or more motion control tokens using a first denoising neural network of the video generation neural network to generate a first denoising output for the updating step; andupdating the respective sets of one or more latent tokens using the denoising output for the updating step; andafter updating the respective sets of one or more latent tokens at each of the plurality of updating steps, generating the output video using the respective sets of one or more latent tokens.Attorney Docket No. 45288-0662WO114 The method of claim 13, wherein processing an input comprising the respective sets of one or more latent tokens, the one or more image tokens, and the respective sets of one or more motion control tokens using a first denoising neural network of the video generation neural network to generate a first denoising output comprises:generating a respective set of one or more combined tokens for each of the plurality of time points, comprising:for an initial time point of the plurality of time points, combining the one or more image tokens, the set of one or more latent tokens for the initial time point, and the set of one or more motion control tokens for the initial time point to generate the respective set of combined tokens for the initial time point; andfor each subsequent time point of the plurality of time points, combining the set of one or more latent tokens for the subsequent time point and the set of one or more motion control tokens for the subsequent time point to generate the respective set of combined tokens for the subsequent time point; andprocessing an input that comprises the respective sets of combined tokens using the first denoising neural network of the video generation neural network to generate the first denoising output for the updating step.
15. The method of claim 14, wherein combining the one or more image tokens, the set of one or more latent tokens for the initial time point, and the set of one or more motion control tokens for the initial time point to generate the respective set of combined tokens for the initial time point comprises:summing each of the set of one or more latent tokens for the initial time point with a corresponding one of the set of one or more motion control tokens for the initial time point and a corresponding one of the one or more image tokens, and wherein combining the set of one or more latent tokens for the subsequent time point and the set of one or more motion control tokens for the subsequent time point to generate the respective set of combined tokens for the subsequent time point comprises:summing each of the set of one or more latent tokens for the subsequent time point with a corresponding one of the set of one or more motion control tokens for the subsequent time point.Attorney Docket No. 45288-0662WO116 The method of any one of claims 13-15, wherein initializing a respective set of one or more latent tokens corresponding to each of the plurality of time points comprises sampling values in each of the respective sets of one or more latent tokens from a noise distribution.
17. The method of any one of claims 13-16, wherein generating the output video using the respective sets of one or more latent tokens comprises:generating, from the respective sets of one or more latent tokens, a respective set of one or more additional latent tokens for each of a plurality of second time points, andgenerating the output video from the respective sets of one or more additional latent tokens for each of the plurality of second time points.
18. A method performed by one or more computers, the method comprising:obtaining an input video comprising a respective input video frame at each of a plurality of input time points;applying a point tracker to the input video to generate a point tracking output for the input video, wherein the point tracking output identifies, for each of a plurality of query points, a respective location of the query point in each of the plurality of input video frames;obtaining a conditioning input characterizing a target scene; andprocessing the point tracking output and the conditioning input using a video generation neural network to generate a video that depicts the target scene with motion defined by the point tracking output for the input video.
19. The method of claim 18, wherein the input video depicts a different scene from the target scene.
20. The method of claim 18 or claim 19, wherein the conditioning input comprises a text prompt that describes the target scene.
21. The method of any one of claims 18-20, wherein the conditioning input comprises an image of the target scene.Attorney Docket No. 45288-0662WO122 The method of any one of claims 18-21, wherein applying a point tracker to the input video to generate a point tracking output for the input video comprises:processing the input video using a point tracking neural network to generate the point tracking output for the input video.
23. The method of any one of claims 18-22, wherein the point tracking output for the input video further comprises, for each of the plurality of query points, a respective occlusion score for the query point for each of the plurality of input video frames that represents a likelihood that the query point is occluded in the input video frame.
24. The method of any one of claims 18-23, wherein processing the point tracking output and the conditioning input using the video generation neural network to generate the output video comprises:processing the conditioning input using a first encoder neural network to generate one or more conditioning tokens representing the conditioning input;generating a respective image representation for each of a plurality of time points in the output video from the point tracking output;processing the respective image representation for each of the plurality of time points using a second encoder neural network to generate a respective set of one or more motion control tokens for each of the plurality of time points; andprocessing the one or more conditioning tokens and the respective sets of one or more motion control tokens for the plurality of time points using the video generation neural network to generate the output video.
25. The method of claim 24, wherein, for each coordinate in the respective image representations:the coordinate corresponds to a respective location in an initial input video frame in the input video, andfor the respective image representation for each subsequent time point of the plurality of time points, the coordinate has values that define a location of the corresponding location in the input video frame corresponding to the subsequent time point according to the point tracking output for the initial video.Attorney Docket No. 45288-0662WO126 The method of claim 25, when dependent on claim 23, wherein, for each coordinate in the respective image representations:for each respective image representation, the coordinate has a value that specifies an occlusion score for the location for the input video frame corresponding to the time point.
27. The method of any one of claims 24-26, wherein processing the one or more conditioning tokens and the respective sets of one or more motion control tokens for the plurality of time points using the video generation neural network to generate the output video comprises:initializing a respective set of one or more latent tokens corresponding to each of the plurality of time points; andupdating the respective sets of one or more latent tokens at each of a plurality of updating steps, the updating comprising, at each updating step:generating a denoising output for the updating step, comprising processing an input comprising the respective sets of one or more latent tokens, the one or more conditioning tokens, and the respective sets of one or more motion control tokens using a first denoising neural network of the video generation neural network to generate a first denoising output for the updating step; andupdating the respective sets of one or more latent tokens using the denoising output for the updating step; andafter updating the respective sets of one or more latent tokens at each of the plurality of updating steps, generating the output video using the respective sets of one or more latent tokens.Attorney Docket No. 45288-0662WO128 The method of claim 27, wherein processing an input comprising the respective sets of one or more latent tokens, the one or more conditioning tokens, and the respective sets of one or more motion control tokens using a first denoising neural network of the video generation neural network to generate a first denoising output comprises:generating a respective set of one or more combined tokens for each of the plurality of time points, comprising:for each time point, combining the set of one or more latent tokens for the time point and the set of one or more motion control tokens for the time point to generate the respective set of combined tokens for the time point; andprocessing an input that comprises the respective sets of combined tokens and the one or more conditioning tokens using the first denoising neural network of the video generation neural network to generate the first denoising output for the updating step29. The method of claim 28, wherein combining the set of one or more latent tokens for the time point and the set of one or more motion control tokens for the time point to generate the respective set of combined tokens for the time point comprises:summing each of the set of one or more latent tokens for the time point with a corresponding one of the set of one or more motion control tokens for the time point.
30. The method of any one of claims 27-29, wherein initializing a respective set of one or more latent tokens corresponding to each of the plurality of time points comprises sampling values in each of the respective sets of one or more latent tokens from a noise distribution.
31. The method of any one of claims 27-30, wherein generating the output video using the respective sets of one or more latent tokens comprises:generating, from respective sets of one or more latent tokens, a respective set of one or more additional latent tokens for each of a plurality of second time points; andgenerating the output video from the respective sets of one or more additional latent tokens for each of the plurality of second time points.
32. The method of any one of claims 1-17, wherein the set of one or more objects comprises a plurality of objects and wherein the one or more particular objects are a proper subset of the set of one or more objects.Attorney Docket No. 45288-0662WO133 The method of any preceding claim, wherein the video generation neural network is a denoising neural network.
34. The method of any one of claims 1-32, wherein the video generation neural network is a multi step consistency generative neural network.
35. The method of any one of claims 1-32, wherein the video generation neural network is a rectified flow generative neural network.
36. The method of any preceding claim, when dependent on claim 25, wherein, for the respective image representation for each subsequent time point of the plurality of time points, the locations specified by the values of the coordinates are relative locations of the corresponding locations in the input video frame corresponding to the subsequent time point according to the point tracking output.
37. The method of claim 36, wherein the relative locations are relative to the corresponding locations in the input video frame corresponding to the initial time point.
38. The method of any preceding claim, when dependent on claim 24, wherein the second encoder neural network is a same encoder neural network that is used to encode input images for processing by the video generation neural network.
39. The method of any preceding claim, when dependent on claim 9, wherein the respective location of the particular point corresponding to each particular object at the corresponding time point is an absolute location of the particular point at the corresponding time point according to the future trajectory for the particular object.40 The method of any one of claims 1-38, when dependent on claim 9, wherein the respective location of the particular point corresponding to each particular object at the corresponding time point is a relative location of the particular point at the corresponding time point according to the future trajectory for the particular object relative to an initial location of the particular point in the input image.Attorney Docket No. 45288-0662WO141 A system comprising:one or more computers; andone or more storage devices communicatively coupled to the one or more computers, wherein the one or more storage devices store instructions that, when executed by the one or more computers, cause the one or more computers to perform the operations of the respective method of any one of claims 1-40.
42. One or more non -transitory computer storage media storing instructions that when executed by one or more computers cause the one or more computers to perform the operations of the respective method of any one of claims 1-40.
