seedance-2.0-mini AI 视频 API

公开页会先在本地保存 prompt 和参数,再把用户带到 Flatkey。

图生视频参考引导视频音频生成短视频
供应商
OpenAI
Flatkey 价格
最低价格
$0.014764 起/ 秒$0.021092 起/ 秒

此处为最低价格。实际生成费用会随控制台所选的生成模式、分辨率、时长、音频等参数变化。

生成器配置 · Playground(注册前可编辑)

输入

提示词查看更多715 / 10000
快捷 Prompt
参考图片0 / 30
参考视频0 / 10
参考音频0 / 10
开始生成

输出

预览

使用 Seedance 2.0 生成

请求摘要

接口
POST /v1/videos
模型 ID
seedance-2.0-mini
画面比例
16:9
分辨率
1080p
时长
5s
生成音频
关
参考媒体
无

仅供预览。登录后即可向 Flatkey 提交此请求。

请求预览
{
  "model": "seedance-2.0-mini",
  "content": [
    {
      "type": "text",
      "text": "Creative direction: A blue paper planet and an orange paper sun sit on a clean tabletop. An orange strip curls into an orbital ring, and the blue sphere rolls around the sun for one complete paper-craft orbit under a fixed overhead camera.\n\nVisual treatment: Paper-craft science animation with blue-orange contrast and visible folded edges.\n\nShot sequence: 1. Establish the blue planet and orange sun from directly above.; 2. Curl the orange strip into an orbital ring.; 3. Roll the planet through one complete orbit, ending at its starting position.\n\nContinuity: Keep demonstration props, layout and hand contact consistent so the action remains legible.\nExclude: extra people or props, text, logos and watermarks."
    }
  ],
  "resolution": "1080p",
  "ratio": "16:9",
  "duration": 5,
  "camera_fixed": false,
  "generate_audio": false,
  "return_last_frame": false
}
加载中...

价格与计费

seedance-2.0-mini 价格与计费

下方价格来自当前模型的 Flatkey 定价数据,以及定价 API 返回的可见分组。

Flatkey 价格

价格与计费

实时目录模型
最低价格
$0.014764 起/ 秒$0.021092 起/ 秒

此处为最低价格。实际生成费用会随控制台所选的生成模式、分辨率、时长、音频等参数变化。

480p · 价格 / 秒
$0.014764 起/ 秒$0.021092 起/ 秒
720p · 价格 / 秒
$0.031752 起/ 秒$0.04536 起/ 秒
先试 prompt
共用余额

充值余额

充值余额

图像、视频、音频和文本模型共用同一个 Flatkey 余额和 API Key。

模型目录
模型类型
文生视频
API 接入
/v1/videos
计费依据
秒
时长
–s
画面比例
16:9 · 9:16 · 1:1 · 4:3 · 3:4

核心能力与工程价值

适合产品视频、广告创意和图生视频制作

文生视频

创建产品镜头、社媒短片和故事场景,并控制运动与构图。

参考引导的运动

使用图片、视频和音频参考,保持主体与创意方向一致。

镜头与节奏

在交给 API 前配置画面比例、分辨率、时长和声音。

生产路由

在一个 Flatkey 账号中管理用量、Key、额度和模型路由。

对比

看看当前版本相比上一代有哪些变化,再决定是否迁移。

迁移前,对比当前模型与上一代模型。

能力seedance-2-0-miniseedance-2.0-mini
模型 IDseedance-2-0-miniseedance-2.0-mini
模态文生视频文生视频
上下文参考媒体参考媒体
API 接入兼容 OpenAI 的迁移路径兼容 OpenAI 的迁移路径
适合场景适合产品视频、广告创意和图生视频制作适合产品视频、广告创意和图生视频制作

接入前先选对请求方式

核对支持的工作流、当前配置的实时费用,以及 Flatkey 实际使用的参数契约。

实时费用估算

当目录提供固定单价时,根据当前 Playground 配置和实时目录价格计算。

当前配置
1080p · 5s
实时单价
—
本次预估
按实际用量计费

此处为最低价格。实际生成费用会随控制台所选的生成模式、分辨率、时长、音频等参数变化。

工作流与 Model ID

只使用标记为可用的工作流。Flatkey 对外保持一个模型 ID,由请求体选择输入方式。

可用

文生视频

通过文本提示词和支持的输出参数生成视频。

模型 ID
seedance-2.0-mini
接口
/v1/videos
可用

图生视频

让一张或多张参考图动起来,并尽量保持主体与构图。

模型 ID
seedance-2.0-mini
接口
/v1/videos
可用

参考生视频

使用已文档化的图片、视频或音频参考素材指导结果。

模型 ID
seedance-2.0-mini
接口
/v1/videos
当前路由不可用

视频编辑

在路由支持时编辑已有视频。

模型 ID
seedance-2.0-mini
接口
/v1/videos
当前路由不可用

视频续写

在路由支持时续写已有视频。

模型 ID
seedance-2.0-mini
接口
/v1/videos

参数兼容矩阵

以下取值与 Playground 和请求预览使用同一份模型配置。

resolution分辨率
可选值

720p · 1080p

默认值: 1080p
ratio画面比例
可选值

16:9 · 9:16 · 1:1 · 4:3 · 3:4

默认值: 16:9
duration时长
可选值

5 · 10

默认值: 5
frames帧数
可选值

0–240

默认值: 0
camera_fixed固定镜头
可选值

开 · 关

默认值: 关
generate_audio生成音频
可选值

开 · 关

默认值: 关
return_last_frame返回尾帧
可选值

开 · 关

默认值: 关
seed随机种子
可选值

0–2147483647

默认值: 0
image参考素材上限
可选值

30 个文件

接口: /v1/videos
video参考素材上限
可选值

10 个文件

接口: /v1/videos
audio参考素材上限
可选值

10 个文件

接口: /v1/videos

从首次测试到生产接入

Playground 与 API 使用同一套请求契约,并明确处理参数校验、余额、任务状态和产物获取。

请求生命周期

  1. 1

    校验模型、提示词、参考素材和输出设置。

  2. 2

    提交 POST 请求并保存返回的任务 ID。

  3. 3

    轮询任务状态或处理已配置的回调。

  4. 4

    从产物接口获取文件,并在失效前保存到自己的存储。

生产检查项

参数校验

提交前拦截不支持的尺寸、时长、比例、格式或参考素材数量。

鉴权与余额

分别处理无效密钥、余额不足、限流和账户分组价格。

输入或策略拒绝

明确指出被拒绝的提示词或素材,让用户只替换失败的输入。

任务失败或超时

保留任务 ID,限制重试次数,且不能把超时当成生成成功。

提示词库

看看 seedance-2.0-mini 可以生成什么

Prompt 测试和请求接力。

微短剧与漫剧创作者

使用 Seedance 2.0 生成

Creative direction: An animated girl at a cluttered workbench folds an orange origami bird. The paper bird opens its wings, lifts from her hands, circles above the desk, and flies past her face while she follows it with her eyes. Visual treatment: Hand-crafted animation with warm workbench colors and crisp folded paper. Shot sequence: 1. Frame the girl finishing the orange paper bird at the workbench.; 2. Open the folded wings and lift the bird from her hands.; 3. Follow its small circle past her face as her gaze tracks it. 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 mint paper organizer cube opens on a pale desk, revealing three compartments. Two pens and a small group of paperclips slide into their own sections; the organizer remains open for a final overhead product view that shows the storage layout. Visual treatment: Paper-craft product animation with matte mint panels, soft desk shadows and a clean pale background. Shot sequence: 1. Open the folded panels to reveal the compartments; 2. Place the pens and paperclips without intersecting the paper walls; 3. Hold the filled organizer open in a centered overhead view 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 miniature construction worker in a yellow hard hat carries gray wall panels across a model site. The worker sets the upright pieces in place and adds a final roof or bridge panel, completing the small structure in a fixed wide view. Visual treatment: Miniature stop-motion-style construction with tactile panels and readable scale. Shot sequence: 1. Establish the miniature worker and wall panels on the model site.; 2. Show the worker carrying and placing the upright panels.; 3. Seat the final top panel and hold the completed small structure. 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: A low-poly gray creature with a star on its forehead stands on a coral platform. Wing-like ears sprout from its head, the creature hops and floats briefly above the base, then lands back in the same centered pose. Visual treatment: Low-poly character animation with flat-shaded gray forms and a coral base. Shot sequence: 1. Hold the gray low-poly creature centered on the coral platform.; 2. Extend its ear wings and animate one brief hop into a hover.; 3. Land on the original mark and settle into the starting pose. 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 blue paper planet and an orange paper sun sit on a clean tabletop. An orange strip curls into an orbital ring, and the blue sphere rolls around the sun for one complete paper-craft orbit under a fixed overhead camera. Visual treatment: Paper-craft science animation with blue-orange contrast and visible folded edges. Shot sequence: 1. Establish the blue planet and orange sun from directly above.; 2. Curl the orange strip into an orbital ring.; 3. Roll the planet through one complete orbit, ending at its starting position. 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 dark blue circular base assembles from coral geometric pieces on a pale surface. The pieces rise around the rim and curl inward one by one until they form a compact spiral maze in a locked top-down view. Visual treatment: Geometric tabletop animation with matte coral pieces, a dark blue base and soft daylight. Shot sequence: 1. Hold the dark blue circular base from directly above.; 2. Raise the coral pieces sequentially around the rim.; 3. Curl the pieces inward to complete the spiral maze, then pause. Continuity: Keep the main subject, palette and light behavior consistent as the visual pattern develops. Exclude: extra people or props, text, logos and watermarks.

生成同款

为什么选择 Flatkey

为什么用 Flatkey 调用 seedance-2.0-mini?

更低的生成成本

媒体生成任务走 Flatkey,扩量前的 prompt 测试成本更可控。

草稿接力

公开页会先在本地保存 prompt 和参数,再把用户带到 Flatkey。

统一 API 入口

一个账号和 API Key 覆盖图片、视频、音频和语言模型。

上游通道路由

请求会分配到服务该模型的可用上游通道,页面上方展示近 30 天的可用性。

API 接入

seedance-2.0-mini API

四种接入方式共用同一个 Key 和模型目录,选择一种查看可运行示例。

通过兼容 OpenAI 的 API 调用任意模型。选择模型和语言,复制即可运行的示例。
继续使用熟悉的 OpenAI SDK,只需将 API 地址切换到 Flatkey。
在终端生成图片和视频,也可以交给 AI 助手完成整个流程。
一条命令接入 Codex 或 Claude Code,在现有项目中直接使用 Flatkey。
curl https://router.flatkey.ai/v1/videos \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-***" \
  -d '{"model":"seedance-2.0-mini","content":[{"type":"text","text":"Creative direction: An animated girl at a cluttered workbench folds an orange origami bird. The paper bird opens its wings, lifts from her hands, circles above the desk, and flies past her face while she follows it with her eyes.\n\nVisual treatment: Hand-crafted animation with warm workbench colors and crisp folded paper.\n\nShot sequence: 1. Frame the girl finishing the orange paper bird at the workbench.; 2. Open the folded wings and lift the bird from her hands.; 3. Follow its small circle past her face as her gaze tracks it.\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-***"
文档

常见问题

常见问题

价格、兼容性、限制,以及提示词和生成文件的处理方式。

有哪些限制?
速率限制和可用模型 ID 取决于你的账户及当前上游可用性。