核心能力
- 文生视频 — 从文本提示词生成视频
- 图生视频 — 使用参考图片作为首帧
- 首尾帧控制 — 同时指定起始帧和结束帧图片
- 灵活时长 — 生成 2–12 秒视频
- 多种比例 — 16:9、4:3、1:1、3:4、9:16、21:9
- 多种分辨率 — 480p、720p、1080p
快速示例
参数说明
API 参考
查看 Seedance 1.0 Lite 图生视频 的交互式 API Playground。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
字节跳动 Seedance 1.0 Lite 图生视频 模型,支持从文本和图片生成视频,灵活控制时长、比例和分辨率。
curl https://ai.alad.com/v1/video/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "doubao-seedance-1-0-lite-i2v-250428",
"content": [
{"type": "text", "text": "一只猫在金色夕阳下穿过向日葵花田"}
],
"ratio": "16:9",
"duration": 5,
"resolution": "720p"
}'
import requests
response = requests.post(
"https://ai.alad.com/v1/video/generations",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
json={
"model": "doubao-seedance-1-0-lite-i2v-250428",
"content": [
{"type": "text", "text": "一只猫在金色夕阳下穿过向日葵花田"}
],
"ratio": "16:9",
"duration": 5,
"resolution": "720p"
}
)
task = response.json()
print(f"任务 ID: {task['id']}")
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
model | string | 是 | 固定为 doubao-seedance-1-0-lite-i2v-250428 |
content | array | 是 | 多模态数组:text(必须)+ image_url(图生视频时添加,带 role) |
ratio | string | 否 | 16:9、4:3、1:1、3:4、9:16、21:9、adaptive,默认 16:9 |
resolution | string | 否 | 480p、720p、1080p,默认 720p |
duration | integer | 否 | 2–12 秒,默认 5 |
watermark | boolean | 否 | 是否添加水印,默认 false |
seed | integer | 否 | 随机种子,用于复现结果 |
camera_fixed | boolean | 否 | 是否固定摄像头,默认 false |
