seedream

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Seedream 图片生成

Seedream Image Generation

使用火山引擎 Seedream 模型生成高质量 AI 图片,支持文本生成图片(T2I)、图片编辑(I2I)、多图融合、组图生成、联网搜索等多种创作模式。
Node.js 版本:此脚本使用 Node.js 实现,无需 Python 环境。通过入口脚本自动检测 Node.js 运行时(优先使用系统 node,回退到 LobsterAI 内置运行时),Windows 和 Mac 用户都可以开箱即用。
Generate high-quality AI images using the Volcengine Seedream model, supporting multiple creation modes including text-to-image (T2I), image editing (I2I), multi-image fusion, sequential image generation, and web-search-based generation.
Node.js Version: This script is implemented with 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), allowing Windows and Mac users to use it out of the box.

配置

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 environment variable
    ARK_API_KEY
  • Authentication:
    Authorization: Bearer {API_KEY}
  • SDK: Compatible with Volcengine Ark Python SDK

快速开始

Quick Start

第一步:设置 API Key
bash
undefined
Step 1: Set API Key
bash
undefined

macOS / Linux - 当前终端临时生效(立即使用)

macOS / Linux - Temporary effect in current terminal (use immediately)

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

Windows PowerShell - 当前会话临时生效

Windows PowerShell - Temporary effect in current session

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

验证设置成功(macOS/Linux)

Verify successful setup (macOS/Linux)

echo $ARK_API_KEY
echo $ARK_API_KEY

验证设置成功(Windows)

Verify successful setup (Windows)

echo $env:ARK_API_KEY

**第二步:生成你的第一张图片**

```bash
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh" \
  --prompt "一只可爱的橘色小猫"
echo $env:ARK_API_KEY

**Step 2: Generate Your First Image**

```bash
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh" \
  --prompt "A cute orange kitten"

如何配置 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 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 When Starting LobsterAI**

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

**How to Obtain API Key:**
1. Visit Volcengine 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-check

无需安装任何依赖! 该脚本已兼容 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. Windows and Mac users do not need additional configuration.

工作流程

Workflow

Seedream 图片生成采用同步模式,流程简单高效:
  1. 提交请求 - 调用 API 提交图片生成请求
  2. 等待生成 - API 直接处理并生成图片(通常 30-60 秒)
  3. 下载图片 - 从返回的 URL 下载生成的图片文件
相比异步模式,同步模式更简单直接,无需轮询任务状态。
Seedream image generation uses synchronous mode, with a simple and efficient process:
  1. Submit Request - Call the API to submit an image generation request
  2. Wait for Generation - The API directly processes and generates the image (usually 30-60 seconds)
  3. Download Image - Download the generated image file from the returned URL
Compared to asynchronous mode, synchronous mode is simpler and more straightforward, with no need to poll task status.

配额和限制

Quotas and Limits

免费额度

Free Tier

所有 Seedream 模型提供免费额度,具体请参见火山方舟控制台。
All Seedream models offer free quotas. Please refer to the Volcengine Ark Console for details.

限流限制

Rate Limits

  • IPM(每分钟图片数): 500 张/分钟(Seedream 4.5, 4.0)
  • 不同模型的限流不同,请参见官方文档
  • IPM (Images Per Minute): 500 images/minute (Seedream 4.5, 4.0)
  • Rate limits vary by model. Please refer to the official documentation.

图片保存时间

Image Retention Time

⚠️ 重要提醒
  • 任务数据(包括图片URL)仅保留 24 小时
  • 超时后会被自动清除
  • 务必及时下载保存生成的图片
⚠️ Important Note:
  • Task data (including image URLs) is only retained for 24 hours
  • It will be automatically cleared after the timeout
  • Be sure to download and save the generated images 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. 文本生成图片(T2I)

1. Text-to-Image (T2I)

根据文字描述生成图片,适合创意激发和概念设计。
bash
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh" \
  --prompt "充满活力的特写编辑肖像,模特眼神犀利,头戴雕塑感帽子,色彩拼接丰富,景深较浅,Vogue杂志封面美学风格" \
  --output portrait.png
示例提示词:
  • "写实风格,晴朗的蓝天之下,一大片白色的雏菊花田,镜头逐渐拉近,最终定格在一朵雏菊花的特写上"
  • "卡通风格,一只橘色小猫坐在窗台上,阳光洒在身上,温暖治愈的氛围"
  • "赛博朋克风格,未来城市夜景,霓虹灯闪烁,高楼林立"
Generate images based on text descriptions, suitable for creative inspiration and conceptual design.
bash
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh" \
  --prompt "Dynamic close-up editorial portrait with a model having sharp eyes, wearing a sculptural hat, rich color blocking, shallow depth of field, Vogue magazine cover aesthetic" \
  --output portrait.png
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 single daisy"
  • "Cartoon style, an orange kitten sitting on a windowsill, sunlight shining on it, warm and healing atmosphere"
  • "Cyberpunk style, future city night scene, neon lights flickering, tall buildings lining the streets"

2. 图片编辑(I2I)- 单图输入

2. Image Editing (I2I) - Single Image Input

基于已有图片,结合文字指令进行图像编辑。支持本地图片和网络URL
bash
undefined
Edit images based on existing images combined with text instructions. Supports local images and web URLs.
bash
undefined

使用本地图片

Use local image

bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh"
--prompt "保持模特姿势不变,将服装材质改为透明玻璃质感"
--image "/Users/yourname/Pictures/model.jpg"
--output edited_model.png
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh"
--prompt "Keep the model's pose unchanged, change the clothing material to transparent glass texture"
--image "/Users/yourname/Pictures/model.jpg"
--output edited_model.png

使用网络图片

Use web image

bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh"
--prompt "将背景改为海边日落场景"
--image "https://example.com/photo.jpg"
--output beach_sunset.png

**支持的图片来源:**
- ✅ 本地文件:`/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/seedream/scripts/generate-image.sh"
--prompt "Change the background to a seaside sunset scene"
--image "https://example.com/photo.jpg"
--output beach_sunset.png

**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. 多图融合(多图输入单图输出)

3. Multi-Image Fusion (Multiple Inputs, Single Output)

融合多张参考图的特征生成新图像。支持混合使用本地图片和网络图片
bash
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh" \
  --prompt "将图1的服装换为图2的服装" \
  --image "/Users/yourname/Pictures/person.jpg" \
  --image "https://example.com/clothes.jpg" \
  --output fusion_result.png
常见使用场景:
  • 服装试穿:人物图 + 服装图 → 穿搭效果图
  • 风格迁移:照片 + 风格参考图 → 风格化作品
  • 场景融合:人物 + 背景 → 合成场景
Generate new images by fusing features from multiple reference images. Supports mixing local and web images.
bash
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh" \
  --prompt "Change the clothing in image 1 to the clothing in image 2" \
  --image "/Users/yourname/Pictures/person.jpg" \
  --image "https://example.com/clothes.jpg" \
  --output fusion_result.png
Common Use Cases:
  • Virtual try-on: Person image + clothing image → Outfit preview
  • Style transfer: Photo + style reference image → Styled work
  • Scene fusion: Person + background → Composite scene

4. 组图生成(多图输出)

4. Sequential Image Generation (Multiple Outputs)

生成一组内容关联的图片,适合漫画分镜、品牌视觉等。
Generate a set of content-related images, suitable for comic storyboards, brand visuals, etc.

文生组图

Text-to-Sequential Images

bash
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh" \
  --prompt "生成一组共4张连贯插画,核心为同一庭院一角的四季变迁,以统一风格展现四季独特色彩、元素与氛围" \
  --sequential \
  --max-images 4 \
  --output seasons.png
输出文件会自动编号:
seasons_1.png
,
seasons_2.png
,
seasons_3.png
,
seasons_4.png
bash
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh" \
  --prompt "Generate a set of 4 coherent illustrations focusing on the four seasons' changes in a corner of the same courtyard, showcasing the unique colors, elements, and atmosphere of each season in a unified style" \
  --sequential \
  --max-images 4 \
  --output seasons.png
Output files will be automatically numbered:
seasons_1.png
,
seasons_2.png
,
seasons_3.png
,
seasons_4.png

单图生组图

Single Image-to-Sequential Images

bash
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh" \
  --prompt "参考这个LOGO,做一套户外运动品牌视觉设计,品牌名称为'GREEN',包括包装袋、帽子、卡片、挂绳等" \
  --image "/Users/yourname/Pictures/logo.png" \
  --sequential \
  --max-images 4 \
  --output brand_design.png
bash
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh" \
  --prompt "Refer to this LOGO to create a set of outdoor sports brand visual designs, with the brand name 'GREEN', including packaging bags, hats, cards, lanyards, etc." \
  --image "/Users/yourname/Pictures/logo.png" \
  --sequential \
  --max-images 4 \
  --output brand_design.png

5. 联网搜索增强生成(Seedream 5.0 lite)

5. Web-Search Enhanced Generation (Seedream 5.0 lite)

启用实时网络搜索,融合最新网络信息。
bash
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh" \
  --prompt "搜索下近期热门的白鸭子单手拿着风车形象,以极具冲击力的视角,设计成巨型装置" \
  --search \
  --output search_result.png
注意
  • 联网搜索功能仅限 Seedream 5.0 lite 模型
  • 使用
    --search
    参数会自动切换到 5.0 lite 模型
  • 适合需要融合实时信息的创作场景
Enable real-time web search to integrate the latest online information.
bash
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh" \
  --prompt "Search for the recently popular image of a white duck holding a windmill with one hand, design it into a giant installation from a highly impactful perspective" \
  --search \
  --output search_result.png
Notes:
  • Web search functionality is only available for the Seedream 5.0 lite model
  • Using the
    --search
    parameter will automatically switch to the 5.0 lite model
  • Suitable for creation scenarios that require integrating real-time information

参数说明

Parameter Description

必需参数

Required Parameters

参数说明示例
--prompt
图片描述提示词(必需)"一只可爱的小猫"
ParameterDescriptionExample
--prompt
Image description prompt (required)"A cute kitten"

可选参数

Optional Parameters

参数说明默认值可选值
--image
参考图片路径或URL(可多次使用)本地文件路径或URL
--model
模型ID
doubao-seedream-4-5-251128
见模型列表
--size
图片尺寸
2K
1K
,
2K
,
4K
--no-watermark
不添加水印标志参数
--sequential
生成组图标志参数
--max-images
组图数量41-8
--search
启用联网搜索标志参数
--output
输出文件路径
generated_image.png
文件路径
--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-seedream-4-5-251128
See model list
--size
Image resolution
2K
1K
,
2K
,
4K
--no-watermark
Do not add watermarkNoFlag parameter
--sequential
Generate sequential imagesNoFlag parameter
--max-images
Number of sequential images41-8
--search
Enable web searchNoFlag parameter
--output
Output file path
generated_image.png
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:

Seedream 4.5(推荐)

Seedream 4.5 (Recommended)

  • 模型ID:
    doubao-seedream-4-5-251128
  • 特点: 最新版本,综合质量最佳
  • 支持: 文生图、图生图、多图融合、组图生成
  • 输出: 1K-4K分辨率可选
  • 限流: IPM 500
  • Model ID:
    doubao-seedream-4-5-251128
  • Features: Latest version, best overall quality
  • Supported Functions: Text-to-image, image-to-image, multi-image fusion, sequential image generation
  • Output: 1K-4K resolution optional
  • Rate Limit: IPM 500

Seedream 4.0

Seedream 4.0

  • 模型ID:
    doubao-seedream-4-0-250828
  • 特点: 成熟稳定版本
  • 支持: 文生图、图生图、多图融合、组图生成
  • 输出: 1K-4K分辨率可选
  • 限流: IPM 500
  • Model ID:
    doubao-seedream-4-0-250828
  • Features: Mature and stable version
  • Supported Functions: Text-to-image, image-to-image, multi-image fusion, sequential image generation
  • Output: 1K-4K resolution optional
  • Rate Limit: IPM 500

Seedream 5.0 lite(联网搜索专用)

Seedream 5.0 lite (For Web Search Only)

  • 模型ID:
    doubao-seedream-5-0-260128
  • 特点: 支持联网搜索,融合实时网络信息
  • 使用: 通过
    --search
    参数自动启用
  • 注意: 2026年2月24日18点后正式开放 API
推荐使用场景:
  • 追求最高质量 → 4.5
  • 稳定生产环境 → 4.0
  • 需要实时信息 → 5.0 lite(使用
    --search
  • Model ID:
    doubao-seedream-5-0-260128
  • Features: Supports web search, integrates real-time online information
  • Usage: Automatically enabled via the
    --search
    parameter
  • Note: API will be officially available after 18:00 on February 24, 2026
Recommended Use Scenarios:
  • Pursue highest quality → 4.5
  • Stable production environment → 4.0
  • Need real-time information → 5.0 lite (use
    --search
    )

高级选项

Advanced Options

自定义图片尺寸

Custom Image Resolution

根据使用场景选择合适的尺寸:
bash
undefined
Choose the appropriate resolution based on usage scenarios:
bash
undefined

小尺寸(快速预览)

Small size (quick preview)

--size "1K"
--size "1K"

标准尺寸(推荐)

Standard size (recommended)

--size "2K"
--size "2K"

高清晰度

High definition

--size "4K"

**注意:**
- 尺寸越大,生成时间越长
- 4K 图片可能需要 40-60 秒
--size "4K"

**Notes**:
- Larger resolution results in longer generation time
- 4K images may take 40-60 seconds

去除水印

Remove Watermark

生成无水印图片(用于商业用途):
bash
--no-watermark
Generate watermark-free images (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 small images)

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

标准配置

Standard configuration

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

耐心等待(适合4K或组图)

Wait patiently (suitable for 4K or sequential images)

--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 queuedContinue waiting
running
Image is being generatedContinue waiting
succeeded
Generation succeededDownload image
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)
  • 原因:参数错误(如 size 不支持、prompt 为空等)
  • 解决:检查参数是否符合要求
错误:任务超时
  • 原因:生成时间过长或 API 繁忙
  • 解决:增加
    --timeout
    值,或稍后重试
错误:任务失败
  • 原因:内容违规、提示词不清晰、图片格式错误等
  • 解决:检查提示词内容,确保图片URL可访问
错误:限流 (HTTP 429)
  • 原因:超过 IPM 限制
  • 解决:等待1分钟后重试,或升级配额
错误:图片文件不存在
  • 原因:本地图片路径错误
  • 解决:检查文件路径是否正确,使用绝对路径
Error: Environment variable ARK_API_KEY 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., unsupported size, empty prompt, etc.)
  • Solution: Check if parameters meet requirements
Error: Task timeout
  • Cause: Generation time too long or API busy
  • Solution: Increase the
    --timeout
    value, or try again later
Error: Task failed
  • Cause: Violent content, unclear prompt, incorrect image format, etc.
  • Solution: Check prompt content, ensure image URL is accessible
Error: Rate limit exceeded (HTTP 429)
  • Cause: Exceeded IPM limit
  • Solution: Wait 1 minute and try again, or upgrade quota
Error: Image file does not exist
  • Cause: Incorrect local image path
  • Solution: Check if the file path is correct, use absolute path

输出格式

Output Format

生成的图片具有以下特征:
  • 格式: PNG, JPEG(根据output参数自动识别)
  • 分辨率: 1K / 2K / 4K(根据 size 参数)
  • 文件大小: 约 0.5-10 MB(取决于尺寸和复杂度)
  • 命名规则:
    • 单图:指定的文件名
    • 组图:
      文件名_1.png
      ,
      文件名_2.png
      , ...
Generated images have the following characteristics:
  • Format: PNG, JPEG (automatically detected based on output parameter)
  • Resolution: 1K / 2K / 4K (based on size parameter)
  • File Size: Approximately 0.5-10 MB (depends on resolution and complexity)
  • Naming Rules:
    • Single image: Specified file name
    • Sequential images:
      filename_1.png
      ,
      filename_2.png
      , ...

提示词最佳实践

Prompt Best Practices

优秀提示词的特点

Characteristics of Excellent Prompts

  1. 清晰的主体描述 - 说明画面的主要内容
  2. 具体的风格指定 - 写实、卡通、赛博朋克等
  3. 细节补充 - 色彩、光线、氛围等
  4. 构图说明 - 特写、全景、俯视等视角
  1. Clear Subject Description - Explain the main content of the image
  2. Specific Style Specification - Realistic, cartoon, cyberpunk, etc.
  3. Detail Supplements - Colors, lighting, atmosphere, etc.
  4. Composition Instructions - Close-up, panoramic, bird's-eye view, etc.

提示词模板

Prompt Template

[风格],[主体描述],[细节补充],[构图/氛围]
示例:
写实风格,一只橘色小猫坐在木制窗台上,阳光从左侧洒进来,温暖治愈的氛围,特写构图
[Style], [Subject Description], [Detail Supplements], [Composition/Atmosphere]
Example:
Realistic style, an orange kitten sitting on a wooden windowsill, sunlight shining from the left, warm and healing atmosphere, close-up composition

提示词注意事项

Prompt Notes

  • ✅ 具体描述:"小猫在追逐蝴蝶" 而非 "小猫玩耍"
  • ✅ 风格说明:"赛博朋克风格" 而非 "好看的"
  • ✅ 细节丰富:"橘色长毛小猫,蓝色眼睛" 而非 "猫"
  • ❌ 避免模糊:过于抽象的描述会导致随机性增加
  • ❌ 避免过长:保持在 200 字以内效果最佳
  • ❌ 避免违规:不要包含暴力、色情等违规内容
  • ✅ Specific description: "Kitten chasing a butterfly" instead of "Kitten playing"
  • ✅ Style explanation: "Cyberpunk style" instead of "Nice-looking"
  • ✅ Rich details: "Orange long-haired kitten with blue eyes" instead of "Cat"
  • ❌ Avoid ambiguity: 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 Use Scenarios

产品设计

Product Design

bash
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh" \
  --prompt "现代简约风格,智能手表产品展示,白色背景,工作室灯光" \
  --size "4K"
bash
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh" \
  --prompt "Modern minimalist style, smartwatch product display, white background, studio lighting" \
  --size "4K"

艺术创作

Art Creation

bash
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh" \
  --prompt "超现实主义,漂浮的岛屿,瀑布从天而降,梦幻色彩" \
  --size "2K"
bash
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh" \
  --prompt "Surrealism, floating islands, waterfalls falling from the sky, dreamy colors" \
  --size "2K"

社交媒体内容

Social Media Content

bash
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh" \
  --prompt "美食特写,热气腾腾的拉面,筷子夹起面条,暖色调" \
  --size "2K"
bash
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh" \
  --prompt "Food close-up, steaming ramen, chopsticks picking up noodles, warm color tones" \
  --size "2K"

品牌视觉设计

Brand Visual Design

bash
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh" \
  --prompt "参考logo,生成一套完整的品牌视觉系统,包括名片、海报、包装设计" \
  --image brand_logo.png \
  --sequential \
  --max-images 4
bash
bash "$SKILLS_ROOT/seedream/scripts/generate-image.sh" \
  --prompt "Refer to the logo to generate a complete brand visual system, including business cards, posters, packaging designs" \
  --image brand_logo.png \
  --sequential \
  --max-images 4

参考资料

Reference Materials

技术支持

Technical Support

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