Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Vidu API supports text-based images, reference images, and image editing.

v1.0.0

Vidu AI 图片生成。支持 Nano 生图、Vidu 参考生图。对话式调用,自动识别意图。

1· 171·0 current·0 all-time
byVidu AI@x-jihua

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for x-jihua/vidu-image-generate.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Vidu API supports text-based images, reference images, and image editing." (x-jihua/vidu-image-generate) from ClawHub.
Skill page: https://clawhub.ai/x-jihua/vidu-image-generate
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install vidu-image-generate

ClawHub CLI

Package manager switcher

npx clawhub@latest install vidu-image-generate
Security Scan
VirusTotalVirusTotal
Pending
View report →
OpenClawOpenClaw
Suspicious
high confidence
!
Purpose & Capability
The skill name/description and SKILL.md focus on image generation, but the included CLI (scripts/vidu_cli.py) implements many additional capabilities: video endpoints (text2video, img2video, reference2video, etc.), audio/TTS and voice-clone endpoints. Those extra capabilities are not documented in the SKILL.md summary or registry metadata, which makes the overall purpose and required privileges unclear.
!
Instruction Scope
SKILL.md instructs the agent to call the provided Python CLI for image-generation and status checks and documents image-specific behavior. The CLI, however, can read local files (converting images to base64), fetch remote URLs, and supports additional commands (video/audio) not documented in SKILL.md. This gives the agent the ability to upload arbitrary local files and call endpoints beyond the documented scope if invoked.
Install Mechanism
No install spec is present; the skill is instruction + a bundled Python script. No external downloads or installers are used, so nothing is automatically written to disk beyond the packaged files. This is the lower-risk install pattern.
!
Credentials
Registry metadata declared no required environment variables, but SKILL.md and the CLI both require VIDU_API_KEY. The skill will read VIDU_API_KEY from environment and will fail without it. Requesting a single API key is reasonable for an external service, but the registry omission is an inconsistency that could confuse users and automated permission checks. Also note: the CLI will include local image data (base64) in API requests — supplying local files causes data to be transmitted to the remote API.
Persistence & Privilege
The skill does not request 'always: true' and does not declare modifications to other skills or global agent configuration. Autonomous invocation is allowed (platform default) but not combined with other elevated privileges here.
What to consider before installing
Before installing, consider the following: - The registry metadata omitted required env vars: this skill requires VIDU_API_KEY (the SKILL.md and code both check for it). Confirm you trust the VIDU API provider before supplying a key. - The shipped Python CLI supports video and audio endpoints (text2video, TTS, voice clone) in addition to image generation. If you only want simple image generation, be cautious: the agent could be instructed to use the extra endpoints or to upload other local files. - Using local images means the script will read files, base64-encode them, and send them to the remote API — do not supply sensitive images you don't want transmitted. - There is no declared homepage or official source; prefer skills with an identified upstream repo or vendor. If you plan to use this skill, review the full scripts/vidu_cli.py file (and the API endpoints) yourself or only provide an API key with limited scope/permissions. - If anything about the domain selection, endpoints, or required behaviors is unclear, ask the publisher for an authoritative homepage, documentation, or a signed release before trusting API credentials.

Like a lobster shell, security has layers — review code before you run it.

latestvk976f8j152g0g4fq9wvdhxy63n837h6e
171downloads
1stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

Vidu Image Generate 🖼️

Vidu AI 图片生成工具,专注于图片生成功能。

环境说明

变量说明

  • {baseDir} - 运行时自动替换为本 skill 目录的绝对路径
    • 实际路径:~/.openclaw/workspace/skills/vidu-image-generate/

环境变量

  • VIDU_API_KEY - Vidu API 密钥(必需)

快速开始

直接告诉我你想生成什么图片,我会自动识别并调用合适的接口:

"生成一只可爱的橘猫图片"
"用这张图生成一个动漫风格的人物"
"生成一张风景图,1920x1080"

支持的图片类型

类型触发条件说明
文生图纯文字描述从文字生成图片
参考生图提供参考图片根据参考风格生成

自动识别规则

用户输入 → 意图识别
─────────────────────────────
"生成图片/图" → 图片生成模式
纯文字 → 文生图
参考图片 → 参考生图

模型选择策略

Nano 生图模型(推荐)

模型分辨率速度质量参考图特殊比例
q3-fast1K/2K/4K0-14张(可选)✅ 1:4, 4:1, 1:8, 8:1
q2-fast1K最快0-14张(可选)
q2-pro1K/2K/4K最高0-14张(可选)

特点

  • ✅ 支持文生图(不输入参考图)
  • ✅ 支持参考生图(输入参考图)
  • ✅ q3-fast 支持特殊比例(1:4、4:1、1:8、8:1)

Vidu 参考生图模型

模型分辨率参考图要求说明
viduq2540p/720p/1080p0-7张支持文生图、参考生图、图片编辑
viduq11080p1-7张(必填)仅支持参考生图

viduq2 图片编辑功能

  • ✅ 支持局部重绘、扩图等编辑功能
  • ⚠️ 使用图片编辑时,aspect_ratio 必须设为 auto
  • 示例:"aspect_ratio": "auto"

特点

  • viduq2:支持文生图、参考生图、图片编辑
  • viduq1:必须输入至少 1 张参考图(仅参考生图)

场景推荐

场景模型理由
默认q3-fast最新模型,速度快,支持特殊比例
高画质q2-pro效果最好
快速生成q2-fast速度最快
参考生图viduq2支持文生图和参考生图

分辨率与比例默认值

图片分辨率:2K
图片比例:16:9

API 调用

内部使用 Python CLI 工具:

# 图片生成
python3 {baseDir}/scripts/vidu_cli.py nano-image --prompt "图片描述"

# 参考生图
python3 {baseDir}/scripts/vidu_cli.py nano-image --prompt "图片描述" --images ref1.jpg ref2.jpg

# Vidu 参考生图
python3 {baseDir}/scripts/vidu_cli.py text2image --prompt "图片描述" --images ref.jpg

# 查询任务状态
python3 {baseDir}/scripts/vidu_cli.py status <task_id> --download ./uploads

输出规范

  1. 下载目录: {baseDir}/uploads/
  2. 返回格式: Markdown 格式引用文件
  3. 图片链接: 必须返回 Vidu API 的 creations[0].url 字段

环境配置

必需环境变量:

VIDU_API_KEY=your_api_key_here

获取 API Key:

API 域名选择

重要规则:根据用户语言自动选择 API 域名

用户语言API 域名说明
简体中文api.vidu.cn国内用户(默认)
其他语言api.vidu.com海外用户

Base URL 配置

# 简体中文用户
BASE_URL = "https://api.vidu.cn/ent/v2"

# 非简体中文用户(英文、日文、韩文等)
BASE_URL = "https://api.vidu.com/ent/v2"

判断逻辑

  • 用户使用简体中文 → 使用 api.vidu.cn
  • 用户使用其他语言(英文、日文、韩文等) → 使用 api.vidu.com

错误处理

错误原因解决方案
Invalid API keyAPI密钥错误检查 VIDU_API_KEY 环境变量
Image size exceeds图片过大压缩至50MB以下
Task failed生成失败查看 error 信息重试

References

Rules

  1. API Key 检查: 调用前确认 VIDU_API_KEY 已设置
  2. 异步任务: 图片生成异步进行,需轮询状态
  3. 下载时效: 生成 URL 24小时内有效
  4. 返回图片链接: 必须返回图片 URL 让用户直接访问

Comments

Loading comments...