技能详情(站内镜像,无评论)
作者:balckbeeai @darker314159
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.0
统计:⭐ 0 · 84 · 0 current installs · 0 all-time installs
⭐ 0
安装量(当前) 0
🛡 VirusTotal :可疑 · OpenClaw :可疑
Package:darker314159/apifox-image-gen
安全扫描(ClawHub)
- VirusTotal :可疑
- OpenClaw :可疑
OpenClaw 评估
The skill's code matches its stated purpose (image generation) but includes a hard-coded API key and uses an unexplained third-party endpoint, which is disproportionate and risky.
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「apifox-image-gen」。简介:使用Apifox图像生成API (jyapi.AI-WX.CN) 生成图片。支持gpt-image-1.5和grok-4-1-image模型。。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/darker314159/apifox-image-gen/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: apifox-image-gen
description: 使用Apifox图像生成API (jyapi.AI-WX.CN) 生成图片。支持gpt-image-1.5和grok-4-1-image模型。
metadata:
author: blackbee
version: 1.0.0
openclaw:
emoji: 🖼️
allowed-tools: [exec, message]
---
# Apifox Image Generation
使用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. 直接用exec运行脚本
2. 图片会保存到 /tmp/ 目录
3. 可以用message工具发给用户