seedance-2.0-global-fast-multi API
Seedance 2.0 共有 18 个公开型号:Standard、Fast、Mini 三档,每档都有文生视频(t2v)、首尾帧图生视频(i2v)和图像、视频、音频混合参考(multi)。不带 global 的是国内版,带 global- 的是海外版。
在线试用 · 获取 API Key · 查看文档
模型能力
- 模型
- 视频
- API 模型
seedance-2.0-global-fast-multi- 接口
- POST /v1/videos, GET /v1/videos/{id}
- 参数
- prompt (required), seconds: 4–15, metadata.duration: -1 (auto), metadata.resolution: 480p / 720p / 1080p / 2k / 4k (Standard: native1080p / native4k), metadata.ratio: adaptive / 16:9 / 4:3 / 1:1 / 3:4 / 9:16 / 21:9, metadata.seed, metadata.generate_audio, images: 1–2 (i2v), metadata.content: ≤9 images, ≤3 videos, ≤3 audio (multi)
实时价格
≈¥1.57–18.64 每次请求
画廊样例
园API 模型:
seedance-2.0-global-fast-multi时长 12 秒,16:9,实拍感国风短片,日落前的颐和园长廊。 参考 @Image1 的长廊与环境光:深绿色圆形立柱、柱顶朱红挂落与蓝绿彩绘、梁下一排排山水框心; 两侧都是红木步步锦栏杆、压顶青绿色;左侧栏杆外是成排柏树与假山石,右侧栏杆外是昆明湖、 湖面一条金色反光带,对岸是万寿山、山腰佛香阁与白色廊桥;地面是大块灰白石板、接缝清晰, 斜阳把柱影拉成一条条长条;长廊正中轴与透视消失点保持在画面中央。不继承它的静止瞬间。 参考@Image5 中女子的正脸(这是唯一的脸型标准:脸正对镜头、两肩平齐):窄长脸、下颌线清晰、 鼻梁细直、唇形偏薄;眼白带一点灰不是纯白,唇部有唇纹。 参考 @Ima
夕阳球场的黄衣白褶裙API 模型:
seedance-2.00–3s A confident young athletic woman walks onto a professional outdoor badminton court during golden hour. She wears a **bright yellow athletic T-shirt, a white pleated sports skirt, white ankle socks, white sports shoes, and a white baseball cap**. She twirls her badminton racket as the morning su
红金泰拳裤的腾空侧踢API 模型:
seedance-2.0Video Prompt — Duration: Exactly 15 seconds (12 scenes, approximately 1.25 seconds each) Aspect Ratio: 16:9 Style: Ultra-realistic cinematic live action, premium sports commercial, ARRI Alexa 35, Panavision anamorphic lenses, realistic film grain, high shutter speed during impacts, natural motion
她比夜色先吻我API 模型:
seedance-2.0-global-fast-multi【视频时长】15秒 【场景】 深夜豪华公寓,落地窗外是城市灯光,室内只有柔和暖黄色灯光。 【人物服装】 闻知意:黑色真丝衬衫。 沈弥:奶白色丝质长裙,长发自然披落。 【0—4秒】 沈弥站在落地窗前,缓缓转身。 闻知意站在她面前。 两个人安静地看着彼此。 沈弥: 「你是不是喜欢我?」 【4—8秒】 闻知意没有马上回答。 她缓缓抬起手,指尖轻轻触碰沈弥的脸颊。 闻知意: 「因为我不想只做你的喜欢。」 沈弥眼神微微颤动。 【8—12秒】 沈弥主动靠近半步。 闻知意低头。 两人的额头轻轻相抵。 镜头从侧面缓慢环绕。 【12—15秒】 闻知意轻轻吻上沈弥。 沈弥闭上眼睛,手轻轻搭在闻知意
快速开始
示例流程:先用 t2v 只写提示词生成 5 秒样片;要固定开头画面或首尾画面,改用 i2v,在 images 中放 1–2 张图(每张不超过 30 MB);要参考视频动作、换人或配音时用 multi,在 metadata.content 中依次放入图片、视频和音频,并在提示词里用 @Image 1、@Video 1 指代。所有型号都必须填写 prompt。时长 4–15 秒,自动时长请传 metadata.duration: -1。multi 最多 9 张图、3 段视频、3 段音频;加入参考视频会按含视频费率计价,并计入输入视频时长。1080p、2k、4k 为超分档位,按秒加收费用;Standard 另有 native1080p 和 native4k。i2v 与 multi 始终开启真人模式。
cURL
curl --fail-with-body https://www.zzai.app/v1/videos \
-H "Authorization: Bearer $SEEDANCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"metadata":{"content":[{"image_url":{"url":"https://your-cdn.example/person.png"},"type":"image_url"},{"type":"video_url","video_url":{"url":"https://your-cdn.example/source.mp4"}}],"resolution":"720p"},"model":"seedance-2.0-global-fast-multi","prompt":"Replace the person in @Video 1 with the person in @Image 1, keep the camera motion.","seconds":"5"}'Python
import json, os, requests
payload = json.loads(r'''{"metadata":{"content":[{"image_url":{"url":"https://your-cdn.example/person.png"},"type":"image_url"},{"type":"video_url","video_url":{"url":"https://your-cdn.example/source.mp4"}}],"resolution":"720p"},"model":"seedance-2.0-global-fast-multi","prompt":"Replace the person in @Video 1 with the person in @Image 1, keep the camera motion.","seconds":"5"}''')
response = requests.post(
"https://www.zzai.app/v1/videos",
headers={"Authorization": "Bearer " + os.environ["SEEDANCE_API_KEY"]},
json=payload, timeout=120,
)
response.raise_for_status()
print(response.json()["id"])JavaScript
const response = await fetch("https://www.zzai.app/v1/videos", {
method: 'POST',
headers: { Authorization: 'Bearer ' + process.env.SEEDANCE_API_KEY, 'Content-Type': 'application/json' },
body: JSON.stringify({"metadata":{"content":[{"image_url":{"url":"https://your-cdn.example/person.png"},"type":"image_url"},{"type":"video_url","video_url":{"url":"https://your-cdn.example/source.mp4"}}],"resolution":"720p"},"model":"seedance-2.0-global-fast-multi","prompt":"Replace the person in @Video 1 with the person in @Image 1, keep the camera motion.","seconds":"5"}),
});
if (!response.ok) throw new Error(await response.text());
console.log((await response.json()).id);提交后保存返回的 id,替换查询示例中的 TASK_ID。每隔 3–5 秒查询一次,直到成功或失败;提交成功不等于生成完成。成功后及时保存结果文件。 status: completed / failed; metadata.url.
curl --fail-with-body https://www.zzai.app/v1/videos/$TASK_ID \
-H "Authorization: Bearer $SEEDANCE_API_KEY"常见问题
如何调用这个模型?
创建 API Key,使用下方模型名,并按照文档中的 OpenAI 兼容接口发送请求。最终费用以当前价格和实际参数结算。