← 返回 Skills 市场
mapleslove

Grs Image

作者 mapleslove · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
129
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install grs-image
功能描述
GrsAI Nano Banana Pro 图片生成工具。使用 GrsAI API 生成图片,支持中文描述。适用于室内设计效果图、开工大吉海报、设计素材生成等场景。
使用说明 (SKILL.md)

GrsAI Image Generator

GrsAI Nano Banana Pro 图片生成工具。

前提条件

pip install requests
export GRSAAI_API_KEY='your-api-key'

API 信息

模型选择

模型 支持分辨率
nano-banana-pro 1K / 2K / 4K
nano-banana-pro-vt 1K / 2K / 4K
nano-banana-pro-cl 1K / 2K / 4K
nano-banana-pro-vip 1K / 2K
nano-banana-pro-4k-vip 4K
nano-banana-fast 1K
nano-banana 1K
nano-banana-2 1K / 2K / 4K
nano-banana-2-cl 1K / 2K
nano-banana-2-4k-cl 4K

使用方式

基本用法

python skills/grs-image/scripts/grs_image.py "一只可爱的橘猫在草地上玩耍"

指定输出文件

python skills/grs-image/scripts/grs_image.py "现代简约客厅效果图" -o living_room.png

指定宽高比

# 1:1 方图
python skills/grs-image/scripts/grs_image.py "开工大吉海报" -r 1:1 -o kaigong.png

# 16:9 横图
python skills/grs-image/scripts/grs_image.py "客厅效果图" -r 16:9 -o living.png

# 9:16 竖图
python skills/grs-image/scripts/grs_image.py "阳台设计" -r 9:16 -o balcony.png

支持的宽高比:auto / 1:1 / 16:9 / 9:16 / 4:3 / 3:4 / 3:2 / 2:3 / 5:4 / 4:5 / 21:9 额外比例(nano-banana-2系列):1:4 / 4:1 / 1:8 / 8:1

指定分辨率

# 生成2K分辨率图片(默认1K)
python skills/grs-image/scripts/grs_image.py "高清效果图" -s 2K -o hd_design.png

# 生成4K分辨率图片
python skills/grs-image/scripts/grs_image.py "超高清晰度效果图" -s 4K -o 4k_design.png

图生图(参考图)

python skills/grs-image/scripts/grs_image.py "把这张图改成奶油风" \
  -u "https://example.com/reference.png" \
  -r 16:9 -o output.png

使用快速模型

python skills/grs-image/scripts/grs_image.py "快速草图" -m nano-banana-fast

常用场景示例

室内设计效果图

python skills/grs-image/scripts/grs_image.py "现代简约风格客厅效果图,浅色地板,白墙,大窗户" -r 16:9 -s 2K -o design.png

开工大吉海报

python skills/grs-image/scripts/grs_image.py "开工大吉红金配色中国传统风格设计师专属" -r 1:1 -s 2K -o kaigong.png

设计素材

python skills/grs-image/scripts/grs_image.py "大理石纹理瓷砖样品高清图片" -r 1:1 -s 2K -o tile.png

输出示例

正在生成图片...
Prompt: 一只可爱的橘猫在草地上玩耍
Ratio: 16:9
Size: 2K
任务ID: 3-9b0ef381-a39c-4a03-8667-298380fe1fc1
生成中... 100%
图片URL: https://file1.aitohumanize.com/file/xxx.png
已保存: output.png

完成: output.png

注意事项

  • 图片生成需要 30-60 秒,分辨率越高时间越长
  • 建议先测试小图,效果满意后再生成正式图
  • 中文描述效果较好,英文也可以
  • 图片 URL 有效期 2 小时
  • 图生图的参考图支持 URL 或 Base64
安全使用建议
This skill is largely what it says — a small Python client for a GrsAI image API — but there are two things to check before installing: (1) the registry metadata omits the required GRSAAI_API_KEY even though SKILL.md and the script require and will send it to the hard-coded endpoint (https://grsai.dakka.com.cn). Only provide a key if you trust that host and the skill owner. (2) The script hard-codes a domestic BASE_URL while documentation lists an overseas endpoint; confirm which endpoint you intend to use and consider editing the script if needed. Inspect the script source (it’s included) and, if possible, test with a low-privilege or revocable API key first. Also be aware the script will download the final image from whatever URL the API returns — verify returned URLs before trusting them if you have strict network policies. If the author or homepage is unknown, prefer caution.
功能分析
Type: OpenClaw Skill Name: grs-image Version: 1.0.0 The skill bundle provides a legitimate tool for generating images using the GrsAI API. The core logic in `scripts/grs_image.py` implements standard API interaction, including task submission, status polling, and downloading the resulting image to a local file. No evidence of data exfiltration, unauthorized command execution, or malicious prompt injection was found; the code and documentation (`SKILL.md`, `references/prompts.json`) are entirely consistent with the stated purpose of image generation.
能力评估
Purpose & Capability
The skill's name/description claim it calls the GrsAI API to generate images, and the included script indeed makes HTTP calls to an external GrsAI endpoint — that is coherent. However, the registry metadata lists no required environment variables or primary credential, while both SKILL.md and scripts require GRSAAI_API_KEY. This mismatch between declared requirements and actual runtime needs is unexpected.
Instruction Scope
SKILL.md provides concrete CLI usage and asks the user to set GRSAAI_API_KEY and pip-install requests. The runtime instructions and script perform only network calls to the GrsAI endpoints and write the downloaded image file to disk — all within the stated image-generation scope. The SKILL.md references both domestic and overseas API hosts, but the script hard-codes the domestic BASE_URL, which is a minor inconsistency to be aware of.
Install Mechanism
There is no install spec; the skill is instruction-only with a small Python script. SKILL.md asks to pip install requests — a minimal, expected dependency. No downloads from untrusted URLs or extraction steps are present.
Credentials
The script reads GRSAAI_API_KEY from the environment and uses it as a Bearer token to an external service. The registry metadata did not declare this required credential or a primaryEnv, which is disproportionate (and potentially confusing) — users may not realize an API key will be transmitted to the hard-coded endpoint. No other unrelated credentials are requested.
Persistence & Privilege
The skill does not request always:true, does not modify system or other skills' configs, and only writes an output image file. It does perform network I/O to external endpoints (expected for its purpose) but does not request elevated persistent privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install grs-image
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /grs-image 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
GrsAI Nano Banana Pro 图片生成工具首发上线: - 支持通过 GrsAI API 生成图片,可用中文描述,适配多种设计场景。 - 覆盖室内设计效果图、开工大吉海报、设计素材等应用。 - 支持多模型、多分辨率(1K/2K/4K)及多宽高比选择。 - 提供图生图功能及参考图指定。 - 命令行工具形式,附使用示例与常用场景脚本。
元数据
Slug grs-image
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Grs Image 是什么?

GrsAI Nano Banana Pro 图片生成工具。使用 GrsAI API 生成图片,支持中文描述。适用于室内设计效果图、开工大吉海报、设计素材生成等场景。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 129 次。

如何安装 Grs Image?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install grs-image」即可一键安装,无需额外配置。

Grs Image 是免费的吗?

是的,Grs Image 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Grs Image 支持哪些平台?

Grs Image 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Grs Image?

由 mapleslove(@mapleslove)开发并维护,当前版本 v1.0.0。

💬 留言讨论