今年2月,字节跳动发布 Seedance 2.0 模型,凭借「炸裂」的视频生成效果迅速出圈,一经推出便登顶全球视频生成领域模型排行榜,成为当之无愧的 SOTA。
Seedance 2.0 的横空出世,直接催生了 AI 短剧、漫剧赛道的爆发式增长,让今年成为"AI 视频创作元年"的有力佐证。
此前,使用 Seedance 2.0 只能通过豆包、即梦等平台。对于 AI 漫剧、短剧从业者而言,缺少一套成熟的 API 调用流程来构建自动化生产管线。
好消息来了——4月14日,Seedance 2.0 API 正式全面开放,企业和开发者通过火山引擎即可直接调用!
Seedance 2.0 模型介绍
Seedance 2.0 是豆包大模型团队推出的新一代专业级多模态创作视频模型。支持文字、图像、视频、音频作为参考输入生成视频,打破单一素材的创作局限;同时具备视频编辑、延长等能力,可高精度还原物品细节、材质、音色、视效风格、运镜等,角色特征亦可稳定保持。
该模型具备极致拟真的视听稳定性与极强的复杂场景驾驭力,自带专业运镜与多镜头叙事能力,深度适配商业广告、影视制作与社交媒体营销等核心场景。
为什么选 API?
一句话:即梦/豆包适合"玩",API 适合"用"。
对于 AI 短剧、漫剧团队来说,每天可能需要生成几十甚至上百条视频,网页操作效率太低。API 可以直接接入你的创作系统,实现自动化流水线生产,从剧本到成片一键搞定,这才是 AI 视频的正确打开方式。
版本对比
Seedance 2.0 目前提供两个版本:
| Doubao-Seedance-2.0 | |
| Doubao-Seedance-2.0-Fast |
两个版本的核心能力完全一致,区别在于:
追求最高生成品质 → 选择 Seedance 2.0(满血版) 更注重成本与生成速度 → 选择 Seedance 2.0-Fast(加速版)
| 定位 | ||
| 核心优势 | ||
| 输入模态 | ||
| 任务类型 | ||
| 分辨率 | ||
| 帧率 | ||
| 含视频输入价格 | 28 元/百万 tokens | 22 元/百万 tokens |
| 不含视频输入价格 | 46 元/百万 tokens | 37 元/百万 tokens |
Fast 版本在核心能力上与满血版一致,价格便宜约 20%,适合需要快速迭代、对成本敏感的场景。
注意:目前 API 版本最高支持 720P 输出,如需 1080P 可使用 Seedance 1.5 或后期超分处理。
模型调用
⚠️ 前置条件:请确保您的火山引擎账户余额 ≥ 200 元,否则无法开通 Seedance 2.0 及 Seedance 2.0-Fast 模型服务。
前置准备
注册火山引擎账号:火山引擎官网:https://www.volcengine.com 获取 API Key:API Key 管理页面:https://console.volcengine.com/ark/region:ark+cn-beijing/apikey 账户充值:余额需 ≥ 200 元
安装 SDK
pip install 'volcengine-python-sdk[ark]'Python 调用模板
import osimport timefrom volcenginesdkarkruntime import Arkclient = Ark(# API Base URL base_url='https://ark.cn-beijing.volces.com/api/v3',# 获取 API Key:https://console.volcengine.com/ark/region:ark+cn-beijing/apikey api_key=os.environ.get("ARK_API_KEY"),)if __name__ == "__main__": print("----- 创建生成任务 -----") create_result = client.content_generation.tasks.create(# 模型 ID model="doubao-seedance-2-0-260128",# 或 "doubao-seedance-2-0-fast-260128"# 内容输入(支持多模态) content=[ {"type": "text","text": "你的视频描述 prompt", }, {"type": "image_url","image_url": {"url": "https://xxx.com/image.jpg"},"role": "reference_image", # 参考图片 }, {"type": "video_url","video_url": {"url": "https://xxx.com/video.mp4"},"role": "reference_video", # 参考视频 }, {"type": "audio_url","audio_url": {"url": "https://xxx.com/audio.mp3"},"role": "reference_audio", # 参考音频 }, ], generate_audio=True, # 是否生成音频 ratio="16:9", # 视频比例:16:9 / 9:16 / 1:1 duration=10, # 视频时长(秒) watermark=True, # 是否添加水印 ) print(create_result)# 轮询查询任务状态 print("----- 查询任务状态 -----") task_id = create_result.idwhileTrue: get_result = client.content_generation.tasks.get(task_id=task_id) status = get_result.statusif status == "succeeded": print("\n[DONE] Video generated successfully!") print(f"[URL] {get_result.content.video_url}") print(f"[INFO] Duration: {get_result.content.duration}s | Resolution: {get_result.content.resolution}")breakelif status == "failed": print(f"[ERROR] {status.error}")breakelse: print(f"[WAIT] Status: {status.status}, retrying in 30s...") time.sleep(30)参数说明
model | doubao-seedance-2-0-260128 / doubao-seedance-2-0-fast-260128 | ||
content | |||
generate_audio | |||
ratio | 16:9 / 9:16 / 1:1 | ||
duration | |||
watermark |
Content 支持的输入类型
text | ||
image_url | reference_image | |
video_url | reference_video | |
audio_url | reference_audio |
调用流程
1. client.content_generation.tasks.create() → 提交任务,获取 task_id2. client.content_generation.tasks.get() → 轮询查询状态3. 状态为 succeeded → 获取视频结果实际使用
实际使用中代码基于上面Python调用模板代码,保持其他代码不变前提,依据不同使用常用修改其content参数代码即可
文生图
content=[ {# Combination of text prompt and parameters"type": "text","text": "写实风格,晴朗的蓝天之下,一大片白色的雏菊花田,镜头逐渐拉近,最终定格在一朵雏菊花的特写上,花瓣上有几颗晶莹的露珠" } ]图生视频-基于首帧
通过指定视频的首帧图片,模型能够基于该图片生成与之相关且画面连贯的视频内容。
content=[ {# Combination of text prompt and parameters"type": "text","text": "女孩抱着狐狸,女孩睁开眼,温柔地看向镜头,狐狸友善地抱着,镜头缓缓拉出,女孩的头发被风吹动,可以听到风声" }, {# The URL of the first frame image"type": "image_url","image_url": {"url": "https://ark-project.tos-cn-beijing.volces.com/doc_image/i2v_foxrgirl.png" } } ]图生视频-基于首尾帧
通过指定视频的起始和结束图片,模型即可生成流畅衔接首、尾帧的视频,实现画面间自然、连贯的过渡效果。
content=[ { # Combination of text prompt and parameters"type": "text", "text": "图中女孩对着镜头说\"茄子\",360度环绕运镜" }, { # The URL of the first frame image"type": "image_url", "image_url": { "url": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seepro_first_frame.jpeg" },"role": "first_frame" }, { # The URL of the last frame image "type": "image_url", "image_url": { "url": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seepro_last_frame.jpeg" },"role": "last_frame" } ]图生视频-基于参考图
模型能精准提取参考图片(支持输入1-4张)中各类对象的关键特征,并依据这些特征在视频生成过程中高度还原对象的形态、色彩和纹理等细节,确保生成的视频与参考图的视觉风格一致。
content=[ { # Combination of text prompt and parameters "type": "text", "text": "[图1]戴着眼镜穿着蓝色T恤的男生和[图2]的柯基小狗,坐在[图3]的草坪上,视频卡通风格" }, { # The URL of the first reference image # 1-4 reference images need to be provided"type": "image_url", "image_url": { "url": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seelite_ref_1.png" },"role": "reference_image" }, { # The URL of the second reference image "type": "image_url", "image_url": { "url": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seelite_ref_2.png" },"role": "reference_image" }, { # The URL of the third reference image "type": "image_url", "image_url": { "url": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seelite_ref_3.png" },"role": "reference_image" } ]编辑视频
content=[ {"type": "text","text": "将视频1礼盒中的香水替换成图片1中的面霜,运镜不变", }, {"type": "image_url","image_url": {"url": "https://ark-project.tos-cn-beijing.volces.com/doc_image/r2v_edit_pic1.jpg" },"role": "reference_image", }, {"type": "video_url","video_url": {"url": "https://ark-project.tos-cn-beijing.volces.com/doc_video/r2v_edit_video1.mp4" },"role": "reference_video", }, ]延长视频
在原有视频基础上,向前或者向后延长视频,或多个视频片段(最多 3 个视频片段)串联成一个连贯视频。
content=[ {"type": "text","text": "视频1中的拱形窗户打开,进入美术馆室内,接视频2,之后镜头进入画内,接视频3", }, {"type": "video_url","video_url": {"url": "https://ark-project.tos-cn-beijing.volces.com/doc_video/r2v_extend_video1.mp4" },"role": "reference_video", }, {"type": "video_url","video_url": {"url": "https://ark-project.tos-cn-beijing.volces.com/doc_video/r2v_extend_video2.mp4" },"role": "reference_video", }, {"type": "video_url","video_url": {"url": "https://ark-project.tos-cn-beijing.volces.com/doc_video/r2v_extend_video3.mp4" },"role": "reference_video", }, ],关于人像使用说明
Seedance 2.0 暂不支持直接上传含真人人脸的参考素材。平台提供了三种解决方案:① 使用预置的免费虚拟人像库;② 提交授权申请后使用已授权的真人素材;③ 平台生成的含人脸视频可直接编辑或延长,零合规风险。
相关链接:
火山引擎官网:https://www.volcengine.com API Key 管理页面: https://console.volcengine.com/ark/region:ark+cn-beijing/apikey Seedance 2.0调用教程:https://www.volcengine.com/docs/82379/2291680?lang=zh Seedance 2.0 提示词教程: https://www.volcengine.com/docs/82379/2222480?lang=zh 视频生成教程:https://www.volcengine.com/docs/82379/2298881?lang=zh API官方文档:https://www.volcengine.com/docs/82379/1520757?lang=zh
关注我,看懂AI圈的那些事儿~
想第一时间获取 AI 视频最新玩法?赶紧去试试 Seedance 2.0 API 吧!
夜雨聆风