Skip to main content

Wanxiang - Image-to-Video - Video Effects

A video effect template is a preset for video generation effects. Provide a first-frame image and a template value to generate a video with a specific dynamic effect -- such as "Magic Levitation" or "Squeeze". This feature is suitable for social media, marketing promotions, and interactive entertainment.

The video effects list is supported only in Image-to-Video based on the first frame and Image-to-Video based on the first and last frames.

Usage

Video effects work differently from image-to-video. Follow these rules:
  • Only one first-frame image required: Whether you use a model based on the first frame or based on the first and last frames, you only need to provide one first-frame image.
  • No prompt required: In effect mode, the model ignores the prompt field. It is recommended that you do not pass this parameter and focus on selecting a visual effect.
  • Select one template: Choose a dynamic effect from the effects list by using the template parameter. The model will generate the specified dynamic effect based on the template.
Different models support different effect templates. Make sure to refer to Effects list - first frame to video and Effects list - first and last frame to video to ensure that the template value you use matches the model.
Image-to-Video based on the first frame
Input first frameInput promptInput templateOutput video
wanx-demo-1
Not requiredflying
Uses the "Magic Levitation" effect
Image-to-Video based on the first and last frames
Input first frameInput last frameInput promptInput templateOutput video
首尾帧生视频-视频特效-demo
Not requiredNot requiredhanfu-1
Uses the "Tang Elegance" effect
Sample code
  • Image-to-Video based on the first frame
  • Python SDK
  • Image-to-Video based on the first and last frames
First-frame effect: Generate an effect video from a first-frame image.
# 以下为华北2(北京)地域的URL,调用时请将 {WorkspaceId} 替换为真实的业务空间ID,各地域的URL不同。
curl --location 'https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1/services/aigc/video-generation/video-synthesis' \
    -H 'X-DashScope-Async: enable' \
    -H "Authorization: Bearer $DASHSCOPE_API_KEY" \
    -H 'Content-Type: application/json' \
    -d '{
    "model": "wanx2.1-i2v-turbo",
    "input": {
        "img_url": "https://cdn.translate.alibaba.com/r/wanx-demo-1.png",
        "template": "flying"
    },
    "parameters": {
        "resolution": "720P"
    }
}'
For the complete code, see Image-to-Video based on the first frame.

Effects list - first frame to video

For how to use video effects, see Usage. Video effects depend on the template and the input image. For best results, preview the template examples first, refer to their "Input image suggestions", and then try your own images.

General effects

Effect nametemplate parameter valueExample effectSupported modelsInput image suggestions
Squeezesquishwanx2.1-i2v-pluswanx2.1-i2v-turbo
  • Supports any entity
  • An image where the entity is prominent and clearly distinguished from the background is recommended
Spinrotationwanx2.1-i2v-pluswanx2.1-i2v-turbo
  • Supports any entity
  • An image where the entity is prominent and clearly distinguished from the background is recommended
Pokepokewanx2.1-i2v-pluswanx2.1-i2v-turbo
  • Supports any entity
  • An image where the entity is prominent and clearly distinguished from the background is recommended
Balloon Inflationinflatewanx2.1-i2v-pluswanx2.1-i2v-turbo
  • Supports any entity
  • An image where the entity is prominent and clearly distinguished from the background is recommended
Molecular Diffusiondissolvewanx2.1-i2v-pluswanx2.1-i2v-turbo
  • Supports any entity
  • An image where the entity is prominent and clearly distinguished from the background is recommended
Heat Wave Meltmeltwanx2.1-i2v-plus
  • Supports any entity
  • An image where the entity is prominent and clearly distinguished from the background is recommended
Ice Cream Planeticecreamwanx2.1-i2v-plus
  • Supports any entity
  • An image where the entity is prominent and clearly distinguished from the background is recommended

Single-person effects

Effect nametemplate parameter valueExample effectSupported modelsInput image suggestions
Carouselcarouselwanx2.1-i2v-pluswanx2.1-i2v-turbo
  • Supports single-person photos
  • Half-body to full-body frontal photo recommended
Love Yousingleheartwanx2.1-i2v-pluswanx2.1-i2v-turbo
  • Supports single-person photos
  • Half-body to full-body frontal photo recommended
Swing Timedance1wanx2.1-i2v-plus
  • Supports single-person photos
  • Half-body to full-body frontal photo recommended
Swing Dancedance2wanx2.1-i2v-plus
  • Supports single-person photos
  • Full-body frontal photo recommended
Star Swingdance3wanx2.1-i2v-plus
  • Supports single-person photos
  • Full-body frontal photo recommended
Finger Rhythmdance4wanx2.1-i2v-plus
  • Supports single-person photos
  • Half-body to full-body frontal photo recommended
Dance Switchdance5wanx2.1-i2v-plus
  • Supports single-person photos
  • Half-body to full-body frontal photo recommended
Mermaid Awakeningmermaidwanx2.1-i2v-plus
  • Supports single-person photos
  • Half-body frontal photo recommended
Academic Coronationgraduationwanx2.1-i2v-plus
  • Supports single-person photos
  • Half-body to full-body frontal photo recommended
Beast Pursuitdragonwanx2.1-i2v-plus
  • Supports single-person photos
  • Half-body to full-body frontal photo recommended
Money from Heavenmoneywanx2.1-i2v-plus
  • Supports single-person photos
  • Half-body to full-body frontal photo recommended
Jellyfish Rendezvousjellyfishwanx2.1-i2v-plus
  • Supports single-person photos
  • Half-body to full-body frontal photo recommended
Pupil Journeypupilwanx2.1-i2v-plus
  • Supports single-person photos
  • Half-body to full-body frontal photo recommended

Single-person or animal effects

Effect nametemplate parameter valueExample effectSupported modelsInput image suggestions
Magic Levitationflyingwanx2.1-i2v-pluswanx2.1-i2v-turbo
  • Supports single-person or animal photos
  • Full-body frontal photo recommended
Rose for Yourosewanx2.1-i2v-pluswanx2.1-i2v-turbo
  • Supports single-person or animal photos
  • Half-body to full-body frontal photo recommended; avoid showing hands
Shining Rosecrystalrosewanx2.1-i2v-pluswanx2.1-i2v-turbo
  • Supports single-person or animal photos
  • Half-body to full-body frontal photo recommended; avoid showing hands

Two-person effects

Effect nametemplate parameter valueExample effectSupported modelsInput image suggestions
Loving Hughugwanx2.1-i2v-pluswanx2.1-i2v-turbo
  • Supports two-person photos
  • Both people facing the camera or standing face to face is recommended; half-body or full-body photos are acceptable
Interdependentfrenchkisswanx2.1-i2v-pluswanx2.1-i2v-turbo
  • Supports two-person photos
  • Both people facing the camera or standing face to face is recommended; half-body or full-body photos are acceptable
Double Heartbeatcoupleheartwanx2.1-i2v-pluswanx2.1-i2v-turbo
  • Supports two-person photos
  • Both people facing the camera or standing face to face is recommended; half-body or full-body photos are acceptable

Effects list - first and last frame to video

Video effects depend on the template and the input image. For best results, preview the template examples first, refer to their "Input image suggestions", and then try your own images.
The effects for first-and-last-frame video generation are trained on the first-and-last-frame model, but in actual use you only need to provide the first-frame image; no last frame is required, and the result is the same as generating a video from the first frame. For details, see Usage.

Single-person effects

Effect nametemplate parameter valueExample effectSupported modelsInput image suggestions
Tang Elegancehanfu-1wanx2.1-kf2v-plus
  • Supports single-person photos
  • Half-body to full-body frontal photo recommended
Mecha Transformationsolaronwanx2.1-kf2v-plus
  • Supports single-person photos
  • Half-body to full-body frontal photo recommended
Shining Covermagazinewanx2.1-kf2v-plus
  • Supports single-person photos
  • Half-body to full-body frontal photo recommended
Mechanical Awakeningmech1wanx2.1-kf2v-plus
  • Supports single-person photos
  • Half-body to full-body frontal photo recommended
Cyber Entrancemech2wanx2.1-kf2v-plus
  • Supports single-person photos
  • Half-body to full-body frontal photo recommended

API Reference

、