Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计通过

zyt-avatarzyt 头像

Agent Skill

zyt-avatar 用于辅助视频、动画、脚本化剪辑和多媒体生成流程,适合在 OpenClaw 中需要整理视频素材、生成脚本或维护合成项目时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,251

周安装

221

GitHub Stars

公开资料未说明

下载量

1,839
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:zyt-avatar(zyt 头像)
来源仓库:https://github.com/zuoyuting214/zyt-avatar
安装命令:
openclaw skills install zyt-avatar
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install zyt-avatar

简介

zyt-avatar 用于辅助视频、动画、脚本化剪辑和多媒体生成流程。

  • 适合在 OpenClaw 中需要整理视频素材、生成脚本或维护合成项目时使用。
  • 通过 clawhub 安装,结合来源仓库和 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 当前功能聚焦于使用禅境头像 API 创建口型同步视频。

SKILL.md

name
chanjing-avatar
description
use chanjing avatar api to create lip-sync videos by uploading source media, creating avatar tasks, and polling task status. this skill reads app_id and secret_key from ~/.chanjing/credentials.json or $CHANJING_CONFIG_DIR/credentials.json and refreshes access_token for api calls. by default it does not auto-open browser pages; it returns login guidance when credentials are missing or invalid.
metadata
openclaw
requires
env
homepage
https://open-api.chanjing.cc

Chanjing Avatar

When to Use This Skill

Use this skill when the user wants to create lip-sync avatar videos with Chanjing Avatar.

Typical uses:

  • create text-driven lip-sync videos from a source avatar video
  • create audio-driven lip-sync videos from a source avatar video plus uploaded audio
  • upload video or audio assets and obtain file_id
  • create a lip-sync generation task
  • poll task status until completion and return the remote video URL

How to Use This Skill

This skill includes its own local configuration and authentication flow.

Local Configuration

This skill reads credentials from:

  • ~/.chanjing/credentials.json
  • or $CHANJING_CONFIG_DIR/credentials.json

The credentials file should contain:

{
  "app_id": "<your_app_id>",
  "secret_key": "<your_secret_key>"
}

Supported environment variables:

  • CHANJING_CONFIG_DIR: custom local config directory
  • CHANJING_API_BASE: custom API base URL, default is https://open-api.chanjing.cc

If credentials are missing or invalid, scripts return login guidance with the official Chanjing login URL (no browser auto-open by default):

  • https://www.chanjing.cc/openapi/login

Optional behavior:

  • set CHANJING_AUTO_OPEN_LOGIN=1 only when you explicitly want local scripts to try opening the login page in your default browser.

Standard Workflow

All API calls use JSON and UTF-8.

  1. Read local credentials and obtain a valid access_token
  2. Upload the source avatar video and optional driving audio to obtain file_id
  3. Create a lip-sync task with either:

- text-driven TTS input, or - uploaded audio input

  1. Poll the task status until success or failure
  2. On success, return the remote video URL from the API response

By default, return the remote video URL only. Do not auto-download the generated video unless the user explicitly asks to save it locally.

Covered APIs

This skill currently covers:

  • POST /open/v1/access_token
  • GET /open/v1/common/create_upload_url
  • GET /open/v1/common/file_detail
  • POST /open/v1/video_lip_sync/create
  • POST /open/v1/video_lip_sync/list
  • GET /open/v1/video_lip_sync/detail

Scripts

Scripts are located in scripts/.

ScriptPurpose
chanjing-configwrite or inspect local app_id / secret_key configuration
chanjing-get-tokenread local credentials and print a valid access_token
_auth.pyread local credentials, fetch or refresh access_token
get_upload_urlrequest an upload URL and return sign_url, mime_type, and file_id
upload_fileupload a local file, poll file_detail until ready, then print file_id
create_taskcreate a lip-sync task and print the returned task id
poll_taskpoll task status until completion and print the remote video_url

Usage Examples

TTS-driven lip-sync

# 0. Configure credentials
python scripts/chanjing-config \
  --ak "<your_app_id>" \
  --sk "<your_secret_key>"

# 1. Upload source video and get video_file_id
VIDEO_FILE_ID=$(python scripts/upload_file \
  --service lip_sync_video \
  --file ./my_video.mp4)

# 2. Create a TTS-driven lip-sync task
TASK_ID=$(python scripts/create_task \
  --video-file-id "$VIDEO_FILE_ID" \
  --text "君不见黄河之水天上来" \
  --audio-man-id "C-f2429d07554749839849497589199916")

# 3. Poll until completion and get the remote video URL
python scripts/poll_task --id "$TASK_ID"

Audio-driven lip-sync

# 1. Upload source video
VIDEO_FILE_ID=$(python scripts/upload_file \
  --service lip_sync_video \
  --file ./my_video.mp4)

# 2. Upload driving audio
AUDIO_FILE_ID=$(python scripts/upload_file \
  --service lip_sync_audio \
  --file ./my_audio.wav)

# 3. Create an audio-driven lip-sync task
TASK_ID=$(python scripts/create_task \
  --video-file-id "$VIDEO_FILE_ID" \
  --audio-file-id "$AUDIO_FILE_ID")

# 4. Poll until completion and get the remote video URL
python scripts/poll_task --id "$TASK_ID"

API Notes

Access Token

Read app_id and secret_key from the local credentials file. If there is no valid token, request one from:

POST /open/v1/access_token
Content-Type: application/json

Request body:

{
  "app_id": "<from local credentials>",
  "secret_key": "<from local credentials>"
}

Important response fields:

FieldDescription
coderesponse status code
msgresponse message
data.access_tokenvalid token for subsequent calls
data.expire_intoken expiration timestamp

Common status codes:

CodeDescription
0success
400invalid parameter format
40000parameter error
50000system internal error

Upload Media Files

Before creating a lip-sync task, upload the source avatar video and optional driving audio through the File Management API.

Get upload URL

GET /open/v1/common/create_upload_url
access_token: {{access_token}}

Query parameters:

ParameterDescription
serviceuse lip_sync_video for avatar video and lip_sync_audio for driving audio
nameoriginal file name with extension

The response includes:

  • sign_url
  • mime_type
  • file_id

Use the returned sign_url with HTTP PUT to upload the file, and set Content-Type to the returned mime_type.

After upload completes, poll the file detail API until the file is ready:

GET /open/v1/common/file_detail?id={{file_id}}
access_token: {{access_token}}

Only use the returned file_id for task creation after the file status is ready.

Create Lip-Sync Task

Create a lip-sync task:

POST /open/v1/video_lip_sync/create
access_token: {{access_token}}
Content-Type: application/json

TTS-driven example

{
  "video_file_id": "e284db4d95de4220afe78132158156b5",
  "screen_width": 1080,
  "screen_height": 1920,
  "model": 0,
  "audio_type": "tts",
  "tts_config": {
    "text": "君不见黄河之水天上来,奔流到海不复回。",
    "audio_man_id": "C-f2429d07554749839849497589199916",
    "speed": 1,
    "pitch": 1
  }
}

Audio-driven example

{
  "video_file_id": "e284db4d95de4220afe78132158156b5",
  "screen_width": 1080,
  "screen_height": 1920,
  "model": 0,
  "audio_type": "audio",
  "audio_file_id": "audio_file_id_from_file_management"
}

Important request fields:

FieldDescription
video_file_iduploaded avatar video file_id
screen_widthoutput width, default 1080
screen_heightoutput height, default 1920
model0 basic, 1 high quality
audio_typetts or audio
tts_config.texttext content for TTS-driven mode
tts_config.audio_man_idvoice ID for TTS-driven mode
tts_config.speedspeech speed, range 0.5 to 2
tts_config.pitchpitch, usually keep 1
audio_file_iduploaded driving audio file_id for audio-driven mode
callbackoptional callback URL
volumeoptional volume, range 1 to 100

Successful response:

{
  "trace_id": "8d10659438827bd4d59eaa2696f9d391",
  "code": 0,
  "msg": "success",
  "data": "9499ed79995c4bdb95f0d66ca84419fd"
}

Important response fields:

FieldDescription
coderesponse status code
msgresponse message
datatask id used for polling

Query Task List

List lip-sync tasks:

POST /open/v1/video_lip_sync/list
access_token: {{access_token}}
Content-Type: application/json

Request body:

{
  "page": 1,
  "page_size": 10
}

Important response fields in each task item:

FieldDescription
idtask id
status0 pending, 10 generating, 20 success, 30 failed
progressgeneration progress
msgtask message
video_urlremote generated video URL
preview_urlpreview image URL
durationvideo duration in ms
create_timeunix timestamp

Poll Task Detail

Poll task status until completion:

GET /open/v1/video_lip_sync/detail
access_token: {{access_token}}

Query parameter:

ParameterDescription
idtask id

Important response fields:

FieldDescription
data.idtask id
data.status0 pending, 10 generating, 20 success, 30 failed
data.progressprogress 0-100
data.msgtask message
data.video_urlremote video URL
data.preview_urlpreview image URL
data.durationvideo duration in ms
data.create_timeunix timestamp

Callback Notification

If a callback URL is provided, the system may send a POST request after task completion with the same task detail payload shape.

Output Convention

Default behavior:

  • return the remote video URL from data.video_url
  • return task status and progress when polling
  • do not auto-download the generated file unless the user explicitly asks

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

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

平台分布

OpenClaw

76.8%
按下载量换算1,412

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills