feat: split image providers into 1h-openai-image and 1h-gemini-image, rename video to 1h-openai-video

This commit is contained in:
openclaw committed 2026-10-19 14:36:20 +00:00
1 parent 3c5e5dd023
commit 8cd50b1c4d
16 files changed
+1553 -102

No files matched your search

+13 -11
View File
@@ -1,6 +1,6 @@
# 1-h Tools (`1h-tools`)
OpenClaw 统一私有扩展插件集合,聚合了自定义 Agent 工具、媒体生成驱动(视频/图像)以及内置技能库。
OpenClaw 统一私有扩展插件集合,聚合了自定义 Agent 工具、媒体生成驱动(视频/图像,支持 OpenAI 与 Gemini 双协议)以及内置技能库。
各模块采用**就近同构原则(Co-location)**维护其独立代码、测试与文档,避免全局单页膨胀与文档漂移。
@@ -8,12 +8,13 @@ OpenClaw 统一私有扩展插件集合,聚合了自定义 Agent 工具、媒
## 包含模块清单
| 模块类别 | 标识符 (ID) | 契约类型 | 说明 | 详细文档 |
| :--- | :--- | :--- | :--- | :--- |
| **视频生成** | `1h-video` | `videoGenerationProviders` | OpenAI `/v1/videos` 协议兼容视频生成驱动(支持自建网关 / gemini-web2api / Sora 协议) | [查看文档 →](src/video/README.md) |
| **图像生成** | `1h-image` | `imageGenerationProviders` | OpenAI `/v1/images` 协议兼容图像生成驱动(支持 Bifrost / ccLoad,修复 16:9 尺寸 Bug 与 Base64/URL 双模解析) | [查看文档 →](src/image/README.md) |
| **基础工具** | `echo` | `tools` | 基础测试与连通性回显工具 | [查看文档 →](src/tools/README.md) |
| **内置技能** | `agent-access` | `skills` | Bitwarden Agent Access 自动化技能 | [查看技能 →](skills/agent-access/SKILL.md) |
| 模块类别 | 标识符 (ID) | 契约类型 | 协议支持 | 说明 | 详细文档 |
| :--- | :--- | :--- | :--- | :--- | :--- |
| **视频生成** | `1h-openai-video` | `videoGenerationProviders` | OpenAI `/v1/videos` | OpenAI 格式视频生成驱动(支持自建网关 / gemini-web2api / Sora 协议) | [查看文档 →](src/video/README.md) |
| **图像生成 (OpenAI)** | `1h-openai-image` | `imageGenerationProviders` | OpenAI `/v1/images` | OpenAI 格式图像生成驱动(支持 gpt-image-2 等,修复 16:9 尺寸 Bug 与 URL 模式) | [查看文档 →](src/image/README.md) |
| **图像生成 (Gemini)** | `1h-gemini-image` | `imageGenerationProviders` | Gemini `:generateContent` | Gemini 原生图像生成驱动(专职适配 gemini-3.1-flash-image,秒级出图) | [查看文档 →](src/image/README.md) |
| **基础工具** | `echo` | `tools` | Tool Plugin | 基础测试与连通性回显工具 | [查看文档 →](src/tools/README.md) |
| **内置技能** | `agent-access` | `skills` | OpenClaw Skill | Bitwarden Agent Access 自动化技能 | [查看技能 →](skills/agent-access/SKILL.md) |
---
@@ -23,7 +24,7 @@ OpenClaw 统一私有扩展插件集合,聚合了自定义 Agent 工具、媒
在 OpenClaw Gateway 主机上执行:
```bash
openclaw plugins install git:git.1-h.cc/OpenClaw/openclaw-plugin-tools --force
openclaw plugins install git:https://git.1-h.cc/OpenClaw/openclaw-plugin-tools.git --force --acknowledge-install-policy-warning --accept-capabilities
```
### 插件更新
@@ -60,10 +61,11 @@ openclaw-plugin-tools/
│ │ ├── echo.ts
│ │ └── README.md # 📍 工具专属说明
│ ├── video/ # 视频生成驱动模块
│ │ ├── index.ts
│ │ ├── openai.ts # 1h-openai-video 驱动实现
│ │ └── README.md # 📍 视频驱动专属说明
│ └── image/ # 图像生成驱动模块
│ ├── index.ts
│ └── image/ # 图像生成驱动模块集合
│ ├── openai.ts # 1h-openai-image 驱动实现
│ ├── gemini.ts # 1h-gemini-image 驱动实现
│ └── README.md # 📍 图像驱动专属说明
└── skills/ # 官方规范就近内置技能
└── agent-access/