返回顶部
a

apifox-image-genApifox图像生成

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

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
189
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

apifox-image-gen

Apifox 图像生成

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

快速开始

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

参数说明

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

示例

bash

生成小蜜蜂图片


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. 1. 直接用 exec 运行脚本
  2. 图片会保存到 /tmp/ 目录
  3. 可以用 message 工具发给用户

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 apifox-image-gen-1776070324 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 apifox-image-gen-1776070324 技能

通过命令行安装

skillhub install apifox-image-gen-1776070324

下载

⬇ 下载 apifox-image-gen v1.0.0(免费)

文件大小: 2.91 KB | 发布时间: 2026-4-15 11:43

v1.0.0 最新 2026-4-15 11:43
Initial release of apifox-image-gen:

- Provides image generation via the jyapi.AI-WX.CN API.
- Supports gpt-image-1.5 and grok-4-1-image models.
- Allows customization of image description, model, size, quantity, and output path.
- Includes command-line script for easy usage and sample commands.
- Generated images are saved to the /tmp/ directory.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部