← Back to Skills Marketplace
jeffery1995

A skill that automates repurposing Chinese social videos (Douyin/Bilibili/Xiaohongshu) to international platforms (TikTok/YouTube/Instagram) via the Lumi API — handling translation, AI dubbing, and publishing in one workflow.

by jefferyjiang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
225
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install lumi-social-post-ai-dubbling
Description
Use this skill when the user wants to manage social media content via Lumi — uploading videos, publishing to TikTok/YouTube/Instagram, translating or dubbing...
README (SKILL.md)

权限声明

SECURITY MANIFEST:

- Allowed to read: {baseDir}/README.md, {baseDir}/references/*.json

- Allowed to make network requests to: https://lumipath.cn

通用工作流

当用户提出请求时,请严格执行以下步骤:

  1. 检查API密钥:首先检查环境变量 LUMI_API_KEY 是否存在。如果不存在,提示用户设置:export LUMI_API_KEY="lumi_your_key_here"
  2. 阅读README:仔细阅读 {baseDir}/README.md,了解接口概览和认证方式。
  3. 目录索引:扫描 {baseDir}/references/ 目录下的所有文件名,确定哪些 OpenAPI 定义文件与用户需求相关。
  4. 精准读取:仅读取选定的 .json 文件,分析其 pathsparametersrequestBody
  5. 收集参数(见下方各场景的参数清单),向用户确认所有必要参数后再执行。
  6. 构造请求:使用 curl 执行请求。
    • Base URL: https://lumipath.cn
    • Auth: Authorization: Bearer $LUMI_API_KEY

场景一:搬运视频(repurpose)

触发条件:用户提供抖音/B站/小红书链接,或说"搬运"、"复用"、"翻译发布"。

第一步:收集参数(在执行任何 API 调用前,必须向用户确认以下所有信息)

参数 是否必须 说明
视频链接 ✅ 必须 抖音/B站/小红书/xhslink URL
原始语言 ✅ 必须 视频的语言,如 zh、en、ja
目标语言 ✅ 必须 要翻译成的语言,如 en、ko、ja、es
是否配音 ✅ 必须 是否用 AI 声音替换原声(dubbing)
配音声音 配音时必须 引导用户访问 lumipath.cn/voices 查看和试听声音后选择
是否加字幕 ✅ 必须 是否在视频中烧录翻译字幕(subtitle)
发布到哪些平台 ✅ 必须 TikTok / YouTube / Instagram,可多选
发布文案 ✅ 必须 发布时的标题或 caption
YouTube 标题 发布到 YouTube 时必须 YouTube 视频标题
YouTube 可见性 发布到 YouTube 时必须 public / private / unlisted
TikTok 隐私设置 可选 默认 PUBLIC_TO_EVERYONE

autoPublish 默认启用:搬运场景中,只要用户指定了发布平台,必须始终设置 autoPublish 字段,无需额外询问用户是否自动发布。

禁止跳过参数收集步骤直接发起请求。 如果用户没有提供某个必要参数,必须主动询问。

第二步:获取账号连接 ID

调用 GET /api/v1/connections 获取目标平台的 connectionId,展示给用户确认使用哪个账号。

第三步:获取 TTS 声音列表(如需配音)

引导用户访问 https://lumipath.cn/voices 查看所有可用声音(支持试听)。用户选定声音名称后,调用 GET /api/v1/tts?language=\x3C目标语言> 匹配对应的 id

第四步:发起搬运任务

调用 POST /api/v1/repurpose,将发布信息通过 autoPublish 字段一并传入,确保翻译完成后自动发布。

autoPublish: {
  text: "\x3C用户提供的发布文案>",
  tiktokConnectionIds: [...],   // 如选择了 TikTok
  youtubeConnectionIds: [...],  // 如选择了 YouTube
  instagramConnectionIds: [...] // 如选择了 Instagram
}

第五步:轮询任务进度

每隔 15 秒调用一次 GET /api/v1/localization?taskId=\x3CtaskId>,向用户展示当前进度(stepprogress),直到 status=completedstatus=failed

第六步:完成确认

  • status=completed:告知用户任务已完成,已自动发布到指定平台。
  • status=failed:展示 failureReason,建议用户重试。

场景二:直接发布视频(social post)

触发条件:用户提供视频 URL 或已有视频,要直接发布,不需要翻译。

参数收集

参数 是否必须 说明
视频来源 ✅ 必须 公开 URL 或已在库中的视频
发布平台 ✅ 必须 TikTok / YouTube / Instagram
发布文案 ✅ 必须 Caption 或描述
YouTube 标题 发布到 YouTube 时必须
YouTube 可见性 发布到 YouTube 时必须 public / private / unlisted
TikTok 隐私 可选 默认 PUBLIC_TO_EVERYONE

执行步骤

  1. 如果是新视频 URL,先调用 POST /api/v1/videos/upload 上传,获取 OSS url
  2. 调用 GET /api/v1/connections 获取目标平台的 connectionId
  3. 调用 POST /api/v1/social-posts 发布

场景三:仅本地化(不发布)

触发条件:用户只想翻译/配音/加字幕,暂不发布。

参数收集

同场景一,但不询问发布平台,不设置 autoPublish

完成后展示 outputUrl,告知用户可随时用此链接手动发布。


注意事项

  • 禁止全量加载:除非涉及多个领域,否则禁止同时读取多个 JSON 文件。
  • 参数完整性绝对禁止在用户未确认目标语言、发布平台、发布文案的情况下启动 repurpose 或 localization 任务。
  • 账号确认:当用户有多个同平台账号时,必须列出所有账号让用户选择,不得自动选第一个。
  • 轮询:任务启动后必须持续轮询并向用户报告进度,不得静默等待。
  • 错误处理:请求失败时展示友好提示和详细错误信息。
Usage Guidance
This skill appears to do what it says: it will call Lumi's endpoints using the LUMI_API_KEY you provide. Before enabling it on real accounts: (1) Only provide an API key you trust and that is scoped appropriately — create a test account/key if possible. (2) Be aware the repurpose workflow defaults to auto-publishing when platforms are specified; confirm the skill will not publish to your live accounts unexpectedly (consider testing with a sandbox/test account or ensuring you provide only non-production connectionIds). (3) The README mentions a LUMI_BASE_URL env variable but the skill uses https://lumipath.cn — verify the URL and provider authenticity. (4) This tool facilitates reposting content from other platforms; ensure you have the right to republish any content (copyright/terms risk). If you need a higher assurance, request the skill author/source provenance or an install spec from a trusted registry before use.
Capability Analysis
Type: OpenClaw Skill Name: lumi-social-post-ai-dubbling Version: 1.0.0 The skill bundle provides a legitimate interface for the Lumi API (lumipath.cn) to manage social media workflows, including video translation, dubbing, and publishing to platforms like TikTok and YouTube. The instructions in skill.md emphasize user confirmation and parameter validation before executing API calls via curl. All network activity is restricted to the stated domain, and there is no evidence of data exfiltration, unauthorized file access, or malicious prompt injection.
Capability Assessment
Purpose & Capability
Name/description (repurpose Chinese social videos → TikTok/YouTube/Instagram with translation/dubbing) match the included OpenAPI references and the single required env var LUMI_API_KEY. The declared API surface (videos, repurpose, localization, tts, social-posts, connections, insights) fits the described functionality.
Instruction Scope
SKILL.md confines runtime actions to reading the bundled README and selected OpenAPI JSON files and to making network requests to https://lumipath.cn using the LUMI_API_KEY. That is appropriately scoped. Two points to note: (1) the skill enforces an "autoPublish default enabled" behavior for repurpose when a publish platform is provided — this can result in immediate publishing if the user provides platform and caption values; and (2) the README recommends exporting LUMI_BASE_URL but the main instructions hardcode https://lumipath.cn, which is a minor inconsistency (not a data-exfiltration risk but could surprise users).
Install Mechanism
This is an instruction-only skill with no install spec and no bundled executable code, so there is no installer risk (nothing is written to disk by an install step).
Credentials
The skill requires only one credential (LUMI_API_KEY) and declares it as the primary credential — this is proportional to the described API interactions. Minor inconsistency: README examples mention a LUMI_BASE_URL env var that is not declared in requires.env (the skill otherwise uses the fixed base URL https://lumipath.cn).
Persistence & Privilege
always is false and the skill does not request persistent system privileges or modify other skills. Autonomous invocation is allowed (default) but is not combined with broad or unrelated credential access, so no elevated persistence concern here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install lumi-social-post-ai-dubbling
  3. After installation, invoke the skill by name or use /lumi-social-post-ai-dubbling
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of the Lumi social content management skill. - Supports video repurposing: automates translation, dubbing, subtitle adding, and cross-platform publishing. - Enables direct video posting to TikTok, YouTube, and Instagram with authentication via API key. - Provides workflow for collecting all necessary parameters before processing any request. - Guides users to preview and select AI voice options for dubbing tasks. - Includes tools for analytics, managing accounts, and handling localization-only tasks. - Incorporates detailed progress tracking with task polling and clear error reporting.
Metadata
Slug lumi-social-post-ai-dubbling
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is A skill that automates repurposing Chinese social videos (Douyin/Bilibili/Xiaohongshu) to international platforms (TikTok/YouTube/Instagram) via the Lumi API — handling translation, AI dubbing, and publishing in one workflow.?

Use this skill when the user wants to manage social media content via Lumi — uploading videos, publishing to TikTok/YouTube/Instagram, translating or dubbing... It is an AI Agent Skill for Claude Code / OpenClaw, with 225 downloads so far.

How do I install A skill that automates repurposing Chinese social videos (Douyin/Bilibili/Xiaohongshu) to international platforms (TikTok/YouTube/Instagram) via the Lumi API — handling translation, AI dubbing, and publishing in one workflow.?

Run "/install lumi-social-post-ai-dubbling" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is A skill that automates repurposing Chinese social videos (Douyin/Bilibili/Xiaohongshu) to international platforms (TikTok/YouTube/Instagram) via the Lumi API — handling translation, AI dubbing, and publishing in one workflow. free?

Yes, A skill that automates repurposing Chinese social videos (Douyin/Bilibili/Xiaohongshu) to international platforms (TikTok/YouTube/Instagram) via the Lumi API — handling translation, AI dubbing, and publishing in one workflow. is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does A skill that automates repurposing Chinese social videos (Douyin/Bilibili/Xiaohongshu) to international platforms (TikTok/YouTube/Instagram) via the Lumi API — handling translation, AI dubbing, and publishing in one workflow. support?

A skill that automates repurposing Chinese social videos (Douyin/Bilibili/Xiaohongshu) to international platforms (TikTok/YouTube/Instagram) via the Lumi API — handling translation, AI dubbing, and publishing in one workflow. is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created A skill that automates repurposing Chinese social videos (Douyin/Bilibili/Xiaohongshu) to international platforms (TikTok/YouTube/Instagram) via the Lumi API — handling translation, AI dubbing, and publishing in one workflow.?

It is built and maintained by jefferyjiang (@jeffery1995); the current version is v1.0.0.

💬 Comments