← 返回 Skills 市场
5856
总下载
8
收藏
33
当前安装
5
版本数
在 OpenClaw 中安装
/install gemini-image-gen
功能描述
Generate and edit images via Google Gemini API. Supports Gemini native generation, Imagen 3, style presets, and batch generation with HTML gallery. Zero depe...
安全使用建议
Install only if you are comfortable sending prompts and selected edit images to Google using your Gemini API key. Treat heartbeat use as requiring extra controls: do not allow automatic social posting, avatar changes, or memory saving unless you have explicit approval, account scope, budget limits, and retention rules. Avoid passing confidential files or non-image paths to --edit.
功能分析
Type: OpenClaw Skill
Name: gemini-image-gen
Version: 1.3.1
The `scripts/gen.py` file contains a data exfiltration vulnerability. The `--edit` argument, intended for image editing, allows reading arbitrary files from the local filesystem via `load_image_as_base64`. The base64-encoded content of these files is then sent to the Google Gemini API (generativelanguage.googleapis.com) as part of the image editing request. This flaw could be exploited by a malicious prompt to exfiltrate sensitive local files to a third-party service.
能力评估
Purpose & Capability
The Python script matches the stated image generation/editing purpose: it uses GEMINI_API_KEY, sends prompts and optional edit images to Google's Gemini/Imagen endpoints, and writes generated files locally. However, HEARTBEAT.md expands the skill into recurring agent self-expression, social posting, avatar updates, and memory saving, which are materially broader than image generation.
Instruction Scope
HEARTBEAT.md marks sharing as optional but tells agents to post to social platforms, update profile avatars, and save results to memory without requiring explicit per-action user consent, target account scoping, or retention guidance.
Install Mechanism
Installation is standard ClawHub or git clone setup. There is no install-time execution, dependency installer, obfuscation, or hidden persistence mechanism in the reviewed artifacts.
Credentials
A Gemini API key, outbound calls to generativelanguage.googleapis.com, local output writes, and reading a user-supplied edit image are proportionate for this skill. The documentation does not prominently warn that prompts and edit-image bytes leave the local machine, and the edit path is not restricted to verified image content.
Persistence & Privilege
Runtime output persistence is expected: generated images, prompts.json, and index.html are written to an output directory. The additional heartbeat instruction to save good results to memory is under-specified and lacks user consent, visibility, retention, or deletion controls.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gemini-image-gen - 安装完成后,直接呼叫该 Skill 的名称或使用
/gemini-image-gen触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.3.1
- Added guidance for integrating with the opencode-omo skill for workflow/pipeline image generation.
- Updated documentation to mention opencode-omo in the integration section.
- No changes to core image generation features or CLI options.
v1.3.0
Add INSTALL.md, enrich package.json with engines/style_presets/quickstart/security, cross-promotion with AgentGram and agent-selfie
v1.2.0
Fix SKILL.md frontmatter to proper YAML, replace {baseDir} placeholders with relative paths, add README.md, add .gitignore
v1.1.0
- Introduced style presets for creative control over image generation.
- Added --style and --styles CLI flags to apply and list style presets.
- Expanded documentation with a dedicated "Style Presets" section and improved examples.
- New files: HEARTBEAT.md and package.json added.
v1.0.0
- Initial release of gemini-image-gen.
- Generate and edit images using Google Gemini API; supports Gemini native and Imagen 3 engines.
- Batch image generation with prompt customization and output as an HTML gallery.
- Includes image editing (prompt-based) and style transfer (Gemini engine only).
- Pure Python standard library — zero external dependencies.
- Requires a GEMINI_API_KEY environment variable for usage.
元数据
常见问题
Gemini Image Gen 是什么?
Generate and edit images via Google Gemini API. Supports Gemini native generation, Imagen 3, style presets, and batch generation with HTML gallery. Zero depe... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 5856 次。
如何安装 Gemini Image Gen?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gemini-image-gen」即可一键安装,无需额外配置。
Gemini Image Gen 是免费的吗?
是的,Gemini Image Gen 完全免费(开源免费),可自由下载、安装和使用。
Gemini Image Gen 支持哪些平台?
Gemini Image Gen 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Gemini Image Gen?
由 김덕환(@iisweetheartii)开发并维护,当前版本 v1.3.1。
推荐 Skills