ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

Huobao Image Generation

Skill by kongweigen

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/kongweigen/huobao-image-generation
Or

AI 火宝

🔥 火山引擎 AI 生图 Skill。支持多种模型。

环境变量

export HUOBAO_API_KEY="<your-api-key>"

或使用 --api-key 参数传入。

支持的模型

模型说明
gemini-2.5-flash-imageGemini 2.5 Flash Image
gemini-2.5-flash-image-previewGemini 2.5 Flash Image Preview
nano-bananaNano Banana
nano-banana-proNano Banana Pro
nano-banana-pro_4kNano Banana Pro 4K
doubao-seedream-4-5-251128豆包 Seedream 4.5

支持的尺寸

尺寸说明
1x1正方形
16x9宽屏
9x16竖屏
3x4竖屏
4x3宽屏

功能

文生图 (text2image)

python3 scripts/t2i.py "提示词" --model nano-banana-pro --size 1x1

图生图 (image2image)

python3 scripts/i2i.py --image <图片URL> --prompt "描述" --model nano-banana-pro

参数

参数说明
prompt提示词(必填)
--model模型名称(默认: nano-banana-pro)
--size尺寸(默认: 1x1)
--count生成数量 1-4 (默认: 1)
--watermark是否添加水印 (默认: true)
--api-keyAPI Key(必填)
--debug调试模式

示例

# 文生图 - Nano Banana Pro
python3 scripts/t2i.py "一只可爱的猫咪" --model nano-banana-pro --size 1x1 --api-key "sk-xxx"

# 文生图 - Gemini 2.5 Flash
python3 scripts/t2i.py "风景画" --model gemini-2.5-flash-image --size 16x9 --api-key "sk-xxx"

# 图生图
python3 scripts/i2i.py --image "https://example.com/img.jpg" --prompt "动漫风格" --model nano-banana-pro --api-key "sk-xxx"

输出格式

成功返回 JSON:

{
  "success": true,
  "prompt": "...",
  "model": "nano-banana-pro",
  "size": "1x1",
  "count": 1,
  "images": [{"url": "..."}],
  "usage": {...}
}

Metadata

Stars1656
Views1
Updated2026-02-28
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-kongweigen-huobao-image-generation": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.