跳到正文

Seedance 2.0 Fast API

更快、更省的 Seedance 2.0。

  • 4 到 15 秒的片段
  • 尾帧图片必须同时有首帧图片。参考音频必须搭配图片使用。
价格
分辨率文本或图片含视频输入
480p文本或图片13.4 积分/秒 ($0.067/秒)比 fal 便宜 40% fal 价格 $0.113/秒含视频输入8 积分/秒 ($0.04/秒)
720p文本或图片29 积分/秒 ($0.145/秒)比 fal 便宜 40% fal 价格 $0.242/秒含视频输入17.4 积分/秒 ($0.087/秒)

含视频输入时,输入和输出的秒数都计费。

完整价格 ↓全部 Seedance 模型

请先添加首帧,再添加尾帧。

音频需要至少一张图片。

分辨率
4 到 15 秒,或打开“自动”。
由模型决定时长,最长 15 秒,按实际时长扣费。
画面比例
自适应会沿用输入素材的画面比例。
生成与画面同步的音轨。
高级设置
相同的种子和设置会得到相近的结果。留空则随机。
同时以图片形式返回视频的最后一帧。

正在确认登录状态。

登录后即可生成。这里填写的内容和选择的文件会保留,登录回来后继续。

生成结果会显示在这里

价格

价格自 2026-11-09 起生效

档位价格
480p
13.4 积分/秒 ($0.067/秒)注 14–15 秒
720p
29 积分/秒 ($0.145/秒)注 14–15 秒
480p(含视频输入)
480p-video
8 积分/秒 ($0.04/秒)注 2, 34–15 秒
720p(含视频输入)
720p-video
17.4 积分/秒 ($0.087/秒)注 2, 34–15 秒
  1. 最多冻结 15 秒,按实际时长扣费。
  2. 费率同时适用于输入和输出的秒数。
  3. 最多冻结 15 秒输出加 15 秒输入,按实际时长扣费。

1 积分 ≈ $0.005。按标准充值包计算;较大的充值包含赠送积分,实际单价更低。

720p:fal $0.242/秒,VizoAPI $0.145/秒,低 40%。

交付与计费

成品
成品文件列在任务结果中,每个文件有素材 ID 和类型。
下载
文件保存 7 天,通过短期签名链接下载,可随时删除。
计费
任务受理时冻结积分,交付后扣费。生成失败,或 24 小时内未交付,冻结的积分会全部释放。
通知
按任务 ID 轮询,或使用签名 Webhook,并按 event_id 去重。
如何计费?
按输出秒数计费。
生成失败会扣费吗?
不会。生成失败,或受理后 24 小时内未交付,冻结的积分会全部释放。

API 参考

任务只创建一次,之后按 ID 查询。 完整脚本(含上传和下载) · API 文档

请求示例
API=https://api.vizoapi.com/v1
AUTH="Authorization: Bearer $VIZO_API_KEY"

# Create the task once and keep its ID.
ID=$(curl -fsS $API/generations -H "$AUTH" -H "Content-Type: application/json" \
  -d '{
  "model": "seedance-2-0-fast",
  "input": {
    "content": [
      {
        "type": "text",
        "text": "雨夜霓虹街道的缓慢推镜"
      }
    ],
    "resolution": "720p",
    "ratio": "16:9",
    "duration": 5
  },
  "metadata": {
    "client_reference": "my-unique-reference-1"
  }
}' | jq -r .id)

# Poll until the task closes, then read its status and result.
until curl -fsS $API/generations/$ID -H "$AUTH" | jq -e '.closed_at != null' > /dev/null; do sleep 5; done
curl -fsS $API/generations/$ID -H "$AUTH" | jq '{status, result}'
全部字段

在 input 中发送这些字段。表中没有的字段会被拒绝,返回 HTTP 422 invalid_input。

  • content needs at least one text, image or video item.
  • Every image, video and audio item in content names its role.
  • Input limits: up to 9 images, 3 videos and 3 audio items in content, with no limit on the total. Each video and audio item runs 2 to 15 seconds. Videos add up to at most 15 seconds, and audio to at most 15 seconds. Lengths are checked before the task is created when the file can be measured (422 input_duration_out_of_range). Task type and drafts are not supported.
  • Image pixel size and aspect ratio, and video resolution and frame rate, are not checked when the request is made: the model checks them when the task runs, and a file it refuses usually fails the task with input_media_invalid (otherwise generation_failed); the task is not charged.
  • first_frame and last_frame images (at most one each) cannot be combined with reference images, videos or audio, and a last_frame needs a first_frame.
  • Audio items need at least one image or video in content.
  • Prompt text must not contain inline --flag parameters.
请求参数
字段说明
bitrate_modestring可选

Encoding quality. Only standard.

固定值 standard

contentarray of objects必填

Prompt text and media items. Each image, video and audio item names its role.

至少 1 项

content[].typestring必填

Item kind.

可选值textimage_urlvideo_urlaudio_url
type 为 text 的项
content[].textstring必填

Prompt text, up to 4000 characters per item.

最多 4000 个字符

type 为 image_url 的项
content[].image_urlobject必填
content[].image_url.urlstring必填

An https URL or an uploaded asset id (ast_...).

最多 4000 个字符 · 格式^(https://|ast_)

content[].rolestring必填

Image roles: first_frame, last_frame, reference_image. Video: reference_video. Audio: reference_audio.

type 为 video_url 的项
content[].rolestring必填

Image roles: first_frame, last_frame, reference_image. Video: reference_video. Audio: reference_audio.

content[].video_urlobject必填
content[].video_url.urlstring必填

An https URL or an uploaded asset id (ast_...).

最多 4000 个字符 · 格式^(https://|ast_)

type 为 audio_url 的项
content[].audio_urlobject必填
content[].audio_url.urlstring必填

An https URL or an uploaded asset id (ast_...).

最多 4000 个字符 · 格式^(https://|ast_)

content[].rolestring必填

Image roles: first_frame, last_frame, reference_image. Video: reference_video. Audio: reference_audio.

durationinteger可选

Output length in seconds, 4 to 15, or -1 to let the model choose. Defaults to 5.

默认值 5

4 到 15,或 -1

execution_expires_afterinteger可选

Execution and delivery deadline in seconds from acceptance. Defaults to 86400. Credits remain held until completion or this deadline.

默认值 86400

最小 3600 · 最大 259,200

generate_audioboolean可选

Adds a synchronized soundtrack. Defaults to true.

默认值 true

output_formatstring可选

Container format. Only mp4.

固定值 mp4

ratiostring可选

Output aspect ratio. Defaults to adaptive.

可选值16:94:31:13:49:1621:9adaptive

默认值 adaptive

resolutionstring可选

Output resolution. Defaults to 720p.

可选值480p720p

默认值 720p

return_last_frameboolean可选

Also returns the last frame of the video as an image.

seedinteger可选

Random seed. -1 or omitted picks one at random.

最小 -1 · 最大 4,294,967,295

watermarkboolean可选

Add a visible watermark. Defaults to false; the tier price is unchanged.

默认值 false

完整请求与响应示例

完整的创建请求、202 响应,以及任务成功后的状态。 此输入选择 720p 档位,每秒 29 积分。5 秒共冻结 145.000 积分。

请求

{
  "model": "seedance-2-0-fast",
  "input": {
    "content": [
      {
        "type": "text",
        "text": "A paper boat drifting on a pond at dawn, slow dolly in"
      }
    ],
    "resolution": "720p",
    "ratio": "16:9",
    "duration": 5
  },
  "metadata": {
    "client_reference": "my-unique-reference-1"
  }
}

202 已受理

{
  "id": "gen_01JD8Z5QW3XR",
  "model": "seedance-2-0-fast",
  "source": "api",
  "created_at": "2026-11-08T09:00:00Z",
  "customer_resolution_deadline": "2026-11-09T09:00:00Z",
  "late_result_available": false,
  "metadata": {
    "client_reference": "my-unique-reference-1"
  },
  "status": "processing",
  "execution_status": "processing",
  "delivery_status": "pending",
  "billing_status": "pending",
  "version": 1,
  "price": {
    "unit": "credit",
    "estimated": "145.000",
    "reserved": "0.000",
    "charged": "0.000",
    "refunded": "0.000"
  },
  "allowed_actions": [],
  "closed_at": null,
  "error": null,
  "result": null
}

200 已成功

{
  "id": "gen_01JD8Z5QW3XR",
  "model": "seedance-2-0-fast",
  "source": "api",
  "created_at": "2026-11-08T09:00:00Z",
  "customer_resolution_deadline": "2026-11-09T09:00:00Z",
  "late_result_available": false,
  "metadata": {
    "client_reference": "my-unique-reference-1"
  },
  "status": "succeeded",
  "execution_status": "succeeded",
  "delivery_status": "ready",
  "billing_status": "settled",
  "version": 4,
  "price": {
    "unit": "credit",
    "estimated": "145.000",
    "reserved": "0.000",
    "charged": "145.000",
    "refunded": "0.000"
  },
  "allowed_actions": [],
  "closed_at": "2026-11-08T09:01:31Z",
  "error": null,
  "result": {
    "asset_id": "ast_01JD8Z9M2C4V",
    "outputs": [
      {
        "index": 0,
        "asset_id": "ast_01JD8Z9M2C4V",
        "content_type": "video/mp4"
      }
    ]
  }
}

Seedance 2.0 Fast 完整 API 参考