seedance-2.0 AI 视频 API
seedance-2.0 可通过 Flatkey 使用,适用于视频生成;Flatkey 通过 /v1/videos 路由此模型,供应商为 ByteDance。$0.037181 per second。
输出
预览使用 Seedance 2.0 生成
请求摘要
- 接口
- POST /v1/videos
- 模型 ID
- seedance-2.0
- 画面比例
- 9:16
- 分辨率
- 1080p
- 时长
- 5s
- 生成音频
- 关
- 参考媒体
- 无
仅供预览。登录后即可向 Flatkey 提交此请求。
{
"model": "seedance-2.0",
"content": [
{
"type": "text",
"text": "Creative direction: A coral-orange insulated bottle stands on a wet dark-teal studio surface beside a clear glass and a few ice cubes. One adult hand unscrews the cap and pours cold water over the ice, then sets the bottle beside the filled glass. End on a clean product hero frame with both bottle and glass visible.\n\nVisual treatment: Photoreal product commercial. A soft overhead key reveals the matte coral finish; a cool cyan edge light picks out condensation and the restrained floor reflection.\n\nShot sequence: 1. Open on condensation and ice in a tight detail shot; 2. Cut to a steady three-quarter view for the cap opening and single pour; 3. Settle on the bottle and chilled glass together, with the bottle silhouette unobstructed\n\nContinuity: Keep the product silhouette, cap or hinge, materials and prop positions stable; hold the final hero frame.\nExclude: extra people or props, text, logos and watermarks."
}
],
"resolution": "1080p",
"ratio": "9:16",
"duration": 5,
"camera_fixed": false,
"generate_audio": false,
"return_last_frame": false
}API 性能
seedance-2.0 API 可靠性与可用性
当生产流量达到足够规模后,这里会显示 seedance-2.0 的 Flatkey 实时请求遥测数据。
API 活动
seedance-2.0 API 使用量与请求活动
查看最近统计窗口内 seedance-2.0 的请求量和成功推理活动。
seedance-2.0 价格
seedance-2.0 API 价格与计费
下方价格来自当前模型的 Flatkey 定价数据,以及定价 API 返回的可见分组。
充值余额
图像、视频、音频和文本模型共用同一个 Flatkey 余额和 API Key。
- 模型类型
- 文生视频
- API
- /v1/videos
- 计费依据
- 秒
- 时长
- –s
- 画面比例
- 16:9 · 9:16 · 1:1 · 4:3 · 3:4
seedance-2.0 AI 视频生成器与 API: 核心能力
ByteDance 的 seedance-2.0 路由支持 文本 · 图像 · 视频。目录分类:Marketing。
seedance-2.0视频生成
通过 /v1/videos 将文字简报转换为视频生成结果。
seedance-2.0参考工作流
当 seedance-2.0 路由接受参考媒体或上下文时,可使用已有参考进行创作。
seedance-2.0渠道适配版本
将一个创意调整为店铺、营销活动或内容流水线所需的不同版本。
seedance-2.0生产交接
将确认后的结果从提示词探索带入可重复的 Flatkey 生成工作流。
对比
seedance-2.0 API 对比:能力与访问方式
在调整集成前,将 seedance-2.0 的目录事实与上一代基线进行对比。
| 能力 | 上一代 | seedance-2.0 |
|---|---|---|
| 供应商 | 此目录快照未验证 | ByteDance |
| 模态 | 此目录快照未验证 | 文本 · 图像 · 视频 |
| 上下文 | 此目录快照未验证 | 目录未列出上下文窗口 |
| 端点 | 此目录快照未验证 | /v1/videos |
| 计费 | 此目录快照未验证 | $0.037181 per second |
接入前先选对请求方式
核对支持的工作流、当前配置的实时费用,以及 Flatkey 实际使用的参数契约。
当目录提供固定单价时,根据当前 Playground 配置和实时目录价格计算。
- 当前配置
- 1080p · 5s
- 实时单价
- from $0.205578 / 秒
- 本次预估
- $1.02789 $0.205578 × 5s
最终费用以实际提交的请求和账户分组为准。Token 或分层计费无法简化成一个固定预估值。
工作流与 Model ID
只使用标记为可用的工作流。Flatkey 对外保持一个模型 ID,由请求体选择输入方式。
文生视频
通过文本提示词和支持的输出参数生成视频。
- 模型 ID
seedance-2.0- 接口
/v1/videos
图生视频
让一张或多张参考图动起来,并尽量保持主体与构图。
- 模型 ID
seedance-2.0- 接口
/v1/videos
参考生视频
使用已文档化的图片、视频或音频参考素材指导结果。
- 模型 ID
seedance-2.0- 接口
/v1/videos
视频编辑
在路由支持时编辑已有视频。
- 模型 ID
seedance-2.0- 接口
/v1/videos
视频续写
在路由支持时续写已有视频。
- 模型 ID
seedance-2.0- 接口
/v1/videos
参数兼容矩阵
以下取值与 Playground 和请求预览使用同一份模型配置。
resolution分辨率720p · 1080p
默认值: 1080pratio画面比例16:9 · 9:16 · 1:1 · 4:3 · 3:4
默认值: 16:9duration时长5 · 10
默认值: 5frames帧数0–240
默认值: 0camera_fixed固定镜头开 · 关
默认值: 关generate_audio生成音频开 · 关
默认值: 关return_last_frame返回尾帧开 · 关
默认值: 关seed随机种子0–2147483647
默认值: 0image参考素材上限30 个文件
接口: /v1/videosvideo参考素材上限10 个文件
接口: /v1/videosaudio参考素材上限10 个文件
接口: /v1/videos从首次测试到生产接入
Playground 与 API 使用同一套请求契约,并明确处理参数校验、余额、任务状态和产物获取。
请求生命周期
- 1
校验模型、提示词、参考素材和输出设置。
- 2
提交 POST 请求并保存返回的任务 ID。
- 3
轮询任务状态或处理已配置的回调。
- 4
从产物接口获取文件,并在失效前保存到自己的存储。
生产检查项
提交前拦截不支持的尺寸、时长、比例、格式或参考素材数量。
分别处理无效密钥、余额不足、限流和账户分组价格。
明确指出被拒绝的提示词或素材,让用户只替换失败的输入。
保留任务 ID,限制重试次数,且不能把超时当成生成成功。
提示词库
seedance-2.0 视频生成提示词示例
先使用一个面向视频生成的 seedance-2.0 提示词,再调整 Playground 中显示的请求字段。
使用 Seedance 2.0 生成
Creative direction: An original hand-drawn adult woman in a yellow raincoat waits on a rain-soaked railway platform beside a red umbrella. She opens and reads a white letter; the camera pushes from the platform view into her worried close-up and holds on her reaction. Visual treatment: Rainy anime drama with cool platform light and yellow-red costume accents. Shot sequence: 1. Establish the yellow raincoat and red umbrella on the wet platform.; 2. Move closer as the woman opens the white letter and lowers her gaze.; 3. Hold her worried close-up with the letter still below her eyeline. Continuity: Keep the character's face, clothing and key prop consistent; preserve screen direction across cuts. Exclude: extra people or props, text, logos and watermarks.
使用 Seedance 2.0 生成
Creative direction: A coral-orange insulated bottle stands on a wet dark-teal studio surface beside a clear glass and a few ice cubes. One adult hand unscrews the cap and pours cold water over the ice, then sets the bottle beside the filled glass. End on a clean product hero frame with both bottle and glass visible. Visual treatment: Photoreal product commercial. A soft overhead key reveals the matte coral finish; a cool cyan edge light picks out condensation and the restrained floor reflection. Shot sequence: 1. Open on condensation and ice in a tight detail shot; 2. Cut to a steady three-quarter view for the cap opening and single pour; 3. Settle on the bottle and chilled glass together, with the bottle silhouette unobstructed Continuity: Keep the product silhouette, cap or hinge, materials and prop positions stable; hold the final hero frame. Exclude: extra people or props, text, logos and watermarks.
使用 Seedance 2.0 生成
Creative direction: A man enters an old circular observatory at dawn and approaches a vintage telescope beneath the dome. Begin behind him in a wide view, track inward as a warm shaft crosses the instrument, then hold on the telescope against the cool interior. Visual treatment: Live-action film previs with warm dawn shafts against a cool aged interior. Shot sequence: 1. Frame the man entering the circular observatory from behind.; 2. Track his approach as dawn light crosses the vintage telescope.; 3. Settle with the telescope and figure against the cool dome interior. Continuity: Maintain scene geography, subject scale and motivated light direction throughout the camera move. Exclude: extra people or props, text, logos and watermarks.
使用 Seedance 2.0 生成
Creative direction: An orange-suited astronaut walks through a dark hangar toward a massive grounded machine. The camera follows from behind as work lights flicker on and the machine powers up with blue-white light, ending on the figure beneath its scale. Visual treatment: Science-fiction game cinematic with orange fabric, dark metal and blue-white practical lights. Shot sequence: 1. Follow the orange-suited astronaut from behind into the hangar.; 2. Continue forward as work lights illuminate the grounded machine.; 3. Hold the small figure beneath the machine as blue-white power light stabilizes. Continuity: Maintain character design, equipment geometry and travel direction from first to final frame. Exclude: extra people or props, text, logos and watermarks.
使用 Seedance 2.0 生成
Creative direction: A researcher at a wooden table unrolls an old map, traces a route with one finger, and examines a marked point with a small brass instrument. Alternate between the hands, parchment details, and a measured medium view of the archival workspace. Visual treatment: Live-action archival demonstration with warm parchment, brass and natural skin texture. Shot sequence: 1. Show the researcher unrolling parchment on the wooden table.; 2. Cut closer as one finger follows the route and the brass instrument approaches the marked point.; 3. Return to a measured medium view with the map orientation unchanged. Continuity: Keep demonstration props, layout and hand contact consistent so the action remains legible. Exclude: extra people or props, text, logos and watermarks.
使用 Seedance 2.0 生成
Creative direction: A male musician performs on an electronic keyboard and sampler in a blue-and-purple studio. Cut between his focused medium profile and close views of both hands playing keys and controls while colored practical lights remain steady behind him. Visual treatment: Live-action studio performance with saturated blue-purple practical light. Shot sequence: 1. Establish the musician in profile at the keyboard and sampler.; 2. Cut to fingers depressing keys and then operating the sampler.; 3. Return to the profile while the blue-purple practical lights stay steady. Continuity: Keep the main subject, palette and light behavior consistent as the visual pattern develops. Exclude: extra people or props, text, logos and watermarks.
为什么使用 seedance-2.0 API
为什么通过 Flatkey 使用 seedance-2.0?
通过一个网关管理 seedance-2.0、账户控制以及模型目录中的其他模型。
一个 API 使用 seedance-2.0
明确保留 seedance-2.0 模型 ID 和端点,同时与其他工作负载共用 Flatkey 密钥。
实时目录价格
发送请求前查看当前 seedance-2.0 计费维度,并在账户中确认最终预估。
实用的模型交接
在公开 Playground 中测试 seedance-2.0 提示词,再将相同设置带入经过身份验证的集成。
用量与路由控制
集中管理 seedance-2.0 的密钥、配额和路由,无需改变应用面向供应商的工作流。
seedance-2.0 API
seedance-2.0 API 集成指南
使用上方模型 ID 调用 /v1/videos;为当前路由保留已记录的请求字段和计费单位。
curl https://router.flatkey.ai/v1/videos \ -H "Content-Type: application/json" \ -H "Authorization: Bearer sk-***" \ -d '{"model":"seedance-2.0","content":[{"type":"text","text":"Creative direction: An original hand-drawn adult woman in a yellow raincoat waits on a rain-soaked railway platform beside a red umbrella. She opens and reads a white letter; the camera pushes from the platform view into her worried close-up and holds on her reaction.\n\nVisual treatment: Rainy anime drama with cool platform light and yellow-red costume accents.\n\nShot sequence: 1. Establish the yellow raincoat and red umbrella on the wet platform.; 2. Move closer as the woman opens the white letter and lowers her gaze.; 3. Hold her worried close-up with the letter still below her eyeline.\n\nContinuity: Keep the character'"'"'s face, clothing and key prop consistent; preserve screen direction across cuts.\nExclude: extra people or props, text, logos and watermarks."}],"ratio":"16:9","resolution":"1080p","duration":5,"generate_audio":false}' # Poll for the result (replace TASK_ID with the returned task id) curl "https://router.flatkey.ai/v1/videos/TASK_ID" \ -H "Authorization: Bearer sk-***"
常见问题
seedance-2.0 API
价格、功能与使用常见问题
关于 seedance-2.0 价格、能力、端点访问和目录限制的答案。