localize-campaign
Localize a whole video campaign into several languages and markets with sync. labs (sync.so). Plans the video × language matrix, maps markets to languages, pilots one video so names and terms are right before spending on the rest, dubs and lip-syncs every version, and delivers consistently named files plus a review sheet per market. Use for several source videos across languages or markets, such as "make these ads in Spanish, German and Japanese", launching a campaign or a course in new markets, international or multi-market rollouts. Not for one video into a few languages (translate-and-dub), new speech in the same language (lipsync, batch-lipsync), or subtitles only.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 1.6k
- Forks
- 491
01 前言 Front Matter
- name
- localize-campaign
- license
- MIT
- description
- Localize a whole video campaign into several languages and markets with sync. labs (sync.so). Plans the video × language matrix, maps markets to languages, pilots one video so names and terms are right before spending on the rest, dubs and lip-syncs every version, and delivers consistently named files plus a review sheet per market. Use for several source videos across languages or markets, such as "make these ads in Spanish, German and Japanese", launching a campaign or a course in new markets, international or multi-market rollouts. Not for one video into a few languages (translate-and-dub), new speech in the same language (lipsync, batch-lipsync), or subtitles only.
- compatibility
- Needs the sync. MCP server or a SYNC_API_KEY. See references/connect.md.
02 资源文件 4
- 参考文档agents/openai.yaml218 B
- 参考文档references/api.md4.1 KB
- 参考文档references/connect.md3.3 KB
- 参考文档references/media-input.md3.8 KB
03 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
<campaign>_<video>_<lang>.mp4, 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<campaign>-<video>-<lang>, 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
./<campaign>/<lang>/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.
04 同仓库更多 Skills
worktable-review-with-annotations
Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.
worktable-find-and-synthesize-context
Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.
worktable-create-or-update-docs
Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.
worktable-create-or-manage-records
Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.
worktable-create-or-manage-interactive-html
Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.
worktable-collaborate-threads
Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.