万次元AI
get key

阿里巴巴

Wan 2.7 Image-to-Video API

alibaba/wan-2.7/image-to-video

全流程视频套件,1080p 原生画面加同步音频,最多 5 个角色参考。

  • 1080p
  • 15 秒
  • 5 角色参考

Introduction

全流程视频套件,1080p 原生画面加同步音频,最多 5 个角色参考。

Key Features

  • 1080p
  • 15 秒
  • 5 角色参考

Technical Details

  • model — alibaba/wan-2.7/image-to-video
  • task — image-to-video
  • prompt — string · required
  • aspect_ratio — 1:1 · 4:3 · 3:4 · 16:9 · 9:16
  • resolution — 1080p
  • duration — 1 – 15 sec
  • generate_audio — boolean · default true

Performance

  • 同步原生音频,无需二次合成
  • 最高输出 1080p
  • 单次最长 15 秒

Use Cases

  • 广告素材批量生成与变体测试
  • 短剧与分镜预演
  • 商品视觉与虚拟试穿
  • 游戏与 3D 资产原型

code samples

curlopenai compatible
curl -X POST https://api.waninter.com/v1/generations \
  -H "Authorization: Bearer $AIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "alibaba/wan-2.7/image-to-video",
    "task": "image-to-video",
    "prompt": "A neon-lit alley after rain, 35mm, shallow depth of field",
    "resolution": "1080p"
  }'
pythonsdk
from aio_gateway import Client

client = Client()

job = client.generations.create(
    model="alibaba/wan-2.7/image-to-video",
    task="image-to-video",
    prompt="A neon-lit alley after rain, 35mm, shallow depth of field",
)

result = job.wait()
print(result.output_url)

quickstart

  1. 01

    安装

  2. 02

    认证

  3. 03

    提交请求

  4. 04

    检查状态

  5. 05

    上传文件

相关端点

查看全部