ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

apifox-image-gen

使用Apifox图像生成API (jyapi.AI-WX.CN) 生成图片。支持gpt-image-1.5和grok-4-1-image模型。

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/darker314159/apifox-image-gen
Or

Apifox Image Generation

使用jyapi.AI-WX.CN图像生成API生成图片。

快速开始

python3 /root/.openclaw/workspace/skills/apifox-image-gen/image_gen.py -p "你的图片描述" -m gpt-image-1.5 -s 1024x1024

参数说明

参数简写默认值说明
--prompt-p(必填)图片描述
--model-mgpt-image-1.5模型: gpt-image-1.5, grok-4-1-image
--size-s1024x1024尺寸: 1024x1024, 1536x1024, 1024x1536, 1:1, 2:3, 3:2, 9:16, 16:9
--n-n1生成数量
--output-o(自动)输出文件路径

示例

# 生成小蜜蜂图片
python3 /root/.openclaw/workspace/skills/apifox-image-gen/image_gen.py -p "一只可爱的小蜜蜂" -m gpt-image-1.5 -s 1024x1024

# 生成横版图片
python3 /root/.openclaw/workspace/skills/apifox-image-gen/image_gen.py -p "风景画" -m gpt-image-1.5 -s 1536x1024

# 生成竖版图片
python3 /root/.openclaw/workspace/skills/apifox-image-gen/image_gen.py -p "手机壁纸" -m gpt-image-1.5 -s 9:16

# 使用grok模型
python3 /root/.openclaw/workspace/skills/apifox-image-gen/image_gen.py -p "科技感海报" -m grok-4-1-image -s 16:9

使用方式

  1. 直接用exec运行脚本
  2. 图片会保存到 /tmp/ 目录
  3. 可以用message工具发给用户

Metadata

Stars3376
Views1
Updated2026-03-24
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-darker314159-apifox-image-gen": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.