AI 火宝

# AI 火宝

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 火宝" with this command: npx skills add kongweigen/huobao-image-generation

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": {...}
}

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

Wangdongjie Cfo Skill

基于王东杰26年实战经验,提供A+H双市场IPO操盘、资本杠杆设计、业财融合和AI数字化风控咨询。

Registry SourceRecently Updated
General

Hk Stock Morning Report

Generate HK stock market morning report (股市晨報) for Chinese bank trading desk. Use when user asks "生成晨报", "股市晨报", "今日股市", "港股晨報", or any similar HK stock mark...

Registry SourceRecently Updated
General

Nansen Mpp Payment

Pay-per-call access to the Nansen API via MPP (Tempo). Use when a user wants anonymous Nansen access without an API key and without managing their own Base/S...

Registry SourceRecently Updated
General

Etsy Autolist

Auto-create and manage digital product listings on Etsy. Creates listings from existing digital product files (PDFs, templates, spreadsheets) using Etsy Open...

Registry SourceRecently Updated