/install jimeng-image-skill-openclaw
Jimeng-Image
When to use this skill
Use this skill when user express "You need generate a image".
How to use this skill
-
You need putAccess Key and Secret Key via either environment variable:
Jimeng_Secret_KeyandJimeng_Access_Key=..., or~/.openclaw/.envline:Jimeng_Secret_Key=...andJimeng_Access_Key=...on your environment variable. -
You need to execute scripts/main.py
-
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)
-
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:
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 |
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install jimeng-image-skill-openclaw - 安装完成后,直接呼叫该 Skill 的名称或使用
/jimeng-image-skill-openclaw触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Jimeng Image Skill Openclaw 是什么?
Generate images from text prompts using the Jimeng API with customizable size, scale, seed, and output path via Python scripts. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 326 次。
如何安装 Jimeng Image Skill Openclaw?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install jimeng-image-skill-openclaw」即可一键安装,无需额外配置。
Jimeng Image Skill Openclaw 是免费的吗?
是的,Jimeng Image Skill Openclaw 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Jimeng Image Skill Openclaw 支持哪些平台?
Jimeng Image Skill Openclaw 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Jimeng Image Skill Openclaw?
由 gkhcsc(@gkhcsc)开发并维护,当前版本 v0.1.0。