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
累计下载
1,136
星标
-
全站排名
#4,970
全站前 98% · 「设计创意」前 99%
平台累计安装累计下载星标评论
ClawHub ↗25969--
SkillHub ↗2211,136-—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

用户表达"生成图片"类需求时使用。先以 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 的动漫风格图片
用这个提示词生成图片并保存到指定目录

月度数据趋势

累计下载1,136
3417681,1952026-03 · 累计下载 4002026-05 · 累计下载 6752026-06 · 累计下载 7522026-07 · 累计下载 9082026-08 · 累计下载 9652026-09 · 累计下载 1,13626-0326-09
星标-
0112026-03 · 星标 -2026-05 · 星标 -2026-06 · 星标 -2026-07 · 星标 -2026-08 · 星标 -2026-09 · 星标 -26-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-091,136—-
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),按月更新。口径说明见数据方法。