localize-campaign Skill
使用 sync. labs(sync.so)将整个视频营销活动本地化为多种语言和市场。规划视频×语言矩阵,将市场映射到语言,先试点一个视频确保名称和术语准确后再投入其余,对每个版本配音并做口型同步,最终交付命名一致的文件和每个市场的审核清单。适用于跨语言或市场的多个源视频,例如"用西班牙语、德语和日语制作这些广告"、在新市场发布营销活动或课程、国际化或多市场推广。不适用于单个视频翻译成几种语言(translate-and-dub)。
安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。
技能指令原文(SKILL.md)
Localize a campaign
sync. labs | Campaign localization guide
Delivers every video in every target language as a dubbed, lip-synced MP4 with a predictable name, plus a sheet the regional teams can review from.
If no sync. tools are available, follow references/connect.md first. Without the MCP tools, each version is one POST /v2/generate with dubParams, as in references/api.md.
1. Plan the matrix
- Videos. List each source video with its name, length and where it comes from (a file, URL or social link).
- Markets to languages. Turn markets into languages and confirm them with the user. Germany, Austria and Switzerland are all German; Brazil is Portuguese; most of LATAM is Spanish. Call
dubbing_get-optionsand check that every language is supported, naming the closest option for any that isn't. Don't guess regional variants the options don't list. - The matrix. Show it as a table: one row per video, one column per language, and the total number of versions.
- Files. Agree a naming pattern up front, by default
_, for examplespring24_hero-30s_de.mp4.
2. Check what dubbing won't change
Before spending anything, tell the user what stays the same, so nobody is surprised in review:
- Text on screen, burned-in captions, logos and end cards stay in the source language.
- Music and sound effects carry over. Very loud music under the voice can lower the dub's quality.
- Brand names, product names and slogans can be translated or mispronounced. Ask which must stay untranslated.
- The lips can only be matched where a speaker is on screen. Voiceover-only shots still get the dubbed audio.
3. Quote, then pilot
- Project and inputs. Call
projects_createonce for the campaign, with a new UUIDid, the campaign name anddefaultWorkflow: "translate_and_dub". Save the returnedidasprojectId. Pass it wherever a tool asks forprojectId, and addprojectIntent: "explicit"only on tools that take that field. Save each source video into it once, as in references/media-input.md. - Quote. Call
generations_estimate-costwithworkflow: "translate-and-dub",model: "sync-3"and each video's length asduration. Multiply by the number of languages, and show the per-video, per-language and total cost, using the returned breakdown. If it reports external provider charges as excluded, say they're extra. Wait for approval of the total. - Pilot. Run one version first, usually the most important video in the most important language. Use
dubbing_createwithvideoAssetId,targetLang,sourceLang: "auto",model: "sync-3", theprojectIdwithprojectIntent: "explicit", and a newidempotencyKey. Wait for it withgenerations_getandwait: true. Ask the user, or a speaker of that language, to check names, terms and tone. Fix anything you can before the rest.
4. Run the rest
- Give every version its own
idempotencyKey, written into the matrix before any call, such as-, and reuse it on every retry. Track each version's generationidand status in the matrix as you go, so an interrupted run resumes instead of paying twice. - With
jobs_create-manylisted (any paid plan). The approved total already covers them, so start the remaining versions together without asking again: one item per version, each exactly thedubbing_createarguments the pilot used (videoAssetId,targetLang,sourceLang,model, theprojectIdwithprojectIntent: "explicit") plus that version'sidempotencyKey. Save a new UUID for the set in the matrix, then calljobs_create-manywithtool: "dubbing_create", that UUID asidempotencyKeyand the items, at most 50 per call. Record each started version'sid, then follow them withjobs_get-manyandwait: true, calling again while some are still running. When the response hasremaining, send it again exactly as returned once running versions finish; if the tool refuses a single remaining item, send that version withdubbing_createand the same key. A failed item with a 5xx or no status may still have started, so send it again with the same keys; fix any other failed version first. - Without it, read
generationLimits.concurrencyfromaccount_get-contextand keep that manydubbing_createcalls in flight at most. Onconcurrency_limit_reached, waiterror.retryAfterMsmilliseconds and retry the identical request with the same key. - If one version fails, record why and carry on with the others.
5. Deliver
- Give a results table: video, language, status, and the exact
outputMediaUrl. - In a coding agent, download each file into
.///using the agreed names. - Write
review.csvwith one row per version: file, language, the market it's for, status, and emptyapprovedandnotescolumns for the regional reviewers. - Offer to redo only the versions reviewers reject. Never resubmit a version just to check progress.