Overview
- Skill Key
- crabfishxy/seedream-image-for-openclaw
- Author
- crabfishxy
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/crabfishxy/seedream-image-for-openclaw
- Latest Commit SHA
- 938ccb5497eb20c36a6b8d9e42f7ef77d1cdc87a
使用火山引擎 Seedream-4.5 API 生成高质量图片。适用于文生图、图生图以及生成关联组图的场景。
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 seedream 技能。 若已安装,则直接安装 seedream 技能。
# Seedream
本 Skill 封装了火山引擎(Volcengine)的 Seedream-4.5 图片生成能力,支持通过文本提示词或参考图生成高质量 AI 图像。
## 使用方法
### 文生图
生成单张图片(默认分辨率):
```bash
uv run {baseDir}/scripts/generate_image.py --prompt "一只赛博朋克风格的猫" --api-key YOUR_API_KEY
```
指定分辨率(如 2K, 4K 或具体像素):
```bash
uv run {baseDir}/scripts/generate_image.py --prompt "壮丽的山川日出" --size "2K" --api-key YOUR_API_KEY
```
### 图生图
提供参考图片 URL:
```bash
uv run {baseDir}/scripts/generate_image.py --prompt "将其风格变为印象派" --image "https://example.com/input.jpg" --api-key YOUR_API_KEY
```
### 生成组图
生成一组内容关联的图片(最多 15 张):
```bash
uv run {baseDir}/scripts/generate_image.py --prompt "一个宇航员在不同行星上的探险经历" --sequential --max-images 4 --api-key YOUR_API_KEY
```
## API Key 配置
可以通过以下方式提供 API Key:
1. 命令行参数 `--api-key`
2. 环境变量 `VOLC_API_KEY`
## 参数说明
- `--prompt`: (必选) 图像生成的文本描述。
- `--model`: (可选) 模型 ID,默认为 `doubao-seedream-4-5-251128`。
- `--size`: (可选) 图像尺寸。支持 `2K`, `4K` 或 `2048x2048` 等格式。
- `--image`: (可选) 参考图 URL 或 Base64 编码。
- `--sequential`: (可选) 开启组图生成功能。
- `--max-images`: (可选) 组图生成的最大图片数量(1-15)。
## 工作流
1. 调用 `generate_image.py` 脚本。
2. 脚本会输出以 `MEDIA_URL: ` 开头的图片链接。
3. 提取链接并使用 Markdown 语法展示:``。
4. 除非用户要求,否则无需下载图片。
## 注意事项
- Seedream-4.5 支持中英文提示词。
- 组图功能仅在 Seedream-4.5/4.0 模型中有效。
- 确保提供的图片 URL 可公开访问。
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.