Skip to main content
Wan - image-to-video - first frame API reference (2.1-2.6)

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.

This document applies only to the China (Beijing) region. To use the model, you must use an API key from the China (Beijing) region.
Input first-frame image
wanx-demo-1
Output example 1: "Magic Levitation" effectOutput example 2: "Squeeze" effect
demo_flying.mp4demo_squish.mp4
Template value: flyingTemplate value: squish

Usage

  • Scope: Video effect templates are supported only in Wan Image-to-Video (first frame) tasks.
  • Method: In the request body, set the template parameter to the desired template value, such as flying. For all available templates, see Video effect templates.
  • Note: When you use the template parameter, the model ignores the prompt field. You can omit this field or leave it empty.

Send a request

The Image-to-Video API uses an asynchronous workflow. You submit a video generation task and then query the task status to retrieve the result. For the complete workflow, including how to poll for task status and download the generated video, see the Image-to-Video API reference. The following example shows how to submit a video generation request using a video effect template:
# The URL below is for the China (Beijing) region. Replace {WorkspaceId} with your actual workspace ID. URLs vary by region.
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"
    }
}'

Video effect templates

For optimal results, refer to the "Input image suggestions" column for each template.

Model support summary

ModelSupported templates
wanx2.1-i2v-plusAll templates
wanx2.1-i2v-turboGeneral effects, Carousel, Love You, Single-person or animal effects, Two-person effects

General effects

All general effects support both wanx2.1-i2v-plus and wanx2.1-i2v-turbo. These effects work with any entity. For best results, use an image where the entity is prominent and clearly distinguished from the background.
Effect nameTemplate valueExample effect
Squeezesquishsquish.mp4
Spinrotationrotation.mp4
Pokepokepoke.mp4
Balloon Inflationinflateinflate.mp4
Molecular Diffusiondissolvedissolve.mp4

Single-person effects

These effects work with single-person photos. Unless noted otherwise, a half-body to full-body frontal photo is recommended.
Effect nameTemplate valueSupported modelsInput image suggestionsExample effect
Carouselcarouselwanx2.1-i2v-plus, wanx2.1-i2v-turbo-carousel.mp4
Love Yousingleheartwanx2.1-i2v-plus, wanx2.1-i2v-turbo-singleheart.mp4
Swing Timedance1wanx2.1-i2v-plus-dance1.mp4
Swing Dancedance2wanx2.1-i2v-plusFull-body frontal photo recommendeddance2.mp4
Star Swingdance3wanx2.1-i2v-plusFull-body frontal photo recommendeddance3.mp4
Mermaid Awakeningmermaidwanx2.1-i2v-plusHalf-body frontal photo recommendedmermaid.mp4
Academic Coronationgraduationwanx2.1-i2v-plus-graduation.mp4
Beast Pursuitdragonwanx2.1-i2v-plus-dragon.mp4
Money from Heavenmoneywanx2.1-i2v-plus-money.mp4

Single-person or animal effects

All effects in this category support both wanx2.1-i2v-plus and wanx2.1-i2v-turbo. These effects work with single-person or animal photos.
Effect nameTemplate valueInput image suggestionsExample effect
Magic LevitationflyingFull-body frontal photo recommendedflying.mp4
Rose for YouroseHalf-body to full-body frontal photo recommended. Avoid showing hands.rose.mp4
Shining RosecrystalroseHalf-body to full-body frontal photo recommended. Avoid showing hands.crystalrose.mp4

Two-person effects

All effects in this category support both wanx2.1-i2v-plus and wanx2.1-i2v-turbo. These effects work with two-person photos. A half-body or full-body photo where both people face the camera or each other is recommended.
Effect nameTemplate valueExample effect
Loving Hughughug.mp4
Interdependentfrenchkissfrenchkiss.mp4
Double Heartbeatcoupleheartcoupleheart.mp4

References

Text Generation
Image Generation
  • FAQ
Audio
Realtime API
Text Embedding
Model Production