Skip to content
cccskills
FreePublished on GitHub

multilingual-dubbing

多语言本地化配音:把中文带货视频本地化为英语、日语、韩语、东南亚语(印尼/泰/越/马来/菲律宾)、西语等版本——本地化改写口播(不是直译)、选对 edge-tts 音色、生成对应字幕与花字,并用同一份 storyboard 一键渲染多语言成片。

Use when the user wants dubbing, 多语言, 本地化, 翻译配音, 出海, localize a product video for TikTok Shop US/UK/SEA, English voice-over, or multiple language versions of one video.

The English summary is being prepared. Showing the original description.

Works withTikTok

Run score Not tested

See how to install

Files included (5)

  • SKILL.md4.6 KB
  • scripts/assemble.py14.5 KB
  • scripts/make_bgm.py2.8 KB
  • scripts/make_subs.py5.6 KB
  • scripts/tts_edge.py4.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

多语言本地化配音 · Multilingual Dubbing

一份 storyboard.json,加上 line_en / sub_en / title_en / cta_en / tag_en 这类字段,就能用 --lang en 渲染出英文版。画面、节奏、转场全部复用;镜头时长按新语言的配音自动重算。

Part of ecommerce-video-skills · 脚本:scripts/assemble.py --lang <code>(内含 tts_edge.py、make_subs.py)

输入 Inputs

  • 已完成的中文 storyboard.json
  • 目标市场(不只是语言):US / UK / ID / TH / VN / MY / PH / JP / KR / MX …
  • 当地可用的卖点表述与合规要求(如需)

步骤 Steps

  1. 本地化改写,不直译:保留卖点,换成当地说法和场景(中文「通勤」→ 美国「commute / road trip」;东南亚强调「hot weather / ice」)。

  2. 长度对齐:英文语速约 2.5 词/秒;每句词数 ≈ 原镜头秒数 × 2.5,超长就删。

  3. 写字段:每镜加 line_xx(配音)、sub_xx(字幕,可用 **高亮** 与 |)、可选 title_xx、cta_xx;顶层加 tag_xx。缺失的字段回退到中文原字段(sub_xx 写 "" 表示不出字幕)。

  4. 选音色:

    市场音色示例(--voice)
    美国en-US-AndrewNeural(男)· en-US-AvaNeural(女)· en-US-EmmaNeural
    英国en-GB-SoniaNeural
    印尼id-ID-GadisNeural
    泰国th-TH-PremwadeeNeural
    越南vi-VN-HoaiMyNeural
    马来西亚ms-MY-YasminNeural
    菲律宾fil-PH-BlessicaNeural
    日本 / 韩国ja-JP-NanamiNeural / ko-KR-SunHiNeural
    墨西哥 / 巴西es-MX-DaliaNeural / pt-BR-FranciscaNeural

    全部音色:python scripts/tts_edge.py --list en- / --list id-ID …

  5. 渲染:

    python scripts/assemble.py storyboard.json --lang en --voice en-US-AndrewNeural --rate "+5%" -o out/video-en.mp4 --build build/en
    python scripts/assemble.py storyboard.json --lang th --voice th-TH-PremwadeeNeural --font "Noto Sans Thai" -o out/video-th.mp4 --build build/th
    

    每种语言用独立 --build 目录。泰语/阿拉伯语等需安装对应字体并用 --font 指定(CJK 字体不含这些字形)。

  6. 母语者过一遍:至少检查钩子句、CTA 和品牌名读音。

字段示例

{"image": "assets/infographic.webp", "fit": "blur",
 "line": "早上装满冰块,到晚上冰块还在。", "sub": "早上装满冰块|到晚上**冰块还在**", "title": "24h 保冰",
 "line_en": "Fill it with ice in the morning, it's still there at night.",
 "sub_en": "Ice in the morning|**still there at night**", "title_en": "Ice for 24h"}

仓库示例 examples/aura-bottle/storyboard.json 已包含完整英文字段。

提示词模板 Prompt template

把这份中文带货 storyboard 本地化为 {美国英语},面向 {TikTok Shop US} 用户:
- 不直译,用当地常见说法和场景;保留所有卖点,不新增数据或承诺
- 每句词数 ≤ 原镜头秒数 × 2.5;字幕可用 | 分段、**加粗** 1 个关键词
- 为每个 shot 输出 line_en / sub_en(以及原本有 title/cta 的 title_en / cta_en),顶层输出 tag_en
- 品牌名保持原拼写;单位换算为当地习惯(如 oz / °F),但数值必须与原文等价
storyboard:{粘贴}

检查清单 Checklist

  • 改写而非直译;单位/习惯已本地化且数值等价
  • 每镜配音时长与画面匹配(看 build/<lang>/timing.json)
  • 字体覆盖目标语言字形
  • 母语者检查钩子、CTA、品牌读音
  • 当地平台对 AI 配音/广告标注的要求已确认

常见问题与修复 Failure fixes

问题修复
字幕显示方框安装目标语言字体并 --font 指定
某镜太长/太短删减或补充该镜 line_xx;或设 min
品牌名读错line_xx 写音译拼读,sub_xx 保留正确拼写
花字仍是中文补 title_xx / cta_xx / tag_xx

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

AI 口播配音:用免费的 edge-tts(微软 Edge 在线语音)为带货短视频逐句生成配音,自动去首尾静音、统计每句时长、缓存复用,可选音色/语速/音调,并给出口播稿改写规则。Use when the user needs a voice-over, 配音, 口播, 旁白, TTS, text-to-speech, AI 主播声音, or wants to turn a script into audio for 抖音 / TikTok / 视频号 videos.

The English summary is being prepared. Showing the original description.

xianyu110/ecommerce-video-skills97Updated Oct 5, 2026

封面与标题 A/B:为带货短视频生成多套封面(自动挑选清晰帧或用干净素材图 + 不同标题与版式)和多组标题/文案,导出 3:4 / 9:16 封面文件和对比图,并给出 A/B 测试方法与记录表。Use when the user wants a video cover, 封面, 首图, thumbnail, 标题, 文案, title variants, A/B test covers for 抖音 / 视频号 / 小红书 / TikTok, or wants to improve click-through rate.

The English summary is being prepared. Showing the original description.

xianyu110/ecommerce-video-skills97Updated Oct 5, 2026

ffmpeg 自动拼接成片:一条命令把 storyboard.json(商品图/视频片段 + 口播稿)渲染成带配音、字幕花字、转场、BGM 自动闪避、响度标准化的 9:16 MP4,纯本地运行。Use when the user wants to assemble/edit/render a product video, 自动剪辑, 一键成片, 拼接视频, 图片转视频, Ken Burns, add BGM/subtitles/voice-over with ffmpeg, or batch-produce short videos without an editor.

The English summary is being prepared. Showing the original description.

xianyu110/ecommerce-video-skills97Updated Oct 5, 2026

3 秒钩子脚本:为电商短视频写前 3 秒开场(台词 + 画面 + 花字),按痛点/反差/结果先行/提问/数字/场景代入等钩子类型一次给出多版,并做合规自检。Use when the user asks for a hook, 开头, 黄金 3 秒, 前三秒, opening line, scroll-stopper, 完播率, or wants to rewrite a weak opening for 抖音 / TikTok Shop / 视频号 / Reels.

The English summary is being prepared. Showing the original description.

xianyu110/ecommerce-video-skills97Updated Oct 5, 2026

主图转视频:把一张或几张商品主图/白底图/场景图,写成可直接喂给图生视频模型的镜头提示词(运镜、主体动作、光线、时长、负面约束),并保证商品不变形。Use when the user has product images and wants a product video, 主图视频, 图生视频, image-to-video, animate a product photo, or 让主图动起来 — with any image-to-video model (Seedance / 可灵 Kling / Veo / Runway / Hailuo / Wan …) or a local Ken Burns fallback.

The English summary is being prepared. Showing the original description.

xianyu110/ecommerce-video-skills97Updated Oct 5, 2026

直播切片:从电商直播录屏中找出高光片段(按时间戳 / 按字幕关键词 / 按停顿自动提议),批量导出 9:16 竖屏切片,自动模糊填充横屏画面、烧录标题与字幕、响度标准化,并给切片写标题与开头钩子。Use when the user has a livestream recording and wants 直播切片, 切片, highlights, clips, 高光片段, repurpose a live stream into short videos for 抖音 / 视频号 / TikTok.

The English summary is being prepared. Showing the original description.

xianyu110/ecommerce-video-skills97Updated Oct 5, 2026

See all skills by xianyu110

Report a problem with this skill