SuperAPI AI Directory

Follow-Your-Click - An open-source image-to-video model by Tencent and others, capable of generating local animations

Author: AI小集 · Original source: AI工具集

What is Follow-Your-Click

Follow-Your-Click is an image-to-video (I2V) generation model jointly developed by researchers from Tencent (Hunyuan Team), Tsinghua University, and the Hong Kong University of Science and Technology. It allows users to generate local image animations through simple clicks and short action prompts, thereby converting static images into dynamic videos. The model aims to address the fact that most existing image-to-video methods do not have the capability for local animation and can only move the entire scene.

Follow Your Click

Follow-Your-Click Official Website Entry

Main Features of Follow-Your-Click

  • Simple and friendly interaction: Follow-Your-Click provides an intuitive user control interface. Users can specify the animation area through simple clicks and define the animation type and action through short prompts.
  • Local animation generation: Users can click on specific areas in the image to make these areas produce animation effects. That is, users can select any part of the image and add dynamic effects to it, such as making an object smile, sway, or move.
  • Multi-object animation: The model supports simultaneous animation processing of multiple objects in the image, allowing users to create richer and more complex dynamic scenes.
  • Short action prompts: Users only need to provide a short action description, and the model can understand and generate the corresponding animation effect. This simplifies the animation production process, so users do not need to perform complex operations or provide lengthy descriptions.
  • High-quality video generation: The model adopts advanced technical strategies, such as the first-frame masking strategy and optical flow-based motion amplitude control, to ensure that the generated videos have high quality and realism.
  • Motion speed control: The model also allows users to control the motion speed of animated objects, meeting different animation needs through precise control.

How Follow-Your-Click Works

  1. User interaction:Users first select the object area to be animated by clicking on a specific position on the image. This interaction method is simple and intuitive, requiring no complex operations or detailed descriptions from the user.Next, the user provides a short action prompt, such as "shake body" or "smile", to specify the action that the selected area should perform.
  2. Image segmentation:To convert the user's clicks into region masks that can be used for animation, the framework integrates the SAM (Segment Anything) tool. SAM is a promptable image segmentation tool that can generate high-quality object masks based on the user's clicks.Follow Your Click working architecture
  3. First-frame masking strategy:To improve video generation quality, the framework adopts a first-frame masking strategy. During training, the latent representation of the input image is randomly masked in part to enhance the model's ability to learn temporal correlations. This method significantly improves the quality of generated videos.
  4. Motion enhancement module:To enable the model to better respond to short action prompts, the framework designs a motion enhancement module. This module enhances the model's response to action-related words through a new cross-attention layer. During the training phase, this module is trained using short action prompts, while during the inference phase, these prompts are fed into the motion enhancement module and the cross-attention module of the U-Net.
  5. Optical flow-based motion magnitude control:Traditional motion intensity control relies on adjusting frames per second (FPS). However, this method cannot precisely control the motion speed of individual objects. To accurately learn motion speed, the framework proposes an optical flow-based motion magnitude control method. By computing the average magnitude of the optical flow and projecting it into the positional embedding, the motion intensity can be consistently applied across all frames.
  6. Video generation:During the inference phase, the user-clicked position and a short action prompt are used to generate an animated video. The model combines the user-specified region mask and the action prompt to generate a series of coherent animation frames while keeping the rest of the input image static.