Skip to main content

Wan2.7-I2V API Reference

The Wan2.7-I2V model has been fully upgraded to support multimodal input (text/image/audio/video) and can perform three major tasks: first-frame-to-video, first-and-last-frame-to-video, and video continuation.

Related documents: User Guide
The newly launched I2V API (wan2.7 model) supports the three tasks above and is recommended as the preferred option.The legacy I2V based on the first frame (wan2.6 and earlier models) only supports first-frame video generation.

Scope

To ensure successful calls, make sure that the model, endpoint URL, and API Key all belong to the same region. Cross-region calls will fail.
The sample code in this topic applies to the Beijing region.
Alibaba Cloud Model Studio has launched workspace-dedicated domains for the China (Beijing) and Singapore regions, which deliver superior performance and higher stability for inference requests. We recommend that you migrate to the new domains:
  • China (Beijing) region: migrate from https://dashscope.aliyuncs.com to https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com
  • Singapore region: migrate from https://dashscope-intl.aliyuncs.com to https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com
Among them, {WorkspaceId} is your workspace ID, which you can view on the Workspace Details page in the Alibaba Cloud Model Studio console. The existing domains remain available.

HTTP calls

This API uses the new I2V protocol and supports only the wan2.7 model.
I2V tasks take a long time to complete (usually 1 to 5 minutes), so the API uses asynchronous calls. The entire process consists of two core steps: "Create a task -> poll for the result", as follows:

Step 1: Create a task and obtain the task ID

  • Beijing
  • Singapore
POST https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1/services/aigc/video-generation/video-synthesis
When calling the API, replace {WorkspaceId} with your actual workspace ID.
  • After the task is created, use the task_id returned by the API to query the result. The task_id is valid for 24 hours. Do not create duplicate tasks; just poll for the result.
  • For a beginner's guide, see Postman.

Request parameters

Content-Typestring(Required)The request content type. This parameter must be set to application/json.Authorizationstring(Required)Request authentication. The API uses an Alibaba Cloud Model Studio API Key for authentication. Example value: Bearer sk-xxxx.X-DashScope-Asyncstring (Required)Asynchronous processing configuration parameter. HTTP requests only support asynchronous mode, and it must be set to enable.
If this request header is missing, the following error is returned: "current user api does not support synchronous calls".
Request Body
model string (Required)The model name. For the model list and prices, see Model Price.Example value: wan2.7-i2v-2026-04-25.input object (Required)Basic input information, such as the prompt.

Property

prompt string (Optional)The text prompt, used to describe the elements and visual features you expect in the generated video.Supports both Chinese and English, with a maximum length of 5,000 characters. Each Chinese character or letter counts as one character, and any excess is automatically truncated.Example value: A little cat running on the grass.For tips on writing prompts, see T2V/I2V Prompt Guide.negative_prompt string (Optional)The negative prompt, used to describe content you do not want to see in the video. It can be used to constrain the video output.Supports both Chinese and English, with a maximum length of 500 characters, and any excess is automatically truncated.Example value: low resolution, error, worst quality, low quality, incomplete, extra fingers, bad proportions, etc.media array (Required)A list of media assets, used to specify the reference materials (images, audio, and videos) required for video generation.Each element of the array is a media object that contains the type and url fields.

Media asset combinations

Only the following specific media asset combinations are supported. Invalid combinations will cause an error.
  • First frame to video:
    • First frame: first_frame
    • First frame + audio: first_frame+driving_audio
  • First and last frame to video:
    • First frame + last frame: first_frame+last_frame
    • First frame + last frame + audio: first_frame+last_frame+driving_audio
  • Video continuation:
    • First clip continuation: first_clip
    • First clip + last frame continuation: first_clip+last_frame

Property

type string (Required)The media asset type. Valid values:
  • first_frame: First Frame.
  • last_frame: End Frame.
  • driving_audio: Driving Audio.
  • first_clip: First video clip.
Limits: Each type can appear at most once in the media array (for example: you cannot pass in two first_frame values at the same time).url string (Required)URL of the media assets. Assets include images, audio, and videos.

The URL of the media asset. Assets include images, audio, and video.

Pass an image (type=first_frame or last_frame)The URL of the first or last frame, or Base64-encoded data. Video generation from the first frame and from the first and last frames are currently supported.
  • Format: JPEG, JPG, PNG (transparency not supported), BMP, WEBP.
  • Resolution: width and height range from [240, 8000] pixels.
  • Aspect Ratio: 1:8 to 8:1.
  • File Size: no more than 20MB.
Supported input formats:Supported input formats:
  1. Temporary URL:
    • Supports the OSS protocol. You must obtain the temporary URL by uploading a file.
    • Example value: oss://dashscope-instant/xxx/xxx.png.
  2. Base64-encoded image string:
    • Data format: data:{MIME_type};base64,{base64_data}.
    • Example value: data:image/png;base64,GDU7MtCZzEbTbmRZ...... (the example is truncated for demonstration only).
      Format: data:{MIME_type};base64,{base64_data}.
      • {base64_data}: the string obtained by Base64-encoding the image file.
      • {MIME_type}: the media type of the image, which must match the file format.

      Image format

      MIME Type

      JPEG

      image/jpeg

      JPG

      image/jpeg

      PNG

      image/png

      BMP

      image/bmp

      WEBP

      image/webp

image/webp

Pass audio (type=driving_audio)The URL of the audio file.
  • With audio: The model uses the audio as the driving source to generate the video (such as lip sync and action beat syncing).
  • Without audio: The model automatically generates matching background music or sound effects based on the video content.
  • Format: wav, mp3.
  • Duration: 2 to 30s.
  • File Size: no more than 15MB.
  • Truncation: if the audio length exceeds the duration value (for example, 5 seconds), the first 5 seconds are automatically taken and the rest is discarded. If the audio length is shorter than the video duration, the part beyond the audio length is silent video. For example, if the audio is 3 seconds and the video duration is 5 seconds, the first 3 seconds of the output video have sound and the last 2 seconds are silent.
Supported input formats:Supported input formats:
  1. Temporary URL:
    • Supports the OSS protocol. You must obtain the temporary URL by uploading a file.
    • Example value: oss://dashscope-instant/xxx/xxx.mp3.

Input video (type=first_clip)

The URL of the video file. The model generates a continuation based on the video content, and the upper limit of the continuation duration is controlled by the duration parameter.
For example: when duration=15, with a 3-second input video, the model generates a 12-second continuation, and the final output video has a total duration of 15 seconds, billed at 15 seconds.
For example, when duration=15, if the input video is 3 seconds, the model generates a 12-second continuation, and the final output video is 15 seconds in total and billed as 15 seconds.
  • Format: mp4, mov.
  • Duration: 2 to 10s.
  • Resolution: width and height range from [240, 4096] pixels.
  • Aspect Ratio: 1:8 to 8:1.
  • File Size: no more than 100MB.
Supported input formats:Supported input formats:
  1. Temporary URL:
    • Supports the OSS protocol. You must obtain the temporary URL by uploading a file.
    • Example value: oss://dashscope-instant/xxx/xxx.mp4.
parameters object (Optional)Video processing parameters, such as setting the video resolution, setting the video duration, enabling prompt intelligent rewriting, adding a watermark, and more.

Property

resolution string (Optional)
resolution directly affects the fee. Please confirm the Model Price before calling.
Specifies the resolution tier of the generated video, which controls the video clarity (total pixels).Based on the selected resolution tier, the model automatically scales to a similar total pixel count. The video aspect ratio should be kept consistent with the input asset (first frame or first video segment) whenever possible. For more information, see FAQ.Optional values:Valid values:duration integer (Optional)
duration directly affects the fee. Billing is per second. Please confirm the Model Price before calling.
The duration of the generated video, in seconds.The value is an integer between [2, 15]. The default value is 5.prompt_extendboolean (optional)Whether to enable intelligent prompt rewriting. When enabled, a large model is used to intelligently rewrite the input prompt. This significantly improves generation results for short prompts, but increases processing time.
  • true: default value, intelligent rewriting enabled.
  • false: intelligent rewriting disabled.
watermark boolean (optional)Whether to add a watermark. The watermark is located in the lower-right corner of the video, with fixed text "AI Generated".
  • false: default value, no watermark added.
  • true: add the watermark.
seedinteger (optional)The random seed, in the range [0, 2147483647].If not specified, the system automatically generates a random seed. To improve the reproducibility of generation results, it is recommended to use a fixed seed value.If not specified, the system automatically generates a random seed. To improve the reproducibility of the results, we recommend that you fix the seed value.
  • Note that model generation is probabilistic. Even with the same seed, identical results are not guaranteed for each generation.
  • Generate a video based on a first frame image and audio.
  • Pass a first frame and a last frame to generate a video.
Video generation from the first frame

# 以下为华北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": "wan2.7-i2v-2026-04-25",
    "input": {
        "prompt": "一幅都市奇幻艺术的场景。一个充满动感的涂鸦艺术角色。一个由喷漆所画成的少年,正从一面混凝土墙上活过来。他一边用极快的语速演唱一首英文rap,一边摆着一个经典的、充满活力的说唱歌手姿势。场景设定在夜晚一个充满都市感的铁路桥下。灯光来自一盏孤零零的街灯,营造出电影般的氛围,充满高能量和惊人的细节。视频的音频部分完全由rap构成,没有其他对话或杂音。",
        "media": [
            {
                "type": "first_frame",
                "url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/wpimhv/rap.png"
            },
            {
                "type": "driving_audio",
                "url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/ozwpvi/rap.mp3"

            }
        ]
    },
    "parameters": {
        "resolution": "720P",
        "duration": 10,
        "prompt_extend": true,
        "watermark": true
    }
}'

Response parameters

output objectTask output information.

Property

task_id stringTask ID. The query is valid for 24 hours.task_status stringTask status.

The task status.

Enumeration values
request_idstringThe unique request identifier. It can be used for request tracing and troubleshooting.codestringThe error code returned when the request fails. This parameter is not returned when the request succeeds. For details, see Error codes.messagestringThe detailed error message returned when the request fails. This parameter is not returned when the request succeeds. For details, see Error codes.
  • Successful response
  • Save the task_id, which is used to query the task status and result.
Successful response
{
    "output": {
        "task_status": "PENDING",
        "task_id": "0385dc79-5ff8-4d82-bcb6-xxxxxx"
    },
    "request_id": "4909100c-7b5a-9f92-bfe5-xxxxxx"
}

Step 2: Query the result by task ID

  • Beijing
  • Singapore
GET https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1/tasks/{task_id}
When calling the API, replace {WorkspaceId} with your actual workspace ID.
  • Polling recommendation: Video generation takes several minutes. It is recommended to use a polling mechanism with a reasonable query interval (such as 15 seconds) to obtain results.
  • Task status transitions: PENDING (Queuing) → RUNNING (Processing) → SUCCEEDED (Success) / FAILED (Failed).
  • Result link: The video URL is returned after the task succeeds, valid for 24 hours. It is recommended to download it immediately and store it in permanent storage (such as Alibaba Cloud OSS).
  • task_id validity: 24 hours. After expiration, results can no longer be queried, and the API returns a task status of UNKNOWN.
  • RPS limits: The query API has a default RPS of 20. For higher-frequency queries or event notifications, see Configure asynchronous task callbacks.
  • More operations: For batch queries, task cancellation, and other operations, see Manage asynchronous tasks.

Request parameters

Headers
Authorizationstring(Required)Request authentication. The API uses an Alibaba Cloud Model Studio API Key for authentication. Example value: Bearer sk-xxxx.
Path parameters
task_id string(required)Task ID.
  • The task ID.
Replace {task_id} entirely with the value of task_id returned by the API in the previous step. The task_id query is valid for 24 hours. Replace {WorkspaceId} with the actual workspace ID.
curl -X GET https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1/tasks/{task_id} \
--header "Authorization: Bearer $DASHSCOPE_API_KEY"

Response parameters

outputobjectTask output information.

Property

task_id stringTask ID. The query is valid for 24 hours.task_status stringTask status.

The task status.

Enumeration values
Status transitions during polling:
  • PENDING (Queuing) → RUNNING (Processing) → SUCCEEDED (Success) / FAILED (failed).
  • The status is usually PENDING (Queuing) or RUNNING (Processing) on the first query.
  • When the status changes to SUCCEEDED, the response will contain the URL of the generated video.
  • If the status is FAILED, check the error message and retry.
  • If the status is CANCELED, the task has been canceled. To continue, submit the task again.
  • If the status is UNKNOWN, the task does not exist or the status is unknown, which may occur when task_id does not exist or the 24-hour validity period has expired.
submit_time stringTask submission time. The format is YYYY-MM-DD HH:mm:ss.SSS.scheduled_time stringTask execution time. The format is YYYY-MM-DD HH:mm:ss.SSS.end_time stringTask completion time. The format is YYYY-MM-DD HH:mm:ss.SSS.video_urlstringVideo URL. Returned only when task_status is SUCCEEDED.The video URL. Returned only when task_status is SUCCEEDED.orig_prompt stringThe original input prompt, corresponding to the request parameter prompt.codestringThe error code returned when the request fails. This parameter is not returned when the request succeeds. For details, see Error codes.messagestringThe detailed error message returned when the request fails. This parameter is not returned when the request succeeds. For details, see Error codes.
usage objectOutput information statistics, counted only for successful results.

Property

input_video_duration integerThe duration of the input video, in seconds.output_video_duration integerThe duration of the output video, in seconds.duration integerThe total video duration, used for billing.SR integerThe resolution tier of the output video. Example value: 720.video_count integerThe number of output videos. Fixed at 1.
request_idstringThe unique request identifier. It can be used for request tracing and troubleshooting.
  • The unique request identifier, which can be used for request tracing and troubleshooting.
  • The video URL is retained for only 24 hours and is automatically cleared after it expires. Save the generated video in a timely manner.
  • Task query expired
Task succeeded
{
    "request_id": "2ca1c497-f9e0-449d-9a3f-xxxxxx",
    "output": {
        "task_id": "af6efbc0-4bef-4194-8246-xxxxxx",
        "task_status": "SUCCEEDED",
        "submit_time": "2025-09-25 11:07:28.590",
        "scheduled_time": "2025-09-25 11:07:35.349",
        "end_time": "2025-09-25 11:17:11.650",
        "orig_prompt": "一幅都市奇幻艺术的场景。一个充满动感的涂鸦艺术角色。一个由喷漆所画成的少年,正从一面混凝土墙上活过来。他一边用极快的语速演唱一首英文rap,一边摆着一个经典的、充满活力的说唱歌手姿势。场景设定在夜晚一个充满都市感的铁路桥下。灯光来自一盏孤零零的街灯,营造出电影般的氛围,充满高能量和惊人的细节。视频的音频部分完全由他的rap构成,没有其他对话或杂音。",
        "video_url": "https://dashscope-result-sh.oss-cn-shanghai.aliyuncs.com/xxx.mp4?Expires=xxx"
    },
    "usage": {
        "duration": 15,
        "input_video_duration": 0,
        "output_video_duration": 15,
        "video_count": 1,
        "SR": 720
    }
}

DashScope SDK calls

The SDK parameter naming is basically consistent with the HTTP API, and the parameter structure is encapsulated according to language characteristics. Since I2V tasks take a long time (usually 1-5 minutes), the SDK encapsulates the HTTP asynchronous call process at the underlying layer, supporting both synchronous and asynchronous calls. Because image-to-video tasks take a long time (typically 1 to 5 minutes), the SDK encapsulates the HTTP asynchronous invocation process at the underlying layer and supports both synchronous and asynchronous invocation methods.

Python SDK calls

Make sure the DashScope Python SDK version is no earlier than 2.0.1 before running the following code.If the version is too old, errors such as "url error, please check url!" may be triggered. See Install SDK for updates.
Set region according to the region where the model is located (passed in when constructing the Client; the region value varies by region):
  • Beijing
  • Singapore
region="cn-beijing"
When calling the API, replace {WorkspaceId} with your actual workspace ID.
  • Synchronous call
  • > The video_url is valid for 24 hours. Download the video in a timely manner.
Request example
# -*- coding: utf-8 -*-
import dashscope
import os
from dashscope import DashScopeError

# 以下为华北2(北京)地域的配置,调用时请将 {WorkspaceId} 替换为真实的业务空间ID,各地域的region取值不同。
client = dashscope.Client(
    # 若没有配置环境变量,请用百炼API Key将下行替换为:api_key="sk-xxx"
    # 各地域的API Key不同。获取API Key:https://help.aliyun.com/zh/model-studio/get-api-key
    api_key=os.getenv("DASHSCOPE_API_KEY"),
    workspace="{WorkspaceId}",
    region="cn-beijing",
)

media = [
    {
        "type": "first_frame",
        "url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/wpimhv/rap.png"
    },
    {
        "type": "driving_audio",
        "url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/ozwpvi/rap.mp3"
    }
]

def sample_sync_call():
    print('----sync call, please wait a moment----')
    # generate 为一步式调用(提交任务并等待完成),返回已完成的 Job
    # prompt_extend:1.x 默认开启提示词智能改写;2.0 缺省由服务端决定,此处显式开启保持行为一致
    try:
        job = client.videos.generate(
            model="wan2.7-i2v-2026-04-25",
            media=media,
            resolution="720P",
            duration=10,
            watermark=True,
            prompt="一幅都市奇幻艺术的场景。一个充满动感的涂鸦艺术角色。一个由喷漆所画成的少年,正从一面混凝土墙上活过来。他一边用极快的语速演唱一首英文rap,一边摆着一个经典的、充满活力的说唱歌手姿势。场景设定在夜晚一个充满都市感的铁路桥下。灯光来自一盏孤零零的街灯,营造出电影般的氛围,充满高能量和惊人的细节。视频的音频部分完全由rap构成,没有其他对话或杂音。",
            prompt_extend=True,
        )
        print(job)
        print(job.video_url)
    except DashScopeError as e:
        print(f"HTTP返回码:{e.status_code}")
        print(f"错误码:{e.code}")
        print(f"错误信息:{e.message}")
        print("请参考文档:https://help.aliyun.com/zh/model-studio/developer-reference/error-code")

if __name__ == '__main__':
    sample_sync_call()
Response example
video_url is valid for 24 hours. Download the video in a timely manner.
{
    "request_id": "ac5faf37-ddfa-9720-a0c5-xxxxxx",
    "task_id": "b97c6d86-ad73-4bb7-80ff-xxxxxx",
    "status": "SUCCEEDED",
    "video_url": "https://dashscope-a717.oss-accelerate.aliyuncs.com/xxx.mp4?Expires=xxx",
    "task_metrics": {
        "TOTAL": 1,
        "SUCCEEDED": 1,
        "FAILED": 0
    },
    "usage": {
        "video_count": 1,
        "duration": 10,
        "input_video_duration": 0,
        "output_video_duration": 10,
        "SR": 720
    }
}

Java SDK calls

Make sure the DashScope Java SDK version is no earlier than 2.22.14 before running the following code.If the version is too old, errors such as "url error, please check url!" may be triggered. See Install SDK for updates.
Set Constants.baseHttpApiUrl based on the region where the model is located:
  • Beijing
  • Singapore
Constants.baseHttpApiUrl = "https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1"
When calling the API, replace {WorkspaceId} with your actual workspace ID.
  • Synchronous call
  • > The video_url is valid for 24 hours. Download the video in a timely manner.
Synchronous call
Request example
// Copyright (c) Alibaba, Inc. and its affiliates.

import com.alibaba.dashscope.aigc.videosynthesis.VideoSynthesis;
import com.alibaba.dashscope.aigc.videosynthesis.VideoSynthesisParam;
import com.alibaba.dashscope.aigc.videosynthesis.VideoSynthesisResult;
import com.alibaba.dashscope.exception.ApiException;
import com.alibaba.dashscope.exception.InputRequiredException;
import com.alibaba.dashscope.exception.NoApiKeyException;
import com.alibaba.dashscope.utils.Constants;
import com.alibaba.dashscope.utils.JsonUtils;

import java.util.ArrayList;
import java.util.List;

public class Image2Video {

    static {
        // 以下为华北2(北京)地域的URL。请将 {WorkspaceId} 替换为您的百炼业务空间ID,各地域的URL不同。
        Constants.baseHttpApiUrl = "https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1";
    }

    // 若没有配置环境变量,请用百炼API Key将下行替换为:apiKey="sk-xxx"
    // 各地域的API Key不同。获取API Key:https://help.aliyun.com/zh/model-studio/get-api-key
    static String apiKey = System.getenv("DASHSCOPE_API_KEY");

    public static void syncCall() {
        VideoSynthesis videoSynthesis = new VideoSynthesis();
        final String prompt = "一幅都市奇幻艺术的场景。一个充满动感的涂鸦艺术角色。一个由喷漆所画成的少年,正从一面混凝土墙上活过来。他一边用极快的语速演唱一首英文rap,一边摆着一个经典的、充满活力的说唱歌手姿势。场景设定在夜晚一个充满都市感的铁路桥下。灯光来自一盏孤零零的街灯,营造出电影般的氛围,充满高能量和惊人的细节。视频的音频部分完全由他的rap构成,没有其他对话或杂音。";
        List<VideoSynthesisParam.Media> media = new ArrayList<VideoSynthesisParam.Media>(){{
            add(VideoSynthesisParam.Media.builder()
                    .url("https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/wpimhv/rap.png")
                    .type("first_frame")
                    .build());
            add(VideoSynthesisParam.Media.builder()
                    .url("https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/ozwpvi/rap.mp3")
                    .type("driving_audio")
                    .build());
        }};
        VideoSynthesisParam param =
                VideoSynthesisParam.builder()
                        .apiKey(apiKey)
                        .model("wan2.7-i2v-2026-04-25")
                        .prompt(prompt)
                        .media(media)
                        .watermark(true)
                        .duration(10)
                        .resolution("720P")
                        .build();
        VideoSynthesisResult result = null;
        try {
            System.out.println("---sync call, please wait a moment----");
            result = videoSynthesis.call(param);
        } catch (ApiException | NoApiKeyException e){
            throw new RuntimeException(e.getMessage());
        } catch (InputRequiredException e) {
            throw new RuntimeException(e);
        }
        System.out.println(JsonUtils.toJson(result));
    }

    public static void main(String[] args) {
        syncCall();
    }
}

Error codes

If a model call fails and returns an error message, see Error codes to resolve the issue.

FAQ

Q: How do I generate a video with a specific aspect ratio (such as 3:4)?

A: The aspect ratio of the output video is determined by the input material (first frame image or first video clip), but it cannot be guaranteed to strictly equal the input ratio (for example, an exact 3:4). The actual output may have a slight deviation. The following uses "inputting a first frame image" as an example to explain the specific logic:
  • Why is there a deviation?
    • Execution logic: The input image's ratio is used as the baseline ratio reference. Combined with the target total pixels of the resolution tier and the requirement that video width and height must be multiples of 16 (video encoding specification), the system automatically fine-tunes the output to the nearest valid resolution.
    • Calculation example: Input a first frame image of 750×1000 (aspect ratio 3:4 = 0.75) and set resolution = "720P" (target total pixels of approximately 920,000). The actual output video resolution is 816×1104 (aspect ratio ≈ 0.739, total pixels of approximately 900,000).
  • Best practices:
    • Input control: Use a first frame image or first video clip that matches the target ratio as the input whenever possible.
    • Post-processing: If you have strict requirements on the ratio, after the video is generated, use an editing tool to perform simple cropping or black-bar padding.

Q: How do I obtain the domain whitelist for accessing video storage?

A: Videos generated by the model are stored in Alibaba Cloud OSS, and the API returns a temporary public URL. If you need to configure a firewall whitelist for this download URL, note that the underlying storage changes dynamically based on business conditions. To prevent expired information from affecting access, this document does not provide a fixed OSS domain whitelist. If you have security control requirements, contact your account manager to obtain the latest list of OSS domains.