wanxing0724

doubao-image

Design & Mediav1.0.4
By wanxing0724Updated 2026-05-113 versions · latest released 2026-03-16doubao-image-openclaw@clawhub_wanxing0724/doubao-image-openclaw
Image Generation#图片生成

According to AlphaMoat, as of 2026-09, doubao-image has 2,162 downloads and 2 stars — ranked #4,316 of 5,078 AI skills overall, and #433 of 512 in Design & Media.

Installs
479
Downloads
2.2K
Stars
2
Overall Rank
#4,316
Top 85% overall · Top 85% in Design & Media
PlatformInstallsDownloadsStarsComments
ClawHub ↗331.2K11
SkillHub ↗4792.2K2—

Platforms count differently and update at different times.

What this skill does

Choose a model, dimensions and image count; fallback models are tried if the default fails. Set VOLCENGINE_IMAGE_API_KEY before use. Results can be returned as image URLs or downloaded to a configurable local directory. A URL remains available for manual handling if downloading fails.

Profile published 2026-10-27

What you can do with it

  • Generate illustrations from text and obtain URLs or local files

When to use it

  • When Doubao API credentials are configured and parameterized image generation is needed

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Generate an image from this prompt, return its URL and state whether the download succeeded.

Monthly Trend

Downloads2.2K
6671.5K2.3K2026-03 · Downloads 7782026-05 · Downloads 1.2K2026-06 · Downloads 1.3K2026-07 · Downloads 1.6K2026-08 · Downloads 1.7K2026-09 · Downloads 2.2K26-0326-09
Stars2
1222026-03 · Stars 12026-05 · Stars 12026-06 · Stars 22026-07 · Stars 22026-08 · Stars 22026-09 · Stars 226-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-092.2K—2
2026-081.7K+8.5%2
2026-071.6K+16.0%2
2026-061.3K+10.1%2
2026-051.2K—1
2026-03778—1

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

2.8 KB · ClawHub v1.0.4
---
name: doubao-image
description: 使用火山引擎豆包模型生成图片。通过火山引擎豆包图片生成 API 创建图片。支持自定义提示词、尺寸、模型等参数。使用方式:生图:一只可爱的小猫。
---

# doubao-image - 豆包图片生成

使用火山引擎豆包模型生成图片。

## 简介
Show all (113 lines)

通过火山引擎豆包图片生成 API 创建图片。支持多模型自动切换、URL 输出等功能。

## 环境变量

| 变量名 | 必填 | 说明 |
|--------|------|------|
| `VOLCENGINE_IMAGE_API_KEY` | Yes | 豆包 API Key |
| `DOUBAO_IMAGE_OUTPUT_DIR` | No | 图片输出目录(默认:workspace/downloads/images) |

**Get API Key**:
1. Login https://console.volces.com/
2. Go to API Key management
3. Copy your API Key

## 使用方式

```
生图:一只可爱的小猫
```

### 命令行参数

| 参数 | 说明 | 默认值 |
|------|------|--------|
| prompt | 图片描述 | (必填) |
| --model | 使用的模型 | doubao-seedream-4-0-250828 |
| --size | 图片尺寸 | 1024x1024 |
| --num | 生成数量 | 1 |
| --url-only | 仅返回 URL,不下载 | false |

### 支持的模型(自动切换)

按优先级排序,优先使用第一个,失败则自动尝试下一个:

1. `doubao-seedream-4-0-250828` (默认)
2. `doubao-seedream-4-5-251128`
3. `doubao-seedream-5-0-260128`
4. `doubao-seedream-3-0-t2i-250415`

### 支持的尺寸

- 1024x1024 (默认)
- 1280x720
- 720x1280
- 1024x768
- 768x1024

## 输出格式

### 控制台输出

```
==================================================
Prompt: a cute kitten
Size: 1024x1024
Num: 1
==================================================
Trying model: doubao-seedream-4-0-250828
[OK] Model doubao-seedream-4-0-250828 success

==================================================
Success!
Model: doubao-seedream-4-0-250828
URL: https://...
==================================================

Downloading to: C:\Users\zcf\.openclaw\workspace\downloads\images\doubao_1234567890.jpeg
[OK] Saved: C:\Users\zcf\.openclaw\workspace\downloads\images\doubao_1234567890.jpeg
  Size: 256.5 KB

[FILE_PATH] C:\Users\zcf\.openclaw\workspace\downloads\images\doubao_1234567890.jpeg
```

### 特殊标记

- `[URL_ONLY] <url>` - 仅生成 URL 时的输出
- `[FILE_PATH] <path>` - 文件保存路径

## 输出目录

图片自动保存到 `downloads/images/` 目录。

可通过环境变量自定义:
```bash
# Windows
set DOUBAO_IMAGE_OUTPUT_DIR=D:\my_images

# Linux/Mac
export DOUBAO_IMAGE_OUTPUT_DIR=/path/to/images
```

## 重要说明

- **API Key**: 从 `VOLCENGINE_IMAGE_API_KEY` 环境变量读取
- **Multi-model fallback**: 如果默认模型失败,会自动尝试备选模型
- **URL Output**: 生成后立即输出图片 URL

## 错误处理

- 如果所有模型都失败,会显示具体错误信息
- 如果下载失败,仍会输出 URL 供手动下载

Popular in Design & Media

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.