数字人wan2.2-s2v视频生成
接口:POST /qwen/api/v1/services/aigc/image2video/video-synthesis/ 归属:视频模型/qwen视频模型 调用地址:Base URL https://api.allyang.cn(OpenAI 兼容前缀 https://api.allyang.cn/v1)+ 上述路径 鉴权:请求头 Authorization: Bearer <你的令牌>;令牌在控制台「令牌管理」创建 说明:下方为本接口契约。路径、字段名与枚举取值与线上接口一致;叙述文字已按本平台口径重写。价格、并发与限流等数值以控制台及实际返回为准,未确认处标注「待补」。
OpenAPI Specification
yaml
openapi: 3.0.1
info:
title: ''
description: ''
version: 1.0.0
paths:
/qwen/api/v1/services/aigc/image2video/video-synthesis/:
post:
summary: 数字人wan2.2-s2v视频生成
description: "数字人能力,基于单张图片与音频产出口型自然的说话、唱歌、表演视频(模型 wan2.2-s2v)。音频驱动:用人声驱动静态图片里的人物,让口型、表情、动作跟上音频。场景:说话、唱歌、表演三种。人物:真人(肖像/半身/全身)与卡通形象均可。输出:480P 或 720P 两档。"
tags:
- 视频模型/qwen视频模型
parameters:
- name: X-DashScope-Async
in: header
description: ''
required: true
example: enable
schema:
type: string
- name: Content-Type
in: header
description: ''
required: true
example: application/json
schema:
type: string
- name: Authorization
in: header
description: ''
required: false
example: Bearer {{YOUR_API_KEY}}
schema:
type: string
default: Bearer {{YOUR_API_KEY}}
requestBody:
content:
application/json:
schema:
type: object
properties:
model:
type: string
input:
type: object
properties:
image_url:
type: string
description: "上传图片的公网 URL(HTTP/HTTPS)。格式 jpg、jpeg、png、bmp、webp;宽高均落在 [400, 7000] 像素;本地文件先上传换取临时 URL。"
audio_url:
type: string
description: "上传音频的公网 URL,需为 HTTP/HTTPS 协议,本地文件先上传换取临时 URL。格式 wav 或 mp3;体积小于 15M、时长小于 20s;音频中需有清晰响亮的人声,且已去除环境噪音与背景音乐。"
required:
- image_url
- audio_url
parameters:
type: object
properties:
resolution:
type: string
description: "分辨率档位,可选 480P 或 720P,默认 480P。模型尽量保持与输入图相同的宽高比,只把总像素对齐到所选档位。"
required:
- model
- input
- parameters
example:
model: wan2.2-s2v
input:
image_url: >-
https://api.allyang.cn/<外部地址已按合规要求移除>
audio_url: >-
https://api.allyang.cn/<外部地址已按合规要求移除>
parameters:
resolution: 480P
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties: {}
headers: {}
security: []
components:
schemas: {}
securitySchemes: {}
servers: []
security: []