Image Generate

SkillMedia

Generate images using the built-in image_generate.py script; prepare a clear and specific `prompt`.

Use Image Generate in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add Image Generate and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the Image Generate skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Image GenerateStart free

What this skill tells your AI

The instructions your AI receives, as published by leoyeai/openclaw-master-skills in skills/image-generate/SKILL.md and read by Ahel’s review.

适用场景

当需要根据文本描述生成图片时,使用该技能调用 image_generate 函数。

使用步骤

  1. 准备清晰具体的 prompt。
  2. 运行脚本 python scripts/image_generate.py "<prompt>"。运行之前cd到对应的目录。
  3. 脚本将返回生成图片的 URL。

认证与凭据来源

  • 优先读取 MODEL_IMAGE_API_KEY 或 ARK_API_KEY 环境变量。
  • 若未配置,将尝试使用 VOLCENGINE_ACCESS_KEY 与 VOLCENGINE_SECRET_KEY 获取 Ark API Key。

输出格式

  • 输出生成的图片 URL。
  • 若调用失败,将打印错误信息。

示例

python scripts/image_generate.py "一只可爱的猫"

Signals

GitHub stars
2k
Forks
325
Last commit
Jul 2026
Advanced
Item type
skill
Key
image-generate
Source
github.com/leoyeai/openclaw-master-skills