万相2.7-图生视频,演绎能力全面升级,文戏情感细腻自然,动作戏激烈拳拳到肉,搭配更富有戏剧性和节奏感的镜头切换,实现更强表演能力。
| 720P | ¥0.600 / per second |
| 1080P | ¥1.00 / per second |
Video is billed by duration. Unlisted resolutions use the fallback price. Duration is rounded up to the billing unit.
Every route uses the price above. Routes are not priced per token.
| Provider | Latency | Uptime | Status |
|---|---|---|---|
dashscope dashscope/wan2.7-i2v | 39ms | 100.00% |
from openai import OpenAI
client = OpenAI(
base_url="https://api.openroute.cn/v1",
api_key="<ONTOROUTE_API_KEY>",
)
video = client.videos.create(
model="dashscope/wan2.7-i2v",
prompt="A video of a cool cat on a motorcycle in the night",
size="1280x720",
seconds="8",
)
print(video.id, video.status)
# 轮询
import time
while video.status not in ("completed", "failed"):
time.sleep(10)
video = client.videos.retrieve(video.id)
if video.status == "completed":
print(video.video_url)
else:
print(video.error)暂无调用数据
This model does not publish tunable parameters.