视频Alibaba新增

Wan 2.6

最新Wan,电影级且多功能

model: "wan-2-6"

API 文档代理文档

模式

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

模式选择方式典型价格
文本生成视频prompt
请求示例
{
  "model": "wan-2-6",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.500
图像生成视频image_url
请求示例
{
  "model": "wan-2-6",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.500

输入

必需

Prompt

可选

First frame to animate (image-to-video). Leave it out for text-to-video.

可选
5

Duration (seconds)

可选

Aspect Ratio

高级选项 (3)

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

可选

Let the model expand a short prompt before generating.

可选

What the result should avoid.

可选

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

结果

示例输出

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

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "wan-2-6",
  "input": {
    "prompt": "A dust devil lifts loose hay from a freshly cut Provence field and carries the golden vortex between two stone barn walls. Camera drifts handheld, following the spiral with slight sway, sunlight filtering through the spinning column. Hay strands orbit and rise, casting fast-moving shadows on worn limestone. Warm afternoon light, dry summer air, the vortex fraying at its peak as it crosses the frame."
  }
}'