Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

vidu-skills维杜技能

Agent Skill

vidu-skills 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

442

周安装

19

GitHub Stars

8

下载量

155
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:vidu-skills(维杜技能)
来源仓库:https://github.com/shengshu-ai/vidu-skills
仓库路径:skills/vidu-skills
安装命令:
npx skills add https://github.com/shengshu-ai/vidu-skills --skill vidu-skills
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/shengshu-ai/vidu-skills --skill vidu-skills

简介

用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。
  • 使用时需结合关键词、任务场景或来源线索进行筛选。
  • 安装前建议确认权限范围和维护状态,避免触发不必要的联网或文件读写。
  • 安装方式:通过 GitHub 仓库添加,支持 Codex、Claude 等宿主环境。

SKILL.md

Vidu Video and Image Generation Skill

Generate AI videos and images with Vidu via vidu-cli — text-to-image, text-to-video, image-to-video, start-end frame, reference-based generation, and material elements, up to 1080p/2K/4K.

Execution model: use vidu CLI

All execution is done via the vidu-cli CLI tool. Parameters are CLI flags (not raw JSON bodies).

Environment variables

  • VIDU_TOKEN (required) — Vidu API token
  • VIDU_BASE_URL (optional) — Default https://service.vidu.cn (mainland China); use https://service.vidu.com for overseas
  • VIDU_DEBUG (optional) — Set to 1 to print full response body to stderr for debugging

Stdout contract

  • Every command prints one line of JSON to stdout.
  • Success: {"ok": true, "trace_id": "...",...} — exit code 0
  • Failure: {"ok": false, "error": {"type": "...", "http_status":..., "code": "...", "message": "..."}} — exit code 1
  • trace_id appears on API-backed responses for support/debugging.
  • CRITICAL: Never guess why an error happened. Copy fields from error exactly. Full shapes and edge cases: references/parameters.md.

Error type values

  • http_error — API 4xx/5xx (http_status, code, message)
  • network_error — Connection failure or timeout
  • parse_error — Response is not valid JSON
  • client_error — Local issues (missing token, bad path, validation)

Main commands

CommandPurpose
vidu-cli upload <image_path>Upload image → upload_id, ssupload_uri
vidu-cli task submit --type... --prompt... [options]Submit task → task_id. --image: local path, URL, or ssupload:?id=... (auto-upload). --video: local path or ssupload:?id=... (character2video + 3.2_a only, auto-upload; URLs not supported). --audio: local path or ssupload:?id=... (character2video + 3.2_a only; URLs not supported).
vidu-cli task get <task_id> [--output/-o <dir>]Query task → state, type, model; use --output to download media on success
vidu-cli task compose --timeline <json> [--width N --height N] [--schedule-mode <mode>]Compose video from timeline → task_id. Query with task get. Supports --schedule-mode (auto-detected if omitted). MUST read references/compose.md before building the timeline JSON — do not guess the schema.
vidu-cli task lip-sync --video <path> --text <text> [options]Lip-sync with text-to-speech → task_id. Supports --schedule-mode (auto-detected if omitted).
vidu-cli task lip-sync --video <path> --audio <path>Lip-sync with audio file → task_id. Supports --schedule-mode (auto-detected if omitted).
vidu-cli task lip-sync-voicesList available lip-sync voices (90+, Chinese/English/Cantonese/Cartoon etc.)
vidu-cli task tts --prompt... --voice-id...Text-to-speech → task_id. Supports --schedule-mode (auto-detected if omitted).
vidu-cli task tts-voicesList available TTS voices (300+, 20+ languages)
vidu-cli task cost --type... --model-version... --duration...Query credit cost for video/image tasks (estimate before submitting)
vidu-cli task tts-cost --text... --voice-id...Query credit cost for TTS tasks (priced by character count; --text required)
vidu-cli task lip-sync-cost --duration... --voice-id...Query credit cost for lip-sync tasks (defaults to voice English_Aussie_Bloke if omitted)
vidu-cli quota passQuery claw-pass daily quota status
vidu-cli quota creditQuery user credit balance
vidu-cli element create --name... --image... [--description...] [--style...]Create reference element (check → preprocess → create). Returns id, version.
vidu-cli element check --name...Check name availability
vidu-cli element list [--keyword kw]List personal elements
vidu-cli element search --keyword kwSearch community elements

Smart input handling

--image (task submit, element create):

  • Local path → auto-upload (auto-compress when file is larger than 10MB)
  • http(s): URL → download then upload
  • ssupload:?id=... → use as-is

--video and --audio (task submit, character2video + 3.2_a only):

  • Local path → auto-upload
  • ssupload:?id=... → use as-is
  • http(s): URL → not supported (rejected with error)

Key Capabilities

  • text-to-image — Text-only image generation
  • text-to-video — Text-only video generation
  • image-to-video — One image + text → video
  • head-tail-image-to-video — Start + end frames + text
  • reference-to-imageImages + materials: 1–7 total; text prompt required; can be images-only, materials-only, or mixed; images-only needs no element create
  • reference-to-video — Same rule: 1–7 total; text prompt required; with 3.2_a model, also supports --video input (max 3, local files validated for size/dimensions/duration)
  • lip-sync — Drive video mouth movement with text-to-speech or audio file
  • text-to-speech — Convert text to speech audio via task tts
  • video-compose — Compose multi-track timeline (video/audio/subtitle/effect) into a single exported video via task compose
  • create-referenceselement create (single command)
  • search-community-referenceselement search
  • query-tasktask get [--output <dir>]

Setup

  1. npm install -g vidu-cli@latest (requires Node.js >=14; postinstall auto-downloads the platform binary)
  2. Obtain VIDU_TOKEN (e.g. Vidu console).
  3. Set VIDU_TOKEN environment variable (required); set VIDU_BASE_URL if not using default region.
  4. Verify: vidu-cli task submit --help

Data usage and privacy (summary)

Content you send (prompts, images, task settings) goes to Vidu’s API. Confirm this meets your privacy and IP needs. Prefer least-privilege tokens for testing. Terms: https://www.vidu.com/terms (overseas), https://www.vidu.cn/terms (mainland China).


Async workflow (short)

  • Vidu generation is asynchronous: task submittask_id → poll task get <task_id> until terminal state.
  • Model nicknames: Q1 → 3.0, Q2 → 3.1, Q3 → 3.2, Q3-A → 3.2_a (character2video supports --audio and --video; duration -1 or 4–15s). Additional variants exist: 3.1_pro, 3.2_fast_m, 3.2_pro_m, 3.2_image_2 — see references/parameters.md for the complete per-task model version list.
  • Task-type summaries, task support matrix, copy-paste CLI examples, prompt tips, and element create/list/search details are in references/parameters.md.
  • Task lifecycle, retries, and polling guidance: references/errors_and_retry.md.

Implementation guide

For task submit (generation tasks)

  1. Pick capability → map to --type and options using references/parameters.md (matrix + validation).
  2. Prepare inputs: for reference2image / character2video, --image and/or --material so combined count is 1–7; for character2video with 3.2_a, also supports --video (max 3); optional [@name] in prompt per references/parameters.md.
  3. *(Optional)* Query cost before submitting: use task cost, task tts-cost, or task lip-sync-cost to estimate credit usage and check eligibility.
  4. vidu-cli task submit... → store task_id and trace_id.

- schedule-mode auto-detection: if --schedule-mode is omitted, CLI queries claw-pass status and uses claw_pass when user has an active pass, otherwise normal. If submit fails with ClawPassExplicitModeRequired, tell the user their daily claw-pass quota is exhausted. Do not retry automatically — suggest re-submitting with --schedule-mode normal to use credits instead, or waiting for the next quota refresh.

  1. vidu-cli task get <task_id> until success or failed; use --output <dir> to download media on success.
  2. On success return downloaded_files (if --output used) or prompt user to re-run with --output; on task failure return err_code / err_msg; on CLI ok: false return error fields verbatim.

For task compose (video composition)

CRITICAL: Before constructing the --timeline JSON, you MUST read references/compose.md first. The timeline has a specific JSON schema with exact field names, nesting structure, and media_url rules. Do NOT guess the structure — always refer to compose.md for the complete schema, supported fields, and examples.

  1. Read references/compose.md to understand the timeline JSON schema, media_url rules, and limits.
  2. Build the timeline JSON following the exact structure: video_tracks[].video_track_clips[], audio_tracks[].audio_track_clips[], subtitle_tracks[].subtitle_track_clips[], effect_tracks[].effect_track_items[]. Every clip must include timeline_in and timeline_out (the CLI validates this and rejects timelines with missing values).
  3. For media_url: use ssupload:?id=xxx, http URL, or local file path (auto-uploaded by CLI).
  4. For file_url (subtitles): use ssupload:?id=xxx, http URL, or local.srt file path.
  5. vidu-cli task compose --timeline <file_or_json> [--width N --height N] [--schedule-mode <mode>] → returns task_id.

- schedule-mode auto-detection: same as task submit — if omitted, CLI auto-detects from claw-pass status. If compose fails with ClawPassExplicitModeRequired, suggest --schedule-mode normal to use credits instead.

  1. vidu-cli task get <task_id> to poll status, same as other tasks.

Output to the user

  • After submit: return task_id and trace_id; state that processing is in progress.
  • After query: if state is success, return downloaded_files (if --output was used) or the task_id with a note to re-run with --output <dir> to download; if failed, return err_code and err_msg exactly (note: response may still have ok: true while state is failed).
  • On CLI failure (ok: false): report error.type, http_status, code, message exactly — do not infer causes.

References (bundled)

FileContents
references/parameters.mdTask matrix, CLI flags, examples, prompt tips, validation
references/errors_and_retry.mdStates, retries, polling
references/compose.mdTimeline schema, media_url rules, clip compose examples

Fallback (no Node.js / npm)

If node / npm / vidu-cli cannot be installed, this skill cannot run. Require vidu-cli latest (via npm install -g vidu-cli@latest, Node.js >=14) and point users to references/parameters.md for parameter details.

适合场景

01

文本生成图片

02

图片风格化

03

产品图和创意图

04

需要 FLUX 模型时

能力概览

能力 1

调用 FLUX 图像模型

能力 2

支持文本生图和图像改写

能力 3

覆盖 LoRA 或风格适配

能力 4

适合创意视觉生成

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude

33.47%
按下载量换算52

Codex

32.14%
按下载量换算50

Cursor

20.75%
按下载量换算32

Gemini CLI

9.77%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills