虚拟形象Alibaba新增

Wan 2.2 S2V

从照片和音频进行语音转视频

model: "wan-2.2-s2v"

API 文档代理文档

模式

一个模型ID,支持下列所有模式。您发送的字段决定模式,价格随模式而定。

模式选择方式典型价格
音频生成视频image_urlaudio_url
请求示例
{
  "model": "wan-2.2-s2v",
  "input": {
    "image_url": "https://example.com/image.jpg",
    "audio_url": "https://example.com/audio.mp3",
    "prompt": "a lighthouse at dusk"
  }
}
$0.500

输入

必需

Scene Description

必需

Front-facing photo to animate. A public https URL, or an upload URL from POST /v1/uploads.

必需

Speech audio to drive the motion (max 7.5s). A public https URL, or an upload URL from POST /v1/uploads.

可选

Resolution

高级选项 (5)

主要控件之外的提供商设置。保持为空可使用模型的默认值。

可选
-

How strictly the model follows the prompt. Higher is more literal.

可选

What the result should avoid.

可选
-

Denoising steps. More is slower and can add detail.

可选

Random seed. The same seed and input reproduce the same result.

可选
-

Timestep shift for the sampler.

结果

示例输出

该模型的真实结果。运行它可在此处查看您的输出。

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "wan-2.2-s2v",
  "input": {
    "prompt": "Studio portrait of a 25-year-old Peruvian woman with long dark waves, wearing an off-shoulder rust-orange blouse, ivory backdrop, golden-hour rim lighting, photorealistic, shoulders-up, bright curious expression."
  }
}'