ai-image-gen

AI图片生成技能,使用Gemini生成高质量图片,支持文生图和图生图

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ai-image-gen" with this command: npx skills add dongrebeccahhh-boop/ai-image-gen-skill

AI图片生成技能

使用 AI 生成高质量图片。

核心命令

uv run /usr/lib/node_modules/openclaw/skills/nano-banana-pro/scripts/generate_image.py \
  --prompt "你的描述" --filename "output.jpg" --resolution 2K

参数说明

参数说明
--prompt图片描述(中英文都行)
--filename输出文件名
--resolution分辨率:1K / 2K
-i reference.jpg可选:参考图片(风格迁移、图片编辑)

使用示例

文生图

# 生成产品封面
uv run /usr/lib/node_modules/openclaw/skills/nano-banana-pro/scripts/generate_image.py \
  --prompt "极简白色背景产品展示图,现代科技感" \
  --filename cover.jpg \
  --resolution 2K

图生图(风格迁移)

# 基于参考图修改
uv run /usr/lib/node_modules/openclaw/skills/nano-banana-pro/scripts/generate_image.py \
  --prompt "把背景改成蓝天白云" \
  -i original.jpg \
  --filename edited.jpg

常用场景

# 公众号封面
--prompt "公众号封面:AI技术,科技感,简洁大气"

# 产品图
--prompt "产品展示图,白色背景,专业摄影风格"

# 插图
--prompt "文章配图:数据分析,图表,商务风格"

注意事项

  • 需要 GEMINI_API_KEY 环境变量
  • 支持 1K 和 2K 分辨率
  • 中英文 prompt 都支持

技能创建时间: 2026-03-17

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

vwu.ai gemini Models

调用vwu.ai平台上的五款gemini系列模型,支持标准OpenAI聊天接口,需配置vwu.ai API key后使用。

Registry SourceRecently Updated
2580Profile unavailable
Automation

Gemini Browser

Query Google Gemini via browser automation using OpenClaw's Browser Relay. Use when you need to ask Gemini questions and get AI responses. Requires OpenClaw...

Registry SourceRecently Updated
2580Profile unavailable
General

Maliang Image

Generate images from text prompts or edit existing images with AI. Powered by Google Gemini via Maliang API. Free $6 credit on first use (~10 images). Suppor...

Registry SourceRecently Updated
4020Profile unavailable
General

MenuVision

Build beautiful HTML photo menus from restaurant URLs, PDFs, or photos using Gemini Vision and AI image generation

Registry SourceRecently Updated
5830Profile unavailable