Seedream 图片生成
Seedream 图片生成 - 火山引擎方舟大模型服务平台图片生成 API。支持文生图、图生图、多图融合、组图生成等多种模式。
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 1 · 132 · 0 current installs · 0 all-time installs
byXiao Huang@xhuang68
MIT-0
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & Capability
Name/description correspond to Volcengine Seedream image-generation and the single required env var ARK_API_KEY and python3 binary are appropriate for that purpose. However, the SKILL.md assumes a local script at {baseDir}/scripts/seedream.py which is not provided in the package, so the bundle is incomplete.
Instruction Scope
Instructions tell the agent to run python3 {baseDir}/scripts/seedream.py with various flags and to read ARK_API_KEY. Because there are no code files, the instructions refer to files that don't exist in the skill—this is a substantive scope/integrity problem. Also, the README suggests passing the API key on the command line (exposes it via process lists) and enables network calls (expected for an API client) but the exact network endpoints and behavior of the missing script are unknown.
Install Mechanism
The only install step is a brew install of the python formula to provide python3, which is reasonable and low-risk for a Python-based CLI. No downloads from unknown URLs or archive extraction are present.
Credentials
Only ARK_API_KEY is required and declared as the primary credential, which is proportionate for a cloud image-generation API. No unrelated credentials or config paths are requested.
Persistence & Privilege
The skill does not request always:true or other elevated persistence. It is user-invocable and allows autonomous invocation (the platform default); this is expected for skills that make network API calls.
What to consider before installing
This skill appears to be an instruction wrapper for Volcengine's Seedream image API and appropriately asks for ARK_API_KEY and python3, but the SKILL.md expects a local script ({baseDir}/scripts/seedream.py) which is not included in the package. Before installing or running it, ask the publisher for the missing script or the real implementation, and verify its source. Do not paste your ARK_API_KEY into command-line arguments (use environment variables or secure config) because command-line args can be visible to other users/processes. Confirm the script makes HTTPS calls to the official Volcengine endpoints and inspect its code for any unexpected file access or data exfiltration. Because this is an instruction-only skill with no code to audit, treat the missing script as an integrity gap—if you cannot obtain and review that code from a trusted source, avoid installing or running the skill.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.0.0
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
Runtime requirements
🎨 Clawdis
Binspython3
EnvARK_API_KEY
Primary envARK_API_KEY
Install
Install Python (brew)
Bins: python3
brew install pythonSKILL.md
Seedream 图片生成
基于火山引擎方舟大模型服务平台的 Seedream 图片生成 API。
功能
- ✅ 文生图 (Text to Image)
- ✅ 图生图 (Image to Image) - 单图输入
- ✅ 多图融合 (Multi-image to Image) - 多图输入
- ✅ 组图生成 (Sequential Image Generation)
- ✅ 联网搜索 (Web Search) - 仅 5.0 lite
环境配置
使用前需要设置环境变量 ARK_API_KEY:
export ARK_API_KEY="your-api-key-here"
或在命令中传入:
python3 {baseDir}/scripts/seedream.py --api-key "your-api-key" ...
快速开始
文生图
python3 {baseDir}/scripts/seedream.py -p "一只可爱的橘猫坐在窗台上"
图生图
python3 {baseDir}/scripts/seedream.py -p "将图片转为水彩画风格" -i "https://example.com/input.png"
多图融合
python3 {baseDir}/scripts/seedream.py -p "将图1的服装换为图2的服装" -i "img1.png" -i "img2.png"
组图生成
python3 {baseDir}/scripts/seedream.py -p "生成4张连贯插画" --sequential --max-images 4
命令行参数
| 参数 | 简写 | 说明 | 默认值 |
|---|---|---|---|
| --api-key | -k | API Key | 环境变量 ARK_API_KEY |
| --prompt | -p | 提示词 | (必填) |
| --model | -m | 模型 (5.0-lite/4.5/4.0) | 5.0-lite |
| --image | -i | 输入图片 URL (可多次使用) | - |
| --size | -s | 图像尺寸 | 2K |
| --output-format | -f | 输出格式 (png/jpeg) | png |
| --watermark | -w | 添加水印 | False |
| --sequential | - | 启用组图模式 | False |
| --max-images | - | 最大图片数 | 4 |
| --web-search | - | 启用联网搜索 | False |
| --output | -o | 输出目录 | ~/Downloads |
| --proxy | -x | 代理地址 | - |
支持的模型
| 模型 | 别名 | 支持功能 |
|---|---|---|
| Seedream 5.0 lite | 5.0-lite | 文生图、图生图、组图、联网搜索、png输出 |
| Seedream 4.5 | 4.5 | 文生图、图生图、组图、jpeg输出 |
| Seedream 4.0 | 4.0 | 文生图、图生图、组图、jpeg输出 |
图像尺寸
- 方式1:
2K,3K,4K(5.0-lite/4.5),1K,2K,4K(4.0) - 方式2: 像素值,如
2048x2048,2848x1600
示例
生成单张图片
# 文生图 - 5.0 lite
python3 {baseDir}/scripts/seedream.py -p "科技感的城市夜景" -o ./images
# 图生图
python3 {baseDir}/scripts/seedream.py -p "转为黑白风格" -i "input.png" -o ./images
# 使用 4.5 模型
python3 {baseDir}/scripts/seedream.py -p "可爱的柴犬" -m 4.5 -o ./images
生成组图
# 文生组图
python3 {baseDir}/scripts/seedream.py -p "生成4张连贯的四季风景" --sequential -o ./images
# 参考图生组图
python3 {baseDir}/scripts/seedream.py -p "参考logo生成品牌设计" -i "logo.png" --sequential --max-images 6 -o ./images
联网搜索
# 生成实时天气图
python3 {baseDir}/scripts/seedream.py -p "北京今日天气预报,现代扁平化风格" --web-search -o ./images
输出
- 生成的图片保存在指定输出目录 (默认 ~/Downloads)
- 文件名格式:
seedream_{timestamp}_{index}.{ext}
Files
1 totalSelect a file
Select a file to preview.
Comments
Loading comments…
