视频Alibaba新增

Wan 3.0

具有全模态参考的30秒单次生成AI视频

model: "wan-3"

API 文档代理文档

模式

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

模式选择方式典型价格
文本生成视频prompt
请求示例
{
  "model": "wan-3",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.250
图像生成视频image_url
请求示例
{
  "model": "wan-3",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.250
首尾帧image_urlend_image_url
请求示例
{
  "model": "wan-3",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg",
    "end_image_url": "https://example.com/image-2.jpg"
  }
}
$0.250
参考生成视频reference_imagesreference_video_urlsreference_audio_urls
请求示例
{
  "model": "wan-3",
  "input": {
    "prompt": "a lighthouse at dusk",
    "reference_images": [
      "https://example.com/image.jpg",
      "https://example.com/image-2.jpg"
    ]
  }
}
$0.250

输入

必需

Describe the scene, motion, and style for your video

可选

Provide an image to animate, or leave empty for text-to-video. A public https URL, or an upload URL from POST /v1/uploads.

可选

Image for the final frame of the video. A public https URL, or an upload URL from POST /v1/uploads.

可选

Render native audio with the video

可选

Reference images (https URLs). Two or more images in total (with image_url) make a reference video: the subjects and style are carried into a new scene rather than animated from the first frame.

可选

Reference videos (https URLs) for motion or style. Selects reference video.

可选

Reference audio (https URLs). Selects reference video.

可选
5

Duration (seconds)

可选

Aspect Ratio

可选

Resolution

可选

Let the model rewrite your prompt for detail. Turning it off is faster but usually lower quality

可选

Seed

结果

示例输出

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

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "wan-3",
  "input": {
    "prompt": "A weathered red bell buoy rolling in a heavy grey swell off a rocky headland at first light, its bronze bell swinging and tolling with every roll, seawater streaming off the rusted steel, gulls wheeling low through cold mist, slow cinematic shot held just above the waterline, the tolling bell and the breaking sea the point of the shot"
  }
}'