阿里云万相Wan2.1-VACE-Plus视频编辑统一模型指南:能力、价格及免费额度说明

Wan2.1-VACE-Plus是阿里云万相的视频编辑统一模型,支持局部编辑、视频重绘、背景扩展、时长延展、图片参考等多种视频编辑与生成任务,支持文本、图像、视频等多模态条件控制。码笔记mabiji.com分享模型能力、模型价格、免费额度、模型限流与上下文及API代码示例:

Wan2.1-VACE-Plus模型能力

输入支持:文本、图片和视频,输出为视频,因为是视频模型,所以function calling、结构化输出、联网搜索、前缀续写、cache缓存、批量推理及模型调优均不支持,如下图:

模型价格

视频生成(std)费用是:0.7元/每秒,在阿里云CLUB中心:aliyun.club 免费领取优惠券

免费额度

不支持免费体验,其他模型可以在阿里云百炼平台:https://t.aliyun.com/U/fPVHqY 免费领取千万Tokens

模型限流与上下文

RPM:120,其他如最大输入长度、最大输出长度及上下文长度均不涉及

API代码示例

import os
from http import HTTPStatus
from dashscope import ImageSynthesis
import dashscope

dashscope.base_http_api_url = 'https://ws-ogyz1pi726j242ib.cn-beijing.maas.aliyuncs.com/api/v1'

# --- 准备工作:确保 API Key 已设置 ---
api_key = os.getenv("DASHSCOPE_API_KEY")


mask_image_url = "http://wanx.alicdn.com/material/20250318/description_edit_with_mask_3_mask.png"
base_image_url = "http://wanx.alicdn.com/material/20250318/description_edit_with_mask_3.jpeg"


def sample_sync_call_imageedit():
    print('please wait...')
    rsp = ImageSynthesis.call(api_key=api_key,
                              model="wanx2.1-vace-plus",
                              function="description_edit_with_mask",
                              prompt="陶瓷兔子拿着陶瓷小花",
                              mask_image_url=mask_image_url,
                              base_image_url=base_image_url,
                              n=1)
    assert rsp.status_code == HTTPStatus.OK

    print('response: %s' % rsp)
    if rsp.status_code == HTTPStatus.OK:
        for result in rsp.output.results:
            print("---------------------------")
            print(result.url)
    else:
        print('sync_call Failed, status_code: %s, code: %s, message: %s' %
              (rsp.status_code, rsp.code, rsp.message))


if __name__ == '__main__':
    sample_sync_call_imageedit()

云服务器租用优惠价格,2026年最新: