gkhcsc

Jimeng Image Skill Openclaw

設計創意v0.1.0
作者:gkhcsc更新於 2026-05-11jimeng-image-skill-openclaw@clawhub_gkhcsc/jimeng-image-skill-openclaw
圖片生成#Prompt

據 AlphaMoat 統計,截至 2026-09,Jimeng Image Skill Openclaw 累計下載 1,136 次、獲 0 個星標,在全部 5,078 個 AI 技能中排名第 4,970 位,在「設計創意」分類(512 個)中排名第 502 位。

累計安裝
221
累計下載
1136
星標
-
全站排名
#4,970
全站前 98% · 「設計創意」前 99%
平台累計安裝累計下載星標評論
ClawHub ↗25969--
SkillHub ↗2211136-—

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

這個技能是做什麼的

使用者表達"生成圖片"類需求時使用。先以 Jimeng_Secret_Key 與 Jimeng_Access_Key 環境變數(或 ~/.openclaw/.env)配置憑證,再執行 scripts/main.py;指令碼會把生成的 PNG 儲存到 ~/.openclaw/workspace/images(目錄不存在會自動建立),最後透過原渠道(如 qqbot)把圖片發回使用者。命令示例:python3 {baseDir}/scripts/main.py --prompt "A girl in an anime style"。引數支援 --prompt(預設 'none')、--output_path(預設 ~/.openclaw/workspace/images)、--use_pre_llm(預設 False)、--seed(預設 -1 表示隨機)、--scale(預設 1.0)與 --width/--height(預設 1920/1080),可按使用者要求指定如 512×512 的尺寸。依賴 argparse、datetime、volcengine-python-sdk、base64、os,缺失時需 pip 安裝。

資料釋出於 2026-10-27

可以用來做什麼

  • 按提示詞呼叫即夢 API 生成圖像
  • 指定尺寸(如 512×512)、隨機種子或縮放比例生成
  • 把生成結果儲存到輸出目錄併發回使用者渠道

什麼時候用

  • 使用者要求生成一張圖片("generate image" 類表達)時
  • 需要透過指令碼引數控制輸出路徑與圖像尺寸時

示例提示詞

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

幫我生成一張動漫風格女孩的圖片
生成一張 512×512 的動漫風格圖片
用這個提示詞生成圖片並儲存到指定目錄

月度資料趨勢

累計下載1136
34176811952026-03 · 累計下載 4002026-05 · 累計下載 6752026-06 · 累計下載 7522026-07 · 累計下載 9082026-08 · 累計下載 9652026-09 · 累計下載 113626-0326-09
星標-
0112026-03 · 星標 -2026-05 · 星標 -2026-06 · 星標 -2026-07 · 星標 -2026-08 · 星標 -2026-09 · 星標 -26-0326-09

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

月份累計下載環比星標
2026-091136—-
2026-08965+6.3%-
2026-07908+20.7%-
2026-06752+11.4%-
2026-05675—-
2026-03400—-

SKILL.md 原文

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

2.6 KB · ClawHub v0.1.0
---
name: "Jimeng-Image"

description: "Use Python to send an image prompt to the Jimeng API and retrieve the generated image from the response when user says "generate image ..."
---

# Jimeng-Image

## When to use this skill
展開全部(共 80 行)
Use this skill when user express "You need generate a image".

## How to use this skill

1. You need putAccess Key and Secret Key via either environment variable: `Jimeng_Secret_Key` and  ` Jimeng_Access_Key=...`, or`~/.openclaw/.env` line: `Jimeng_Secret_Key=...` and ` Jimeng_Access_Key=...`   on your environment variable.

2. You need to  execute scripts/main.py
3. When the response is arrive, the script will save the png file on ~/.openclaw/workspace/images. (The script will create images dir if the images  dir is not exist)
4. Finally, you need send the new image to user by same channel,such as qqbot etc. from  ~/.openclaw/workspace/images

## Requirement

- argparse
- datetime
- volcengine-python-sdk
- base64
- os

If not exits ,you need pip it.

## Tips: 

- the baseDir is your workspace /skills/Jimeng-Image
- If the user does not specify the output path,the output dir is ~/.openclaw/workspace/images

## Command example 

**user**:

​	i need a image by prompt:"A girl in an anime style"

**You**: 

​	Run from the OpenClaw workspace:

```sh
 python3 {baseDir}/scripts/main.py --prompt "A girl in an anime style"
```



**user**:

​	i need a image by prompt:"A girl in an anime style and width is 512 and height is 512"

**You**:

​	Run from the OpenClaw workspace:

```
python3 {baseDir}/scripts/main.py --prompt "A girl in an anime style" --width "512" --height "512"
```



## The Script command line parameter

| 参数            | 类型    | 默认值                           | 说明                                        |
| :-------------- | :------ | :------------------------------- | :------------------------------------------ |
| `--prompt`      | `str`   | `'none'`                         | Path of the prompt file                     |
| `--output_path` | `str`   | `'~/.openclaw/workspace/images'` | The saving path of the output file          |
| `--use_pre_llm` | `bool`  | `False`                          | Whether to use a pre-trained language model |
| `--seed`        | `int`   | `-1`                             | Random seed ( `-1` indicates random )       |
| `--scale`       | `float` | `1.0`                            | The scaling ratio of the output image       |
| `--width`       | `int`   | `1920`                           | The width (in pixels) of the output image   |
| `--height`      | `int`   | `1080`                           | The height (in pixels) of the output image  |



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

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