返回顶部
j

jogg-lip-sync

Runs Jogg lip sync using video and audio inputs, reuses tasks when available, and monitors status until completion. Use to generate or check lip sync results.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.3
安全检测
已通过
267
下载量
2
收藏
概述
安装方式
版本历史

jogg-lip-sync

# Jogg Lip Sync Use this skill to execute lip sync tasks directly, not to generate integration code. All paths in this document are relative to the current skill root directory. Runner: - `sh "run.sh"` ## Trigger - User asks to run lip sync - User asks to check lip sync task status - User provides video and audio and expects the final driven video result ## Required Inputs - video input: URL or local file path - audio input: URL or local file path Optional: - `JOGG_BASE_URL`, default `https://api.jogg.ai` - `JOGG_API_PLATFORM`, default `openclaw` - `playback_type`, default `normal` - `poll_interval_seconds`, default `10` - `max_wait_seconds`, default `1800` If any required input is missing, ask only for the missing item. Default values used when unset: - `JOGG_BASE_URL=https://api.jogg.ai` - `JOGG_API_PLATFORM=openclaw` - `JOGG_LIP_SYNC_DEFAULT_PLAYBACK_TYPE=normal` - `JOGG_LIP_SYNC_DEFAULT_POLL_INTERVAL_SECONDS=10` - `JOGG_LIP_SYNC_DEFAULT_MAX_WAIT_SECONDS=1800` - `JOGG_API_KEY` is required. - Other current environment variables are optional. - If `JOGG_API_KEY` is empty, stop and tell the user to purchase an API plan at `https://www.jogg.ai/api-pricing/` and obtain an API key before continuing. ## Hard Rules - Execute the existing runner in the current run. - Prefer the fixed runner over handwritten HTTP calls. - Use `run.sh` as the only runner entrypoint. - Do not write scripts, helper files, SDKs, wrappers, or temporary executors. - Do not replace execution with code generation. - Do not create duplicate tasks for the same normalized inputs in one run. - Reuse existing tasks whenever allowed by the decision rules. - Prefer returning the final video result over producing artifacts. ## Endpoints - `POST /v2/upload/asset` - `GET /v2/lip_sync_video` - `POST /v2/create_lip_sync_video` - `GET /v2/lip_sync_video/:task_id` Header: - `X-Api-Key: $JOGG_API_KEY` - optional `x-api-platform: $JOGG_API_PLATFORM` ## Procedure 1. Collect missing inputs only. 2. For create or reuse flow, execute the runner with `--no-poll` first. 3. Parse the returned JSON and read `task_id` plus `status`. 4. If status is `pending` or `processing`, call the runner again with `--task-id` to query or poll. 5. Return the execution result directly in the conversation. Output contract: - `stdout`: final machine-readable JSON result only - `stderr`: progress logs during upload, query, create, and polling - Recommended agent pattern: create with `--no-poll`, then query by `task_id` ## Runner Modes Create or reuse a task: ```bash sh "run.sh" \ --video "<video-url-or-file>" \ --audio "<audio-url-or-file>" \ --playback-type "normal" \ --no-poll ``` Query a task by `task_id`: ```bash sh "run.sh" \ --task-id "<task-id>" ``` Useful flags: - `--force-recreate`: only when the user explicitly asks to regenerate after a terminal task - `--poll`: wait until terminal state in `task_id` mode - `--no-poll`: return immediately in create or reuse mode; recommended for the first runner call from the skill - `--poll-interval-seconds` - `--max-wait-seconds` `run.sh` behavior: - Uses the native shell implementation directly. - Requires `curl` and `jq`. - Uses the system default values when optional environment variables are unset. ## Decision Rules - `playback_type` defaults to `normal` if omitted. - The query endpoint returns the latest matching task under the current authenticated user and space. - Reuse `pending`, `processing`, and `success` tasks by default. - Do not recreate a `failed` task unless the user explicitly requests a retry. - Query before every create attempt. Allowed `playback_type` values: - `normal` - `normal_reverse` - `normal_reverse_by_audio` ## Output Return only execution results: - `action` - `reused` - Whether an existing task was reused or a new one was created - `task_id` - Current `status` - `data.result_url` when successful - `error.message` when failed - If still running, return the live `task_id` and `status` - Never replace the result with a generated script or file

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 jogg-lip-sync-1776058921 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 jogg-lip-sync-1776058921 技能

通过命令行安装

skillhub install jogg-lip-sync-1776058921

下载 Zip 包

⬇ 下载 jogg-lip-sync v0.1.3

文件大小: 6.81 KB | 发布时间: 2026-4-17 15:08

v0.1.3 最新 2026-4-17 15:08
- Added a README.md file with documentation for setup, usage, inputs, triggers, environment, and procedure.
- Clarified `.env` usage rules and guidance for the API key in error messages.
- Reorganized and trimmed documentation in SKILL.md for clarity.
- No changes to core functionality; update is documentation only.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部