All / Repurpose and subtitles

Douyin Repurpose Pipeline

One command chains download, local transcription and an optional trilingual subtitle burn. Without cues it writes placeholders for you to complete.

What to say

Repurpose this Douyin video into a subtitled version: <url>.

How it works

  1. uv run scripts/repurpose_douyin.py <url>
  2. Fill pending_cues.json (pinyin, English)
  3. Re-run with --cues

Example input (examples/repurpose.json)

{
  "source": "https://www.douyin.com/video/7341234567890123456",
  "model": "small",
  "language": "auto",
  "translate": "none",
  "cues": [
    {
      "start": "00:00.000",
      "end": "00:02.500",
      "chinese": "你好,欢迎回来。",
      "pinyin": "nǐ hǎo, huānyíng huílái",
      "english": "Hello, welcome back."
    }
  ]
}

At a glance

Best for
  • Turning a short clip into a learner video
You give
  • A Douyin URL
You get
raw.mp4, transcripts, subtitled.mp4
Time
Minutes
Cost
Free

Good to know

  • No machine translation is used; the agent writes the English

Examples (real results, first 24 seconds)

No sample render of this one is checked in yet. Ask for it and the first result becomes the example.

Related