Token导航 LogoToken导航TokenDH.com
图像处理敏感数据clawhub未标认证来源可访问clear审计提醒

seedream-image-generation种子梦图像生成

Agent Skill

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

总安装

16,199

周安装

649

GitHub Stars

1

下载量

5,244
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:seedream-image-generation(种子梦图像生成)
来源仓库:https://github.com/cp7553479/seedream-image-generation
安装命令:
openclaw skills install seedream-image-generation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install seedream-image-generation

简介

通过 Volcengine Seedream API 生成图像。当您需要执行文本到图像 (T2I)、图像到图像 (I2I) 或一般视觉创意任务时,请使用此功能。

SKILL.md

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

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

ResolutionAspect RatioDimensions
2K1:12048x2048
4:32304x1728
3:41728x2304
16:92848x1600
9:161600x2848
3:22496x1664
2:31664x2496
21:93136x1344
3K1:13072x3072
4:33456x2592
3:42592x3456
16:94096x2304
9:162304x4096
2:32496x3744
3:23744x2496
21:94704x2016
4K1:14096x4096
3:43520x4704
4:34704x3520
16:95504x3040
9:163040x5504
2:33328x4992
3:24992x3328
21:96240x2656

Usage Examples

Python Example:

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:

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:

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 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, and then update this seedream-image-generation/SKILL.md file "Supported Model Parameters".

适合场景

01

文本生成图片

02

图片风格化

03

产品图和创意图

04

需要 FLUX 模型时

能力概览

能力 1

调用 FLUX 图像模型

能力 2

支持文本生图和图像改写

能力 3

覆盖 LoRA 或风格适配

能力 4

适合创意视觉生成

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

73.33%
按下载量换算3,845

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills