seedance

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Seedance 视频生成

Seedance Video Generation

使用火山引擎 Seedance 模型生成高质量 AI 视频,支持文本生成视频(T2V)、图片生成视频(I2V)、音画同步等多种创作模式。
Node.js 版本:此脚本使用 Node.js 实现,无需 Python 环境。通过入口脚本自动检测 Node.js 运行时(优先使用系统 node,回退到 LobsterAI 内置运行时),Windows 和 Mac 用户都可以开箱即用。
Generate high-quality AI videos using the Volcengine Seedance model, supporting multiple creation modes such as text-to-video (T2V), image-to-video (I2V), and audio-synced video generation.
Node.js Version: This script is implemented using Node.js, no Python environment required. The entry script automatically detects the Node.js runtime (prioritizes system node, falls back to LobsterAI's built-in runtime), making it out-of-the-box for both Windows and Mac users.

配置

Configuration

  • Base URL:
    https://ark.cn-beijing.volces.com/api/v3
  • API Key: 从环境变量
    ARK_API_KEY
    读取
  • 认证方式:
    Authorization: Bearer {API_KEY}
  • SDK: 兼容火山方舟 Python SDK
  • Base URL:
    https://ark.cn-beijing.volces.com/api/v3
  • API Key: Read from the environment variable
    ARK_API_KEY
  • Authentication:
    Authorization: Bearer {API_KEY}
  • SDK: Compatible with Volcano Ark Python SDK

如何配置 API Key

How to Configure API Key

方式一:通过环境变量配置(推荐)
在终端中设置环境变量:
bash
undefined
Method 1: Configure via Environment Variables (Recommended)
Set the environment variable in the terminal:
bash
undefined

macOS/Linux

macOS/Linux

export ARK_API_KEY="你的API密钥"
export ARK_API_KEY="Your API Key"

或者添加到 ~/.zshrc 或 ~/.bashrc 以永久生效

Or add to ~/.zshrc or ~/.bashrc for permanent effect

echo 'export ARK_API_KEY="你的API密钥"' >> ~/.zshrc source ~/.zshrc

```powershell
echo 'export ARK_API_KEY="Your API Key"' >> ~/.zshrc source ~/.zshrc

```powershell

Windows PowerShell

Windows PowerShell

$env:ARK_API_KEY="你的API密钥"
$env:ARK_API_KEY="Your API Key"

或者设置系统环境变量以永久生效

Or set as a system environment variable for permanent effect

[System.Environment]::SetEnvironmentVariable('ARK_API_KEY', '你的API密钥', 'User')

**方式二:通过 LobsterAI 启动时注入**

LobsterAI 会自动读取系统环境变量,确保在启动 LobsterAI 前已设置 `ARK_API_KEY`。

**如何获取 API Key:**
1. 访问火山方舟控制台:https://console.volcengine.com/ark/region:ark+cn-beijing/apikey
2. 创建新的 API Key
3. 复制密钥并设置为环境变量
[System.Environment]::SetEnvironmentVariable('ARK_API_KEY', 'Your API Key', 'User')

**Method 2: Inject via LobsterAI Startup**

LobsterAI automatically reads system environment variables. Ensure `ARK_API_KEY` is set before launching LobsterAI.

**How to Obtain API Key:**
1. Visit the Volcano Ark Console: https://console.volcengine.com/ark/region:ark+cn-beijing/apikey
2. Create a new API Key
3. Copy the key and set it as an environment variable

前置检查

Pre-checks

无需安装任何依赖! 该脚本已兼容 Node.js 内置模块。
LobsterAI 已包含 Node.js 运行时,所有必要的依赖已被自动打包。Windows 和 Mac 用户无需额外配置。
No dependencies required! This script is compatible with Node.js built-in modules.
LobsterAI includes the Node.js runtime, and all necessary dependencies are automatically packaged. No additional configuration is needed for Windows and Mac users.

工作流程

Workflow

Seedance 视频生成是一个异步过程:
  1. 提交任务 - 调用 API 创建视频生成任务,获得
    task_id
  2. 轮询状态 - 每隔几秒查询任务状态,直到状态变为
    succeeded
  3. 下载视频 - 从
    video_url
    字段下载生成的 MP4 文件
Seedance video generation is an asynchronous process:
  1. Submit Task - Call the API to create a video generation task and obtain the
    task_id
  2. Poll Status - Query the task status every few seconds until it changes to
    succeeded
  3. Download Video - Download the generated MP4 file from the
    video_url
    field

配额和限制

Quotas and Limits

免费额度

Free Tier

所有 Seedance 模型在 **default 模式(在线推理)**下提供:
  • 200万 token 免费额度
  • flex 模式(离线推理)无免费额度
注意:文档中未明确说明 200万 token 能生成多少个视频,消耗取决于视频时长、分辨率和是否使用图片/音频。建议先小批量测试。
All Seedance models offer the following in default mode (online inference):
  • 2 million tokens free quota
  • No free quota for flex mode (offline inference)
Note: The documentation does not specify how many videos can be generated with 2 million tokens. Consumption depends on video duration, resolution, and whether images/audio are used. It is recommended to test in small batches first.

限流限制

Rate Limits

模型系列RPM(每分钟请求数)并发数TPD(离线模式每日token)
Pro 系列600105000亿
Lite 系列30052500亿
  • RPM 限流:账号下同模型每分钟允许创建的任务数量上限
  • 并发数限制:同一时刻在处理中的任务数量上限
  • TPD 限流:flex 模式下一天内对同一模型的总调用 token 上限
Model SeriesRPM (Requests Per Minute)ConcurrencyTPD (Daily Token Limit for Offline Mode)
Pro Series60010500 billion
Lite Series3005250 billion
  • RPM Limit: Maximum number of tasks allowed to be created per minute for the same model under the account
  • Concurrency Limit: Maximum number of tasks being processed at the same time
  • TPD Limit: Total token call limit for the same model in flex mode within a day

视频保存时间

Video Retention Time

⚠️ 重要提醒
  • 任务数据(包括视频URL)仅保留 24 小时
  • 超时后会被自动清除
  • 务必及时下载保存生成的视频
⚠️ Important Reminder:
  • Task data (including video URLs) is only retained for 24 hours
  • It will be automatically cleared after the timeout
  • Be sure to download and save the generated video in a timely manner

使用示例

Usage Examples

路径说明:下面的示例使用
$SKILLS_ROOT
环境变量来引用脚本路径。LobsterAI 会自动设置这个变量,指向实际的 SKILLs 目录位置,因此无需手动修改路径。
Path Explanation: The examples below use the
$SKILLS_ROOT
environment variable to reference the script path. LobsterAI automatically sets this variable to point to the actual SKILLs directory location, so there is no need to modify the path manually.

1. 文本生成视频(T2V)

1. Text-to-Video (T2V)

根据文字描述生成视频,适合创意激发和概念验证。
bash
bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh" \
  --prompt "一只小猫在草地上玩耍,阳光明媚,镜头缓缓推进" \
  --duration 5 \
  --output generated_video.mp4
示例提示词:
  • "写实风格,晴朗的蓝天之下,一大片白色的雏菊花田,镜头逐渐拉近,最终定格在一朵雏菊花的特写上,花瓣上有几颗晶莹的露珠"
  • "一辆地铁轰隆隆驶过,书页飞扬,镜头开始环绕着女孩360度旋转"
  • "海边日落,海浪轻拍沙滩,宁静祥和的氛围"
Generate videos based on text descriptions, suitable for creative inspiration and concept validation.
bash
bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh" \
  --prompt "A kitten playing on the grass, sunny day, camera slowly zooms in" \
  --duration 5 \
  --output generated_video.mp4
Example Prompts:
  • "Realistic style, under a clear blue sky, a large field of white daisies, the camera gradually zooms in, finally focusing on a close-up of a daisy with a few glistening dewdrops on its petals"
  • "A subway rumbles past, pages flutter, the camera starts to rotate 360 degrees around the girl"
  • "Sunset by the sea, waves gently lap the beach, peaceful and serene atmosphere"

2. 图片生成视频(I2V)- 首帧引导

2. Image-to-Video (I2V) - First Frame Guidance

基于首帧图片生成动态视频,支持本地图片和网络URL
bash
undefined
Generate dynamic videos based on the first frame image, supports local images and web URLs.
bash
undefined

使用本地图片

Use local image

bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh"
--prompt "女孩睁开眼,温柔地看向镜头,头发被风吹动"
--image "/Users/yourname/Pictures/girl.jpg"
--duration 5
--output i2v_video.mp4
bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh"
--prompt "The girl opens her eyes, looks gently at the camera, her hair blown by the wind"
--image "/Users/yourname/Pictures/girl.jpg"
--duration 5
--output i2v_video.mp4

使用网络图片

Use web image

bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh"
--prompt "女孩睁开眼,温柔地看向镜头,头发被风吹动"
--image "https://example.com/first_frame.jpg"
--duration 5
--output i2v_video.mp4

**支持的图片来源:**
- ✅ 本地文件:`/path/to/image.jpg`
- ✅ 网络URL:`https://example.com/image.jpg`
- ✅ file://协议:`file:///path/to/image.jpg`

**支持的图片格式:**
- jpg, jpeg, png, gif, webp, bmp, tiff, heic
bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh"
--prompt "The girl opens her eyes, looks gently at the camera, her hair blown by the wind"
--image "https://example.com/first_frame.jpg"
--duration 5
--output i2v_video.mp4

**Supported Image Sources**:
- ✅ Local files: `/path/to/image.jpg`
- ✅ Web URLs: `https://example.com/image.jpg`
- ✅ file:// protocol: `file:///path/to/image.jpg`

**Supported Image Formats**:
- jpg, jpeg, png, gif, webp, bmp, tiff, heic

3. 图片生成视频(I2V)- 首尾帧引导

3. Image-to-Video (I2V) - First and Last Frame Guidance

提供首帧和尾帧,生成过渡动画。支持本地图片
bash
bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh" \
  --prompt "360度环绕运镜,流畅过渡" \
  --image "/Users/yourname/Pictures/first_frame.jpg" \
  --image "/Users/yourname/Pictures/last_frame.jpg" \
  --duration 5 \
  --output transition_video.mp4
Provide first and last frames to generate transition animations. Supports local images.
bash
bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh" \
  --prompt "360-degree orbiting camera movement, smooth transition" \
  --image "/Users/yourname/Pictures/first_frame.jpg" \
  --image "/Users/yourname/Pictures/last_frame.jpg" \
  --duration 5 \
  --output transition_video.mp4

4. 多参考图生成视频

4. Multi-Reference Image Video Generation

融合多张参考图的特征生成视频。支持混合使用本地图片和网络图片
bash
bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh" \
  --prompt "[图1]戴着眼镜穿着蓝色T恤的男生和[图2]的柯基小狗,坐在[图3]的草坪上,视频卡通风格" \
  --image "/Users/yourname/Pictures/person.jpg" \
  --image "https://example.com/dog.jpg" \
  --image "/Users/yourname/Pictures/grass.jpg" \
  --model "doubao-seedance-1-0-lite-i2v-250428" \
  --duration 5 \
  --output multi_ref_video.mp4
Generate videos by merging features from multiple reference images. Supports mixing local and web images.
bash
bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh" \
  --prompt "[Image 1] A boy wearing glasses and a blue T-shirt with [Image 2] a Corgi puppy, sitting on [Image 3] the lawn, cartoon style video" \
  --image "/Users/yourname/Pictures/person.jpg" \
  --image "https://example.com/dog.jpg" \
  --image "/Users/yourname/Pictures/grass.jpg" \
  --model "doubao-seedance-1-0-lite-i2v-250428" \
  --duration 5 \
  --output multi_ref_video.mp4

5. 音画同步视频生成(仅 1.5 pro)

5. Audio-Synced Video Generation (1.5 pro only)

生成包含音频的视频(环境音、动作音、背景音乐等)。支持本地图片
bash
bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh" \
  --prompt "镜头围绕人物推镜头拉近,特写人物面部,她正在用京剧唱腔唱'月移花影,疑是玉人来',唱词充满情感" \
  --image "/Users/yourname/Pictures/actress.jpg" \
  --audio \
  --duration 5 \
  --model "doubao-seedance-1-5-pro-251215" \
  --output audio_video.mp4
Generate videos with audio (environmental sounds, action sounds, background music, etc.). Supports local images.
bash
bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh" \
  --prompt "Camera pushes in around the character, close-up on the face, she is singing 'Moon shifts shadow of flowers, I suspect a jade person comes' in Peking Opera style, full of emotion" \
  --image "/Users/yourname/Pictures/actress.jpg" \
  --audio \
  --duration 5 \
  --model "doubao-seedance-1-5-pro-251215" \
  --output audio_video.mp4

参数说明

Parameter Description

必需参数

Required Parameters

参数说明示例
--prompt
视频描述提示词(必需)"小猫在玩耍"
ParameterDescriptionExample
--prompt
Video description prompt (required)"Kitten playing"

可选参数

Optional Parameters

参数说明默认值可选值
--image
参考图片路径或URL(可多次使用)本地文件路径或URL
--model
模型ID
doubao-seedance-1-5-pro-251215
见模型列表
--duration
视频时长(秒)52-12(不同模型范围不同)
--ratio
宽高比
adaptive
adaptive
,
16:9
,
9:16
,
1:1
--audio
生成音频(仅1.5 pro支持)标志参数
--no-watermark
不添加水印标志参数
--output
输出文件路径
generated_video.mp4
文件路径
--poll-interval
状态查询间隔(秒)51-10
--timeout
最大等待时间(秒)30060-600
ParameterDescriptionDefault ValueOptional Values
--image
Reference image path or URL (can be used multiple times)NoneLocal file path or URL
--model
Model ID
doubao-seedance-1-5-pro-251215
See Model List
--duration
Video duration (seconds)52-12 (varies by model)
--ratio
Aspect ratio
adaptive
adaptive
,
16:9
,
9:16
,
1:1
--audio
Generate audio (only supported by 1.5 pro)NoFlag parameter
--no-watermark
Do not add watermarkNoFlag parameter
--output
Output file path
generated_video.mp4
File path
--poll-interval
Status query interval (seconds)51-10
--timeout
Maximum waiting time (seconds)30060-600

模型选择

Model Selection

选择合适的模型以平衡质量、速度和成本:
Choose the appropriate model to balance quality, speed, and cost:

Seedance 1.5 pro(推荐)

Seedance 1.5 pro (Recommended)

  • 模型ID:
    doubao-seedance-1-5-pro-251215
  • 特点: 音画同生,最高质量
  • 支持: 文生视频、图生视频、首尾帧、有声视频
  • 输出: 480p-1080p,24fps,4-12秒
  • 限流: RPM 600,并发10
  • Model ID:
    doubao-seedance-1-5-pro-251215
  • Features: Audio-video co-generation, highest quality
  • Supported Modes: Text-to-video, image-to-video, first/last frame guidance, audio-enabled video
  • Output: 480p-1080p, 24fps, 4-12 seconds
  • Rate Limits: RPM 600, concurrency 10

Seedance 1.0 pro

Seedance 1.0 pro

  • 模型ID:
    doubao-seedance-1-0-pro-250528
  • 特点: 高质量标准版本
  • 支持: 文生视频、图生视频、首尾帧
  • 输出: 480p-1080p,24fps,2-12秒
  • 限流: RPM 600,并发10
  • Model ID:
    doubao-seedance-1-0-pro-250528
  • Features: High-quality standard version
  • Supported Modes: Text-to-video, image-to-video, first/last frame guidance
  • Output: 480p-1080p, 24fps, 2-12 seconds
  • Rate Limits: RPM 600, concurrency 10

Seedance 1.0 pro fast

Seedance 1.0 pro fast

  • 模型ID:
    doubao-seedance-1-0-pro-fast-251015
  • 特点: 快速生成,成本更低
  • 支持: 文生视频、图生视频
  • 输出: 480p-1080p,24fps,2-12秒
  • 限流: RPM 600,并发10
  • Model ID:
    doubao-seedance-1-0-pro-fast-251015
  • Features: Fast generation, lower cost
  • Supported Modes: Text-to-video, image-to-video
  • Output: 480p-1080p, 24fps, 2-12 seconds
  • Rate Limits: RPM 600, concurrency 10

Seedance 1.0 lite(轻量版)

Seedance 1.0 lite (Lightweight Version)

  • 文生视频:
    doubao-seedance-1-0-lite-t2v-250428
  • 图生视频:
    doubao-seedance-1-0-lite-i2v-250428
  • 特点: 更快速度,支持多参考图
  • 限流: RPM 300,并发5
  • Text-to-Video:
    doubao-seedance-1-0-lite-t2v-250428
  • Image-to-Video:
    doubao-seedance-1-0-lite-i2v-250428
  • Features: Faster speed, supports multi-reference images
  • Rate Limits: RPM 300, concurrency 5

Seedance 2.0(即将支持)

Seedance 2.0 (Coming Soon)

  • 模型ID:
    doubao-seedance-2-0-260128
  • 特点: 下一代视频生成模型,质量和性能全面提升
  • 可用性: ⏰ 预计 2026年2月24日18点 开放 API 调用
  • 当前状态: 仅在 控制台体验中心 可用
使用方式(2月24日后):
bash
undefined
  • Model ID:
    doubao-seedance-2-0-260128
  • Features: Next-generation video generation model, comprehensive improvements in quality and performance
  • Availability: ⏰ Expected to open API access at 18:00 on February 24, 2026
  • Current Status: Only available in the Console Experience Center
Usage (after February 24):
bash
undefined

命令行方式

Command line method

bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh"
--prompt "你的提示词"
--model "doubao-seedance-2-0-260128"
--duration 5

或在 LobsterAI 对话中说:"用 Seedance 2.0 生成视频..."

**推荐使用场景:**
- 追求最高质量 + 音画同步 → 1.5 pro
- 标准高质量视频 → 1.0 pro
- 快速生成预览 → 1.0 pro fast
- 多参考图融合 → 1.0 lite
- 下一代最新模型(2月24日后)→ 2.0
bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh"
--prompt "Your prompt"
--model "doubao-seedance-2-0-260128"
--duration 5

Or say in LobsterAI chat: "Generate video with Seedance 2.0..."

**Recommended Usage Scenarios:**
- Pursue highest quality + audio-video sync → 1.5 pro
- Standard high-quality video → 1.0 pro
- Fast generation for preview → 1.0 pro fast
- Multi-reference image fusion → 1.0 lite
- Next-generation latest model (after Feb 24) → 2.0

高级选项

Advanced Options

自定义宽高比

Custom Aspect Ratio

根据使用场景选择合适的宽高比:
bash
undefined
Choose the appropriate aspect ratio based on usage scenarios:
bash
undefined

横屏视频(适合 YouTube、B站)

Landscape video (suitable for YouTube, Bilibili)

--ratio "16:9"
--ratio "16:9"

竖屏视频(适合抖音、快手)

Portrait video (suitable for Douyin, Kuaishou)

--ratio "9:16"
--ratio "9:16"

正方形视频(适合 Instagram)

Square video (suitable for Instagram)

--ratio "1:1"
--ratio "1:1"

自适应(根据内容自动选择)

Adaptive (automatically selected based on content)

--ratio "adaptive"
undefined
--ratio "adaptive"
undefined

自定义视频时长

Custom Video Duration

不同模型支持的时长范围不同:
bash
undefined
Different models support different duration ranges:
bash
undefined

短视频(快速生成)

Short video (fast generation)

--duration 2
--duration 2

标准时长

Standard duration

--duration 5
--duration 5

长视频(内容更丰富)

Long video (richer content)

--duration 10

**注意:**
- Seedance 1.5 pro 支持 4-12 秒
- Seedance 1.0 系列支持 2-12 秒
- 时长越长,生成时间越久
--duration 10

**Note:**
- Seedance 1.5 pro supports 4-12 seconds
- Seedance 1.0 series supports 2-12 seconds
- Longer duration means longer generation time

去除水印

Remove Watermark

生成无水印视频(用于商业用途):
bash
--no-watermark
Generate watermark-free videos (for commercial use):
bash
--no-watermark

轮询和超时控制

Polling and Timeout Control

调整轮询策略以适应不同场景:
bash
undefined
Adjust polling strategy to suit different scenarios:
bash
undefined

快速查询(适合短视频)

Fast query (suitable for short videos)

--poll-interval 3 --timeout 180
--poll-interval 3 --timeout 180

标准配置

Standard configuration

--poll-interval 5 --timeout 300
--poll-interval 5 --timeout 300

耐心等待(适合长视频或高峰期)

Patient waiting (suitable for long videos or peak hours)

--poll-interval 10 --timeout 600
undefined
--poll-interval 10 --timeout 600
undefined

状态说明

Status Description

生成过程中可能出现的任务状态:
状态说明操作
queued
任务排队中继续等待
running
正在生成视频继续等待
succeeded
生成成功下载视频
failed
生成失败查看错误信息
Possible task statuses during generation:
StatusDescriptionAction
queued
Task is in queueContinue waiting
running
Video is being generatedContinue waiting
succeeded
Generation successfulDownload video
failed
Generation failedCheck error message

错误处理

Error Handling

常见错误及解决方案

Common Errors and Solutions

错误:未设置环境变量 ARK_API_KEY
  • 原因:未配置 API Key
  • 解决:按照"如何配置 API Key"部分的说明进行配置
错误:任务创建失败 (HTTP 401)
  • 原因:API Key 无效或已过期
  • 解决:检查 API Key 是否正确,或在控制台重新生成
错误:任务创建失败 (HTTP 400)
  • 原因:参数错误(如 duration 超出范围)
  • 解决:检查参数是否符合模型要求
错误:任务超时
  • 原因:生成时间过长或 API 繁忙
  • 解决:增加
    --timeout
    值,或稍后重试
错误:任务失败
  • 原因:内容违规、提示词不清晰、图片格式错误等
  • 解决:检查提示词内容,确保图片URL可访问
错误:限流 (HTTP 429)
  • 原因:超过 RPM 或并发限制
  • 解决:等待1分钟后重试,或升级配额
Error: ARK_API_KEY environment variable not set
  • Cause: API Key not configured
  • Solution: Follow the instructions in the "How to Configure API Key" section
Error: Task creation failed (HTTP 401)
  • Cause: Invalid or expired API Key
  • Solution: Check if the API Key is correct, or regenerate it in the console
Error: Task creation failed (HTTP 400)
  • Cause: Parameter error (e.g., duration exceeds range)
  • Solution: Check if parameters meet model requirements
Error: Task timeout
  • Cause: Generation time is too long or API is busy
  • Solution: Increase the
    --timeout
    value, or try again later
Error: Task failed
  • Cause: Violent content, unclear prompts, incorrect image format, etc.
  • Solution: Check prompt content, ensure image URLs are accessible
Error: Rate limited (HTTP 429)
  • Cause: Exceeded RPM or concurrency limits
  • Solution: Wait 1 minute and try again, or upgrade quota

输出格式

Output Format

生成的视频具有以下特征:
  • 格式: MP4
  • 编码: H.264
  • 分辨率: 480p / 720p / 1080p(根据模型自动选择)
  • 帧率: 24 fps
  • 音频: AAC(如果启用
    --audio
  • 文件大小: 约 2-5 MB/秒(1080p)
Generated videos have the following characteristics:
  • Format: MP4
  • Encoding: H.264
  • Resolution: 480p / 720p / 1080p (automatically selected based on model)
  • Frame Rate: 24 fps
  • Audio: AAC (if
    --audio
    is enabled)
  • File Size: Approximately 2-5 MB/sec (1080p)

提示词最佳实践

Prompt Best Practices

优秀提示词的特点

Characteristics of Excellent Prompts

  1. 清晰的场景描述 - 说明环境、时间、氛围
  2. 具体的动作细节 - 描述物体或人物的具体动作
  3. 镜头运动 - 说明推拉摇移、特写等镜头语言
  4. 风格指定 - 写实、卡通、动漫等风格说明
  1. Clear scene description - Explain environment, time, atmosphere
  2. Specific action details - Describe specific actions of objects or characters
  3. Camera movement - Explain zoom, pan, tilt, close-up, etc.
  4. Style specification - Specify styles like realistic, cartoon, anime, etc.

提示词模板

Prompt Template

[风格],[场景描述],[主体动作],[镜头运动],[氛围/情绪]
示例:
写实风格,海边日落,一只海鸥在空中盘旋,镜头从远处缓缓推进到海鸥特写,宁静祥和的氛围
[Style], [Scene Description], [Subject Action], [Camera Movement], [Atmosphere/Mood]
Example:
Realistic style, sunset by the sea, a seagull circling in the air, camera slowly zooms in from a distance to a close-up of the seagull, peaceful and serene atmosphere

提示词注意事项

Prompt Notes

  • ✅ 具体描述:"小猫追逐蝴蝶" 而非 "小猫玩耍"
  • ✅ 镜头语言:"镜头360度环绕" 而非 "旋转"
  • ✅ 情绪氛围:"温暖明亮的阳光" 而非 "好天气"
  • ❌ 避免模糊:过于抽象的描述会导致随机性增加
  • ❌ 避免过长:保持在 200 字以内效果最佳
  • ❌ 避免违规:不要包含暴力、色情等违规内容
  • ✅ Specific description: "Kitten chasing a butterfly" instead of "Kitten playing"
  • ✅ Camera language: "Camera rotates 360 degrees" instead of "Rotate"
  • ✅ Emotional atmosphere: "Warm bright sunlight" instead of "Good weather"
  • ❌ Avoid vagueness: Too abstract descriptions increase randomness
  • ❌ Avoid excessive length: Best to keep within 200 words
  • ❌ Avoid violations: Do not include violent, pornographic, or other prohibited content

常见使用场景

Common Usage Scenarios

短视频创作

Short Video Creation

bash
bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh" \
  --prompt "产品展示:智能手表从不同角度旋转展示" \
  --ratio "9:16" \
  --duration 5
bash
bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh" \
  --prompt "Product showcase: Smartwatch rotating to display from different angles" \
  --ratio "9:16" \
  --duration 5

动画短片

Animated Short Film

bash
bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh" \
  --prompt "卡通风格,小兔子在森林里蹦蹦跳跳" \
  --ratio "16:9" \
  --duration 8 \
  --model "doubao-seedance-1-0-pro-250528"
bash
bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh" \
  --prompt "Cartoon style, little rabbit hopping in the forest" \
  --ratio "16:9" \
  --duration 8 \
  --model "doubao-seedance-1-0-pro-250528"

社交媒体内容

Social Media Content

bash
bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh" \
  --prompt "美食特写:热气腾腾的拉面,筷子夹起面条" \
  --ratio "1:1" \
  --duration 3
bash
bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh" \
  --prompt "Food close-up: Steaming ramen, chopsticks picking up noodles" \
  --ratio "1:1" \
  --duration 3

教学演示

Educational Demonstration

bash
bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh" \
  --prompt "科普动画:地球自转,太阳光照射地球表面" \
  --ratio "16:9" \
  --duration 10
bash
bash "$SKILLS_ROOT/seedance/scripts/generate-video.sh" \
  --prompt "Science animation: Earth rotating, sunlight shining on the Earth's surface" \
  --ratio "16:9" \
  --duration 10

参考资料

Reference Materials

技术支持

Technical Support

如遇到问题,可以:
  1. 查看脚本输出的错误信息
  2. 检查 API Key 配置是否正确
  3. 访问火山方舟控制台查看任务详情
  4. 参考官网文档了解更多细节
If you encounter problems, you can:
  1. Check the error message output by the script
  2. Verify if the API Key configuration is correct
  3. Visit the Volcano Ark Console to view task details
  4. Refer to the official documentation for more details