cp7553479

seedream(doubao)-image-generation

設計創意v1.0.6
作者:cp7553479更新於 2026-05-17共 7 個版本 · 最新版本釋出於 2026-03-17seedream-image-generation@clawhub_cp7553479/seedream-image-generation
圖片生成視覺素材#Image Generation

據 AlphaMoat 統計,截至 2026-09,seedream(doubao)-image-generation 累計下載 1,774 次、獲 1 個星標,在全部 5,078 個 AI 技能中排名第 4,592 位,在「設計創意」分類(512 個)中排名第 461 位。

累計安裝
153
累計下載
1774
星標
1
全站排名
#4,592
全站前 91% · 「設計創意」前 91%
平台累計安裝累計下載星標評論
ClawHub ↗4515391-
SkillHub ↗15317741—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

支援文生圖、圖生圖及一般視覺創作任務,並可能將結果儲存到本機目錄。API 憑據和產生請求載荷會傳送到設定的端點;應僅將 SEEDREAM_BASE_URL 指向受控、可信的 HTTPS 火山引擎服務。 使用提供的 Python 或 Node 實作,核實 Ark 部署與模型對應尺寸,可選工具審閱後再啟用。本機圖像會上傳,需保護記錄並使用隔離下載目錄。

資料釋出於 2026-10-27

可以用來做什麼

  • 根據文字提示產生圖像
  • 使用經授權的本機圖像進行圖像編輯

什麼時候用

  • API key 和可信服務端點已設定,且輸入圖像和提示詞已獲准傳送時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

說明產生這張圖像需要傳送哪些提示詞和輸入內容,先不要呼叫 API。
為圖生圖任務準備提示詞,並確認目標端點是受控 HTTPS 服務。

月度資料趨勢

累計下載1774
333110718812026-03 · 累計下載 4402026-05 · 累計下載 9782026-06 · 累計下載 11382026-07 · 累計下載 13672026-08 · 累計下載 15002026-09 · 累計下載 177426-0326-09
星標1
0122026-03 · 星標 12026-05 · 星標 12026-06 · 星標 12026-07 · 星標 12026-08 · 星標 12026-09 · 星標 126-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-091774—1
2026-081500+9.7%1
2026-071367+20.1%1
2026-061138+16.4%1
2026-05978—1
2026-03440—1

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

6.0 KB · ClawHub v1.0.6
---
name: seedream-image-generation
description: Image generation via Volcengine Seedream API. Use this when you need to perform Text-to-Image (T2I), Image-to-Image (I2I), or general visual creative tasks.
metadata:
  {
    "openclaw":
      {
        "requires": { "env": ["SEEDREAM_API_KEY", "SEEDREAM_BASE_URL"] },
        "primaryEnv": "SEEDREAM_API_KEY"
      }
展開全部(共 128 行)
  }
---

# Seedream Image Generation Skill

This skill provides methods for calling the Volcengine Ark large model service platform's image generation models (Seedream).

## Select Environment

The script provides implementations for both Python and JavaScript:
- If your runtime is primarily Node.js/TypeScript or a web module, use **scripts/seedream.js**.
- If your runtime involves complex data analysis, batch scheduling, or is purely Python, use **scripts/seedream.py**.

## Supported Model Parameters (Model ID/Endpoint ID)

When invoking, the `model` parameter needs to be the deployment Endpoint ID from the Ark console (e.g., `ep-202X...`), which must be backed by one of the following foundational image generation models:
- `doubao-seedream-5-0-260128`
- `doubao-seedream-4-5-251128`
- `doubao-seedream-4-0-250828`

## Script Parameters

You must pass specific parameters to control the image generation. The available parameters are:

- **model** *(string, optional)*: Endpoint ID corresponding to the model. Defaults to `doubao-seedream-5-0-260128`.
- **prompt** *(string, required)*: Text description used to generate the image.
- **size** *(string, optional)*: Target image size. Supports `"2K"`, `"3K"`, `"4K"`.
  - `doubao-seedream-5-0` supports **2K** and **3K**.
  - `doubao-seedream-4` and `doubao-seedream-4-5` support **2K** and **4K**.
  - If not provided, this parameter is completely ignored in the API request.
  - You can also specify the desired resolution directly in the `prompt`. It is highly recommended to explicitly state the resolution in the `prompt` for the best results.
- **image** *(string | list of strings, optional)*: Local image path or image path list used for image-to-image generation. The scripts will read the local file, convert it to base64, and send it as the request `image` field.
- **watermark** *(boolean, optional)*: Whether to add a Volcengine AI watermark. Unprovided value assumes `false`.
- **optimize_prompt_options** *(object, optional)*: Configure automatic prompt optimization options. Format: JSON object. E.g., `{"mode": "standard"}`.
- **tools** *(list of objects, optional)*: Capabilities options for the model, formatted as JSON. Example: `[{"type": "web_search"}]`.
- **output_format** *(string, optional)*: The output image format. Options include `png`, `jpeg`.
- **sequential_image_generation** *(string, optional)*: Sequential image generation strategy (e.g., `"auto"`).
- **download_dir** *(string, optional)*: Local directory to save the generated images. If not provided, images will not be downloaded locally, and only the API response will be returned.

## Recommended width and height values

| Resolution | Aspect Ratio | Dimensions |
| :--------- | :----------- | :--------- |
| **2K**     | 1:1          | 2048x2048  |
|            | 4:3          | 2304x1728  |
|            | 3:4          | 1728x2304  |
|            | 16:9         | 2848x1600  |
|            | 9:16         | 1600x2848  |
|            | 3:2          | 2496x1664  |
|            | 2:3          | 1664x2496  |
|            | 21:9         | 3136x1344  |
| **3K**     | 1:1          | 3072x3072  |
|            | 4:3          | 3456x2592  |
|            | 3:4          | 2592x3456  |
|            | 16:9         | 4096x2304  |
|            | 9:16         | 2304x4096  |
|            | 2:3          | 2496x3744  |
|            | 3:2          | 3744x2496  |
|            | 21:9         | 4704x2016  |
| **4K**     | 1:1          | 4096x4096  |
|            | 3:4          | 3520x4704  |
|            | 4:3          | 4704x3520  |
|            | 16:9         | 5504x3040  |
|            | 9:16         | 3040x5504  |
|            | 2:3          | 3328x4992  |
|            | 3:2          | 4992x3328  |
|            | 21:9         | 6240x2656  |


## Usage Examples

**Python Example:**
```bash
python3 <current_skill_dir>/scripts/seedream.py \
  --prompt "A cute orange cat laying under the sun" \
  --model "ep-xxxxx..." \
  --size "1024x1024" \
  --watermark "false" \
  --output_format "png"
```

**Node.js Example:**
```bash
node <current_skill_dir>/scripts/seedream.js \
  --prompt "A cute orange cat laying under the sun" \
  --model "ep-xxxxx..." \
  --size "1024x1024" \
  --watermark "false" \
  --output_format "png"
```

python3 <current_skill_dir>/scripts/seedream.py \
  --prompt "Turn this product photo into a clean white-background ecommerce image" \
  --image "/path/to/source.png" \
  --model "ep-xxxxx..."

**Example with Download Directory:**
```bash
python3 <current_skill_dir>/scripts/seedream.py \
  --prompt "A beautiful sunset over the mountains" \
  --download_dir "/Users/vincent/Downloads/generated_images" \
  --model "ep-xxxxx..."
```

python3 <current_skill_dir>/scripts/seedream.py \
  --prompt "A futuristic cityscape" \
  --model "ep-xxxxx..." \
  --optimize_prompt_options '{"mode": "standard"}' \
  --tools '[{"type": "web_search"}]'

## Troubleshooting

If the scripts encounter issues, please check the following:
- **SEEDREAM_API_KEY**: (env, required) Ensure this API key is set in your environment. It is the core authentication for Volcengine Ark.
- **SEEDREAM_BASE_URL**: (env, optional) Ensure this is correct if you are using a custom endpoint. Defaults to `https://ark.cn-beijing.volces.com/api/v3/images/generations`.

For more detailed API documentation, please visit: [https://www.volcengine.com/docs/82379/1541523?lang=zh](https://www.volcengine.com/docs/82379/1541523?lang=zh)
For more model id list or check the newest model id if required, please visit: [https://www.volcengine.com/docs/82379/1330310?lang=zh#36969059](https://www.volcengine.com/docs/82379/1330310?lang=zh#36969059), and then update this seedream-image-generation/SKILL.md file "Supported Model Parameters".

「設計創意」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。