Code Pluginsource linked

SoloSmart Generate Imagev1.0.2

OpenClaw plugin for SoloSmart AI image generation

@wolf521/openclaw-generate-image·runtime solosmart-generate-image·by @wolf521
Community code plugin. Review compatibility and verification before install.
openclaw plugins install clawhub:@wolf521/openclaw-generate-image
Latest release: v1.0.2Download zip

Capabilities

configSchema
Yes
Executes code
Yes
HTTP routes
0
Runtime ID
solosmart-generate-image

Compatibility

Built With Open Claw Version
2026.3.24-beta.2
Min Gateway Version
2026.3.24-beta.2
Plugin Api Range
>=2026.3.24-beta.2
Plugin Sdk Version
2026.3.24-beta.2
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The plugin purpose, manifest, README, and code align around one tool, generate_image, which sends a text prompt to SoloSmart and returns an image URL.
Instruction Scope
The README documents the external endpoint, X-API-Key header, and prompt request body, but it lacks a prominent privacy warning or minimization guidance for sensitive prompts.
Install Mechanism
Installation is a normal OpenClaw code-plugin package with a required API key and configurable API base URL; the release is community-published and artifact-only without strong provenance.
Credentials
Network access to the configured SoloSmart image-generation API and an API key are proportionate to the stated functionality.
Persistence & Privilege
The manifest activates on startup to register the tool, but the artifacts show no background worker, filesystem persistence, privilege escalation, destructive actions, or credential harvesting beyond using the configured SoloSmart API key.
Scan Findings in Context
[SQP-2] expected: README.md documents the SoloSmart endpoint, API key header, and prompt body; the scanner concern is mainly that the privacy implication is not highlighted strongly enough.
[SQP-2] expected: index.js sends the prompt and API key to the configured SoloSmart API as expected for image generation; no hidden or unrelated data transfer was found.
Assessment
Install only if you trust SoloSmart and are comfortable sending image prompts to the configured SoloSmart API. Do not include secrets, regulated data, or confidential business details in prompts unless your organization approves that data sharing.

Verification

Tier
source linked
Scope
artifact only
Summary
Validated package structure and linked the release to source metadata.
Commit
1
Tag
1
Provenance
No
Scan status
clean

Tags

latest
1.0.2

SoloSmart Generate Image Plugin for OpenClaw

功能

为 OpenClaw 智能体提供 AI 图片生成能力,基于 SoloSmart API。

前置要求

  • Node.js >= 22
  • OpenClaw Gateway >= 2026.3.24-beta.2
  • 已申请 SoloSmart X-API-Key

安装

方式一:本地安装(开发调试)

openclaw plugins install ./SoloSmartGenerateImage

方式二:通过 ClawHub 安装

clawhub package publish ./SoloSmartGenerateImage --family code-plugin --dry-run clawhub package publish ./SoloSmartGenerateImage --family code-plugin

配置

在 openclaw.config.json 中添加: { "plugins": { "entries": { "solosmart-generate-image": { "enabled": true, "config": { "apiKey": "你的_X-API-Key", "apiBaseUrl": "https://solosmart-uat.issmart.com.cn" } } } } }

使用

安装并重启 Gateway 后,智能体即可调用 generate_image 工具。

示例对话:

用户:请帮我生成一张未来城市的图片 智能体:调用 generate_image,prompt 为 "霓虹灯下的赛博朋克城市, rainy night"

发布前检查清单

在重新执行 clawhub package publish 前,请确认:

检查项要求位置
openclaw.compat.pluginApi必需package.json → openclaw.compat.pluginApi
openclaw.build.openclawVersion必需package.json → openclaw.build.openclawVersion
openclaw.build.pluginSdkVersion建议填写package.json → openclaw.build.pluginSdkVersion
openclaw.compat.minGatewayVersion建议填写package.json → openclaw.compat.minGatewayVersion

注意:openclaw.build.openclawVersion 的值应与你本地安装的 OpenClaw 版本一致。可通过 openclaw --version 查看当前版本,若版本不同请相应修改。

推荐发布流程

1. 先 dry-run 预检,确认元数据完整

clawhub package publish ./SoloSmartGenerateImage --family code-plugin --dry-run

2. 无报错后再正式上传

clawhub package publish ./SoloSmartGenerateImage --family code-plugin

如果之前已经尝试发布过且版本号 1.0.0 被锁定,请将 package.json 中的 "version" 提升为 "1.0.1" 后重试。

插件文件结构

SoloSmartGenerateImage/ ├── openclaw.plugin.json # 插件清单(必需) ├── package.json # 包元数据(含 openclaw.build.openclawVersion) ├── index.ts # 插件入口(注册 generate_image 工具) └── README.md # 本文件

###API 说明

项目说明
接口地址POST https://solosmart-uat.issmart.com.cn/ai-agent-backend/app-system-prompt/api/GenerateImage
请求头Content-Type: application/jsonX-API-Key: xxx
请求体{"prompt": "描述文本"}
响应体{"imageUrl": "图片链接"}

常见问题 Q: 发布时提示 "软件包范围必须与选定的所有者匹配"? A: 确保 package.json 中的 name 字段以你的 ClawHub 账号名开头,例如 @wolf521/openclaw-generate-image。 Q: 发布时提示 "缺少必需的 OpenClaw 软件包元数据:openclaw.build.openclawVersion"? A: 在 package.json 的 openclaw 对象下添加 build.openclawVersion 字段,值与当前 OpenClaw 版本一致。


核心修正点对比

原文件(错误):

```bash
openclaw plugins install ./SoloSmartGenerateImage

### 方式二:通过 ClawHub 安装    ← 这行被困在代码块里!
clawhub package publish ...