Skip to main content

Text-to-video

The Wan text-to-video models generate videos from text, images, and audio input. wan3.0-video supports up to 30 seconds, adaptive aspect ratio, smart duration, 480P/720P/1080P resolution, audio toggle, reference audio, and reference files and web links.

Quick access: Try it online (China (Beijing) | Singapore | US (Virginia)) | API reference | Prompt guide

Getting started

Input promptOutput video (multi-shot, audio-enabled)
Shot 1 The sequence opens with an extreme long shot. The camera starts at a low angle near the ground and moves forward across the grassland while tilting upward. As the camera rises from ground level to a slightly elevated position, the cheetah enters the frame from the left. This shot establishes a clear spatial relationship by placing the cheetah and the fleeing antelope on the same path. Shot 2 The camera descends to a near-ground level and tracks to the right, parallel to the cheetah. The cheetah is kept consistently left of center, which creates a continuous lateral shift in the background. For a period, the camera movement remains steady to enhance the sense of speed and spatial continuity. Shot 3 While still moving to the right, the camera executes a slight arc along the inside of the cheetah's path. This movement creates a subtle orbiting effect in the frame as the camera continues to follow the subject. Shot 4 The camera gradually slows its lateral movement and becomes relatively stable while simultaneously zooming in. This action narrows the focus to the shrinking distance between the cheetah and the antelope. Shot 5 The camera again moves forward and slightly downward, hugging the ground to close the distance between the two animals. The shot stops at the critical point just as the cheetah's forelimbs are about to reach the antelope's hindquarters, which creates intense pressure and tension. This action is synchronized with a crescendoing symphonic score, a densifying drumbeat, and the sounds of wind and footsteps that drive the rhythm. In the final moment, the music volume drops, leaving only ambient and rhythmic sounds to create a brief pause.
Before making an API call, get an API key and set it as an environment variable. To use an SDK, install the DashScope SDK. All examples use asynchronous calls that submit a video generation task and poll for the result.
  • Python SDK
  • Java SDK
  • curl
Ensure that your DashScope SDK for Python is version 1.25.16 or later before you run the following code.If the version is too low, errors such as "url error, please check url!" may occur. To update the SDK, see Install the SDK.
import os
from http import HTTPStatus
from dashscope import VideoSynthesis
import dashscope

# The following URL is for the Beijing region. URLs differ by region.
dashscope.base_http_api_url = 'https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1'
# API keys vary by region. To obtain an API key, visit https://help.aliyun.com/en/model-studio/get-api-key
api_key = os.getenv("DASHSCOPE_API_KEY", "YOUR_API_KEY")

print('please wait...')
rsp = VideoSynthesis.call(api_key=api_key,
                          model='wan3.0-video',
                          prompt='Shot 1: Start with a long shot. The camera begins at a low angle near the ground and moves forward, advancing over the grassland while simultaneously moving upward. The perspective gradually rises from ground level to a slightly elevated position, bringing a cheetah into the frame from the left. The cheetah and a fleeing antelope ahead are on the same pursuit path, establishing a clear foreground-background spatial relationship. Shot 2: Move down to a position near the ground and pan right, following the cheetah\'s movement. Maintain a steady, lateral tracking shot, keeping the subject slightly left of the frame\'s center. The background shows a continuous lateral movement effect. The camera movement stays stable for a while to enhance the sense of speed and spatial continuity. Shot 3: While continuing to move right, execute a slight arc movement along the inside of the cheetah\'s path. This creates a subtle orbiting effect in the frame, but the camera always moves in the same direction as the subject. Shot 4: Gradually slow the lateral movement, transitioning to a relatively stable camera position. At the same time, zoom in, progressively narrowing the visual focus to the shrinking distance between the cheetah and the antelope. Shot 5: Move forward and slightly downward again, closing in on the space between the two animals near the ground. Freeze the frame at the critical moment just as the cheetah\'s forelimbs are about to reach the antelope\'s hind legs, creating a strong sense of pressure and tension. This is accompanied by a swelling symphonic score, an increasingly dense drumbeat, and the sounds of wind and footsteps to build the rhythm. In the final moments, the music fades, leaving only ambient and rhythmic sounds for a brief pause.',
                          resolution="720P",
                          ratio="16:9",
                          duration=15,
                          watermark=True)
print(rsp)
if rsp.status_code == HTTPStatus.OK:
    print("video_url:", rsp.output.video_url)
else:
    print('Failed, status_code: %s, code: %s, message: %s' % (rsp.status_code, rsp.code, rsp.message))
  • Python SDK
  • Java SDK
  • curl
Ensure that your DashScope SDK for Python is version 1.25.16 or later before you run the following code.If the version is too low, errors such as "url error, please check url!" may occur. To update the SDK, see Install the SDK.
import os
from http import HTTPStatus
from dashscope import VideoSynthesis
import dashscope

# The following URL is for the Beijing region. URLs differ by region.
dashscope.base_http_api_url = 'https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1'
# The API key varies by region. For more information about how to get an API key, see https://help.aliyun.com/zh/model-studio/get-api-key.
api_key = os.getenv("DASHSCOPE_API_KEY", "YOUR_API_KEY")

print('please wait...')
rsp = VideoSynthesis.call(api_key=api_key,
                          model='wan2.6-t2v',
                          prompt='A thrilling detective chase story with cinematic storytelling. Shot 1 [0-3s]: Wide shot of a rainy New York street at night, neon lights flickering, a detective in a black trench coat walking briskly. Shot 2 [3-6s]: Medium shot of the detective entering an old building, rain soaking his coat, the door closing slowly behind him. Shot 3 [6-9s]: Close-up of the detectives focused, determined eyes as distant sirens wail and he frowns slightly in thought. Shot 4 [9-12s]: Medium shot of the detective moving carefully down a dim hallway, his flashlight illuminating the path ahead. Shot 5 [12-15s]: Close-up of the detective discovering a key clue, his face lighting up with sudden realization.',
                          size="1280*720",
                          duration=15,
                          shot_type="multi",
                          watermark=True)
print(rsp)
if rsp.status_code == HTTPStatus.OK:
    print("video_url:", rsp.output.video_url)
else:
    print('Failed, status_code: %s, code: %s, message: %s' % (rsp.status_code, rsp.code, rsp.message))
Sample output
video_url is valid for 24 hours. Download the video promptly.
{
    "request_id": "c1209113-8437-424f-a386-xxxxxx",
    "output": {
        "task_id": "966cebcd-dedc-4962-af88-xxxxxx",
        "task_status": "SUCCEEDED",
        "video_url": "https://dashscope-result-sh.oss-accelerate.aliyuncs.com/xxx.mp4?Expires=xxx"
    }
}

Availability

Supported models vary by region. Resources are isolated between regions. When making a call, make sure your model, endpoint URL, and API key all belong to the same region. Cross-region calls fail. Supported models:
  • Chinese mainland
  • Global
  • International
If you select the Chinese mainland deployment scope, model inference compute resources are restricted to the Chinese mainland. Static data is stored in your selected region. Supported region: China (Beijing).
ModelFeaturesInput modalityOutput video specifications
wan2.7-t2v-2026-04-25 RecommendedVideo with audioMulti-shot narrative, audio-video synchronizationText, audioResolution options: 720P, 1080PVideo duration: [2s, 15s] (integer)Defined specifications: 30 fps, MP4 (H.264 encoding)
wan2.7-t2vVideo with audioMulti-shot narrative, audio-video synchronizationText, audioResolution options: 720P, 1080PVideo duration: [2s, 15s] (integer)Defined specifications: 30 fps, MP4 (H.264 encoding)
wan2.6-t2vVideo with audioMulti-shot narrative, audio-video synchronizationText, audioResolution options: 720P, 1080PVideo duration: [2s, 15s] (integer)Defined specifications: 30 fps, MP4 (H.264 encoding)
wan2.5-t2v-previewVideo with audioAudio-video synchronizationText, audioResolution options: 480P, 720P, 1080PVideo duration: 5s, 10sDefined specifications: 30 fps, MP4 (H.264 encoding)
wan2.2-t2v-plusSilent video
Improved stability and success rate compared to the 2.1 model.
TextResolution options: 480P, 1080PVideo duration: 5sDefined specifications: 30 fps, MP4 (H.264 encoding)
wanx2.1-t2v-turboSilent videoTextResolution options: 480P, 720PVideo duration: 5sDefined specifications: 30 fps, MP4 (H.264 encoding)
wanx2.1-t2v-plusSilent videoTextResolution options: 720PVideo duration: 5sDefined specifications: 30 fps, MP4 (H.264 encoding)
The sample code in this topic applies to the China (Beijing) region.

Core capabilities

Create multi-shot videos

Supported models: wan3.0, wan2.7, and wan2.6 series. Description: Automatically switches between shots — for example, from a wide shot to a close-up. Ideal for music videos and cinematic narratives. Parameters:
  • wan2.7: The shot_type parameter is not required. Describe shot structure in the prompt using natural language, such as timestamps to define shots. If the prompt does not contain shot structure descriptions, the model analyzes semantics and automatically determines whether to generate a single-shot or multi-shot video.
  • wan2.6: The shot_type parameter must be set to "multi", and the prompt_extend parameter must be set to true to enable intelligent rewriting to optimize shot descriptions.
Input promptOutput video (wan3.0)
A vision of harmony between future technology and nature. Shot 1 [0-2s]: Wide shot of an aerial garden in a futuristic city, floating plants swaying gently in the breeze. Shot 2 [2-4s]: A robot gardener carefully trims plants with precise, graceful movements. Shot 3 [4-7s]: Sunlight streams through a transparent dome, illuminating the entire garden and showcasing the perfect fusion of technology and nature. Shot 4 [7-10s]: The camera pulls back to reveal the grand scale of the entire futuristic city, with the aerial garden as just one part of it.
This is a martial arts film clip centered on a hardcore duel. On a stone clearing under the midday sun, two men charge at each other. One strikes with his palm, but his opponent spins and blocks with his arm, the impact kicking up dust from the ground. They then exchange rapid punches and palm strikes in a tight space. One leaps into the air for a series of heavy kicks, forcing his opponent to cross his arms to block and slide back several meters, leaving clear white marks on the stone surface. Finally, they stand apart, breathing heavily and locking eyes. The scene presents a realistic action texture with sharp lighting, creating a tone that shifts from powerful explosion to a tense standoff.
This is a school film clip centered on the tentative feelings of a teenage crush. As the sun sets over the playground, two people stand side-by-side. The boy, holding a basketball, asks with a shifting gaze, 'Are you going to the party next week?' The girl, fiddling with a lock of her hair, tentatively replies, 'If... you're going, then I'll go.' Hearing her answer, the boy swallows, his joy barely suppressed as he tries to force a calm expression, staring into the distance. The scene is rendered in clear, natural warm tones, creating a delicate and restrained mood of first love.
  • Python SDK
  • Java SDK
  • curl
Ensure that your DashScope SDK for Python is version 1.25.16 or later. To update the SDK, see Install the SDK .
import os
from http import HTTPStatus
from dashscope import VideoSynthesis
import dashscope

# The following URL is for the Beijing region. URLs differ by region.
dashscope.base_http_api_url = 'https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1'

# If you have not configured environment variables, replace the following line with api_key="sk-xxx". Use your Model Studio API key.
# The API key varies by region. For more information about how to get an API key, see https://help.aliyun.com/zh/model-studio/get-api-key.
api_key = os.getenv("DASHSCOPE_API_KEY")

def sample_async_call_t2v():
    # Asynchronous invocation that returns a task_id.
    rsp = VideoSynthesis.async_call(api_key=api_key,
                                    model='wan3.0-video',
                                    prompt='A vision of harmony between future technology and nature. Shot 1 [0-2s]: Wide shot of an aerial garden in a futuristic city, floating plants swaying gently in the breeze. Shot 2 [2-4s]: A robot gardener carefully trims plants with precise, graceful movements. Shot 3 [4-7s]: Sunlight streams through a transparent dome, illuminating the entire garden and showcasing the perfect fusion of technology and nature. Shot 4 [7-10s]: The camera pulls back to reveal the grand scale of the entire futuristic city, with the aerial garden as just one part of it.',
                                    resolution='720P',
                                    ratio='16:9',
                                    duration=10,
                                    watermark=True,
                                    seed=12345)
    print(rsp)
    if rsp.status_code == HTTPStatus.OK:
        print("task_id: %s" % rsp.output.task_id)
    else:
        print('Failed, status_code: %s, code: %s, message: %s' % (rsp.status_code, rsp.code, rsp.message))

    # Wait for the asynchronous task to complete.
    rsp = VideoSynthesis.wait(task=rsp, api_key=api_key)
    print(rsp)
    if rsp.status_code == HTTPStatus.OK:
        print(rsp.output.video_url)
    else:
        print('Failed, status_code: %s, code: %s, message: %s' % (rsp.status_code, rsp.code, rsp.message))

if __name__ == '__main__':
    sample_async_call_t2v()
  • Python SDK
  • Java SDK
  • curl
Ensure that your DashScope SDK for Python is version 1.25.16 or later. To update the SDK, see Install the SDK .
import os
from http import HTTPStatus
from dashscope import VideoSynthesis
import dashscope

# The following URL is for the Beijing region. URLs differ by region.
dashscope.base_http_api_url = 'https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1'

# If you have not configured the environment variable, replace the following line with your Model Studio API key: api_key="sk-xxx"
# API keys vary by region. To obtain an API key, see https://help.aliyun.com/zh/model-studio/get-api-key
api_key = os.getenv("DASHSCOPE_API_KEY")

def sample_async_call_t2v():
    # Make an asynchronous invocation to return a task_id.
    rsp = VideoSynthesis.async_call(api_key=api_key,
                                    model='wan2.6-t2v',
                                    prompt='Show a beautiful vision of the future where technology and nature coexist in harmony. Shot 1 [0-2s]: A panoramic view of a hanging garden in a futuristic city, with floating plants swaying in the breeze. Shot 2 [2-4s]: A robot gardener meticulously prunes the plants with precise and elegant movements. Shot 3 [4-7s]: Sunlight streams through a transparent dome, illuminating the entire garden and showcasing the perfect fusion of technology and nature. Shot 4 [7-10s]: The camera pulls back to reveal the magnificent view of the entire futuristic city, of which the hanging garden is just one part.',
                                    size='1280*720',
                                    duration=10,
                                    shot_type='multi',
                                              watermark=True,
                                    seed=12345)
    print(rsp)
    if rsp.status_code == HTTPStatus.OK:
        print("task_id: %s" % rsp.output.task_id)
    else:
        print('Failed, status_code: %s, code: %s, message: %s' % (rsp.status_code, rsp.code, rsp.message))

    # Wait for the asynchronous task to complete.
    rsp = VideoSynthesis.wait(task=rsp, api_key=api_key)
    print(rsp)
    if rsp.status_code == HTTPStatus.OK:
        print(rsp.output.video_url)
    else:
        print('Failed, status_code: %s, code: %s, message: %s' % (rsp.status_code, rsp.code, rsp.message))

if __name__ == '__main__':
    sample_async_call_t2v()

Synchronize audio and video

Supported models: wan3.0, wan2.7, wan2.6, and wan2.5 series. Description: Characters in the video can "speak" or sing, with mouth movements matching the audio. For more examples, see Video audio generation. Parameters:
  • Provide an audio file: Set audio_url. The model synchronizes mouth movements with the audio file.
  • Automatic dubbing: Without an audio_url, the model automatically generates audio-enabled video by default — adding background sound effects, music, or voices based on the visual content.
Input exampleOutput video (audio-enabled video)
Input prompt: An epic yet adorable scene. A tiny, cute cartoon cat general wears intricately detailed golden armor and a slightly oversized helmet. He stands bravely on a cliff. He rides a small but heroic warhorse and says: "Dark clouds hang over the snow-capped mountains of Qinghai. A lonely fortress gazes toward the Yumen Pass. Golden armor pierced by sandstorms of a hundred battles. We will not return until Loulan is conquered.". Below the cliff, a massive, endless army of mice charges forward with makeshift weapons. This is a dramatic, large-scale battle scene inspired by ancient Chinese epics. Dark clouds gather above snowy peaks in the distance. The overall mood is a humorous, epic blend of "adorable" and "majestic".Input audio:
  • Python SDK
  • Java SDK
  • curl
Ensure that your DashScope SDK for Python is version 1.25.16 or later. To update the SDK, see Install the SDK .
import os
from http import HTTPStatus
from dashscope import VideoSynthesis
import dashscope

# The following URL is for the Beijing region. URLs differ by region.
dashscope.base_http_api_url = 'https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1'

# If you have not configured environment variables, replace the following line with api_key="sk-xxx". Use your Model Studio API key.
# The API key varies by region. For more information about how to get an API key, see https://help.aliyun.com/zh/model-studio/get-api-key.
api_key = os.getenv("DASHSCOPE_API_KEY")

def sample_async_call_t2v():
    # Asynchronous invocation that returns a task_id.
    rsp = VideoSynthesis.async_call(api_key=api_key,
                                    model='wan3.0-video',
                                    prompt='An epic yet adorable scene. A tiny, cute cartoon cat general wears intricately detailed golden armor and a slightly oversized helmet. He stands bravely on a cliff. He rides a small but heroic warhorse and says: "Dark clouds hang over the snow-capped mountains of Qinghai. A lonely fortress gazes toward the Yumen Pass. Golden armor pierced by sandstorms of a hundred battles. We will not return until Loulan is conquered.". Below the cliff, a massive, endless army of mice charges forward with makeshift weapons. This is a dramatic, large-scale battle scene inspired by ancient Chinese epics. Dark clouds gather above snowy peaks in the distance. The overall mood is a humorous, epic blend of "adorable" and "majestic".',
                                    audio_url='https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250923/hbiayh/%E4%BB%8E%E5%86%9B%E8%A1%8C.mp3',
                                    resolution='720P',
                                    ratio='16:9',
                                    duration=10,
                                    watermark=True,
                                    seed=12345)
    print(rsp)
    if rsp.status_code == HTTPStatus.OK:
        print("task_id: %s" % rsp.output.task_id)
    else:
        print('Failed, status_code: %s, code: %s, message: %s' % (rsp.status_code, rsp.code, rsp.message))

    # Wait for the asynchronous task to complete.
    rsp = VideoSynthesis.wait(task=rsp, api_key=api_key)
    print(rsp)
    if rsp.status_code == HTTPStatus.OK:
        print(rsp.output.video_url)
    else:
        print('Failed, status_code: %s, code: %s, message: %s' % (rsp.status_code, rsp.code, rsp.message))

if __name__ == '__main__':
    sample_async_call_t2v()
  • Python SDK
  • Java SDK
  • curl
Ensure that your DashScope SDK for Python is version 1.25.16 or later. To update the SDK, see Install the SDK .
import os
from http import HTTPStatus
from dashscope import VideoSynthesis
import dashscope

# The following URL is for the Beijing region. The URLs for other regions are different. To obtain the URL for your region, visit: https://help.aliyun.com/en/model-studio/text-to-video-api-reference
dashscope.base_http_api_url = 'https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1'

# If you have not configured the environment variable, replace the following line with your Model Studio API key: api_key="sk-xxx"
# The API keys are different for each region. To obtain an API key, visit: https://help.aliyun.com/en/model-studio/get-api-key
api_key = os.getenv("DASHSCOPE_API_KEY")

def sample_async_call_t2v():
    # Make an asynchronous invocation to return a task_id.
    rsp = VideoSynthesis.async_call(api_key=api_key,
                                    model='wan2.6-t2v',
                                    prompt='An epic and cute scene. A small, cute cartoon cat general, wearing exquisite, detailed golden armor and a slightly oversized helmet, stands bravely on a cliff. He is riding a small but heroic warhorse and says, "The long clouds of Qinghai darken the snowy mountains, A lonely city looks out towards the Jade Gate Pass. The yellow sand has pierced golden armor in a hundred battles, Until we defeat the Loulan, we will not return." Below the cliff, a vast and endless army of mice is charging forward with makeshift weapons. This is a dramatic, large-scale battle scene inspired by ancient Chinese war epics. In the distance, over the snowy mountains, the sky is filled with dark clouds. The overall atmosphere is a humorous and epic fusion of "cute" and "domineering".',
                                    audio_url='https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/en-US/20250923/hbiayh/Army_March.mp3',
                                    size='1280*720',
                                    duration=10,
                                    watermark=True,
                                    seed=12345)
    print(rsp)
    if rsp.status_code == HTTPStatus.OK:
        print("task_id: %s" % rsp.output.task_id)
    else:
        print('Failed, status_code: %s, code: %s, message: %s' % (rsp.status_code, rsp.code, rsp.message))

    # Wait for the asynchronous task to complete.
    rsp = VideoSynthesis.wait(task=rsp, api_key=api_key)
    print(rsp)
    if rsp.status_code == HTTPStatus.OK:
        print(rsp.output.video_url)
    else:
        print('Failed, status_code: %s, code: %s, message: %s' % (rsp.status_code, rsp.code, rsp.message))

if __name__ == '__main__':
    sample_async_call_t2v()

Generate silent videos

Supported models: wan2.2 series, wanx2.1 series. Description: Best for scenarios that need only visual content, such as dynamic posters and silent short videos. Parameters: The wan2.2 and earlier models generate silent videos by default. No additional configuration is needed.
Input promptOutput video (silent video)
Rim light, low contrast, medium close-up, daylight, left-heavy composition, clean single-person shot, warm tones, soft light, sunny day light, side light, daytime. A young girl sits in a field of tall grass with two fluffy donkeys standing behind her. The girl, about eleven or twelve, wears a simple floral dress, her hair in two braids, and has an innocent smile. She sits cross-legged, gently touching the wildflowers beside her. The donkeys are sturdy, their ears pricked up, curiously looking toward the camera. Sunlight bathes the field, creating a warm and natural scene.
  • Python SDK
  • Java SDK
  • curl
Ensure that your DashScope SDK for Python is version 1.25.16 or later. To update the SDK, see Install the SDK .
import os
from http import HTTPStatus
from dashscope import VideoSynthesis
import dashscope

# The following URL is for the Beijing region. URLs differ by region.
dashscope.base_http_api_url = 'https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1'

# If you have not configured environment variables, replace the following line with api_key="sk-xxx". Use your Model Studio API key.
# The API key varies by region. For more information about how to get an API key, see https://help.aliyun.com/zh/model-studio/get-api-key.
api_key = os.getenv("DASHSCOPE_API_KEY")

def sample_async_call_t2v():
    # Asynchronous invocation that returns a task_id.
    rsp = VideoSynthesis.async_call(api_key=api_key,
                                    model='wan2.2-t2v-plus',
                                    prompt='Rim light, low contrast, medium close-up, daylight, left-heavy composition, clean single-person shot, warm tones, soft light, sunny day light, side light, daytime. A young girl sits in a field of tall grass with two fluffy donkeys standing behind her. The girl, about eleven or twelve, wears a simple floral dress, her hair in two braids, and has an innocent smile. She sits cross-legged, gently touching the wildflowers beside her. The donkeys are sturdy, their ears pricked up, curiously looking toward the camera. Sunlight bathes the field, creating a warm and natural scene.',
                                              size='832*480',
                                    watermark=True,
                                    seed=12345)
    print(rsp)
    if rsp.status_code == HTTPStatus.OK:
        print("task_id: %s" % rsp.output.task_id)
    else:
        print('Failed, status_code: %s, code: %s, message: %s' % (rsp.status_code, rsp.code, rsp.message))

    # Wait for the asynchronous task to complete.
    rsp = VideoSynthesis.wait(task=rsp, api_key=api_key)
    print(rsp)
    if rsp.status_code == HTTPStatus.OK:
        print(rsp.output.video_url)
    else:
        print('Failed, status_code: %s, code: %s, message: %s' % (rsp.status_code, rsp.code, rsp.message))

if __name__ == '__main__':
    sample_async_call_t2v()

Input audio

Output video

  • Number of videos: One.
  • Format: MP4. For more information, see Video specifications.
  • URL expiration: 24 hours.
  • Video dimensions:
    • The wan3.0 and wan2.7 models use the resolution and ratio parameters.
    • The wan2.6 and earlier models use the size parameter.

Billing and rate limiting

  • For free quota and pricing details, see Wanx-Text-to-Video.
  • For model rate limiting, see Wanxiang series.
  • Billing details:
    • Input is free. Output is billed per successfully generated video second.
    • Failed model calls or processing errors do not incur charges or consume free quota.
    • Text-to-video also supports savings plans.

API reference

Text-to-video API reference

FAQ

Q: What code changes are needed to upgrade from wan2.7 to wan3.0?

  • Model name: Change model from wan2.7-t2v-* to wan3.0-video.
  • Extended duration: wan3.0 supports up to 30 seconds (wan2.7 supports up to 15 seconds). Set duration to an integer between 2 and 30.
  • New file and web input: wan3.0 supports passing type: "file" (docx, ppt, pdf, etc.) or type: "link" (public web URL) in input.media. The model automatically understands the content and generates a video. These two types cannot be used simultaneously.

Q: The videos generated in the console have a watermark. How do I remove it?

  • The video generation page in the Model Studio console does not provide a watermark switch, so you cannot disable the watermark in the console.
  • When you call the model through the API, set watermark to false to generate a video without a watermark.
  • If you omit the watermark parameter, the API adds a watermark by default. The sample code in this topic passes watermark=true; change it to false to remove the watermark.

Q: I purchased an AI general-purpose savings plan. Why do the generated videos still have a watermark?

  • An AI general-purpose savings plan only offsets your cost. It does not change model output and is unrelated to whether a video carries a watermark.
  • The watermark is controlled solely by the API watermark parameter: set it to false to remove the watermark, or omit it to keep the default watermark.
Token Plan
Model Playground
Fine-tuning
Model Compression
Statistics and Monitoring
Support