apifox-image-gen

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

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "apifox-image-gen" with this command: npx skills add blackbee/apifox-image-gen

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工具发给用户

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Leads

Leads - command-line tool for everyday use

Registry SourceRecently Updated
General

Bmi Calculator

BMI计算器。BMI计算、理想体重、健康计划、体重追踪、儿童BMI、结果解读。BMI calculator with ideal weight, health plan. BMI、体重、健康。

Registry SourceRecently Updated
General

Blood

Blood — a fast health & wellness tool. Log anything, find it later, export when needed.

Registry SourceRecently Updated
General

Better Genshin Impact

📦BetterGI · 更好的原神 - 自动拾取 | 自动剧情 | 全自动钓鱼(AI) | 全自动七圣召唤 | 自动伐木 | 自动刷本 | 自动采集/挖矿/锄地 | 一条龙 | 全连音游 - UI A better genshin impact, c#, auto-play-game, automatic, g...

Registry SourceRecently Updated