← 返回 Skills 市场
weznai

Skill Image Gen

作者 wezn · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
268
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install skill-image-gen
功能描述
免费AI图片生成工具,使用Gitee AI API生成图片,支持本地保存和腾讯云COS上传。适用于需要免费图片生成的场景。
安全使用建议
This skill's code implements what it claims (Gitee AI image generation + optional Tencent COS upload). Before installing: 1) Be aware you will need to provide your Gitee API key (and optionally COS SecretId/SecretKey) — these are stored under ~/.openclaw/skills/config/skill-image-gen/config.json. 2) The registry metadata did not declare these required credentials — verify you trust the skill source before entering secrets. 3) If you plan to let an AI agent provide the API key via dialog, remember the agent will be able to save that secret to disk. 4) Consider running the code in an isolated environment or review the small Python modules (they are included) to confirm no unwanted network endpoints. 5) If you don't need COS, leave COS disabled to avoid uploading credentials. If you want higher assurance, ask the author to update registry metadata to declare GITEE_API_KEY (and optional COS vars) and to fix the minor naming inconsistencies in docs (free-image-gen vs skill-image-gen).
功能分析
Type: OpenClaw Skill Name: skill-image-gen Version: 1.0.0 The skill bundle is a legitimate tool for generating images using the Gitee AI API with optional support for Tencent Cloud COS storage. The code in scripts/config.py and scripts/gitee_api.py follows standard practices for API integration and configuration management, storing keys in expected local directories (~/.openclaw/). There is no evidence of data exfiltration, malicious execution, or harmful prompt injection instructions.
能力评估
Purpose & Capability
Code and SKILL.md implement an AI image generator using Gitee AI and optional Tencent COS upload — this matches the name/description. However, the registry metadata lists no required environment variables or primary credential even though the skill clearly requires a Gitee API key (and optional COS secrets). That omission is an incoherence between provided metadata and actual needs.
Instruction Scope
Runtime instructions and code stay within the expected scope: they call the Gitee AI endpoint, save images locally, and optionally upload to COS. The agent/CLI is instructed to collect and save API keys; no instructions attempt to read unrelated system data or contact unexpected endpoints.
Install Mechanism
This is an instruction+code skill with no install spec. Dependencies are installed via pip from requirements.txt (requests, Pillow, optional cos SDK) — standard and proportional for the task. No downloads from arbitrary URLs or archive extraction are present.
Credentials
The skill legitimately needs a Gitee API key and optionally COS secret_id/secret_key/region/bucket. Those secrets are requested and persisted to a config file in the user's home. The registry metadata, however, declares no required env vars or primary credential — a mismatch. Also note the skill will accept credentials via interactive input, environment variables, or agent-provided dialog and will write them to ~/.openclaw/skills/config/... which means secrets are stored on disk.
Persistence & Privilege
The skill is not always-enabled and doesn't request elevated system privileges. It does write configuration (including secrets) to the user's home (~/.openclaw/skills/config/skill-image-gen/config.json) — expected for this functionality but worth awareness. Autonomous invocation is allowed by default (platform default), which means an agent could call update_config() to save credentials if given them.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install skill-image-gen
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /skill-image-gen 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of skill-image-gen: - 免费 AI 图片生成工具,基于 Gitee AI API - 支持多模型、图片本地保存和腾讯云 COS 上传 - 提供灵活的配置方式(交互式、对话、环境变量、手动) - 命令行和模块两种用法 - 推荐独立配置文件存放,支持多种查找优先级 - 部署和依赖说明,以及常见问题解答
元数据
Slug skill-image-gen
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Skill Image Gen 是什么?

免费AI图片生成工具,使用Gitee AI API生成图片,支持本地保存和腾讯云COS上传。适用于需要免费图片生成的场景。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 268 次。

如何安装 Skill Image Gen?

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

Skill Image Gen 是免费的吗?

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

Skill Image Gen 支持哪些平台?

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

谁开发了 Skill Image Gen?

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

💬 留言讨论