Native Subtitle Quote Image

Turns a video into tall quote images: one main frame with subtitle strips stacked below, keeping the original subtitles or drawing lines you approve.

AI Images & Photosquote imagessubtitlesvideo framessocial mediaby chengyi-ai2.9kGitHub

What it is

Native Subtitle Quote Image makes the popular social-media format where one still from a video sits on top and several subtitle strips are stacked beneath it, telling one quote or idea in sequence. It suits creators who share moments from dramas, interviews, talks and podcasts, and its instructions are written in Chinese. It works from a local video or an online video you have the right to use, such as a YouTube link, and outputs JPG images in 3:4 or in the video's own proportions.

Its defining rule is two separate modes that are never mixed. Native mode crops the subtitles already burned into the picture, pixel for pixel, with no text recognition, retyping or translation. Script mode draws lines you have checked, such as a Chinese translation, onto real frames and labels them as added subtitles. It asks which mode you want and never switches silently. For interviews and podcasts it identifies who is speaking first, so one person's words are not shown over another person's face.

A bundled Python script samples candidate frames, previews the subtitle area, renders each card and builds an overview sheet. By default each image uses five moments from the video, and at most seven. The agent picks the frames and opens every image at full size to check it. You are responsible for choosing and verifying the quotes and for having rights to the video, and it stops rather than bypass paywalls or copy protection. Low-resolution sources stay soft even at larger output sizes.

What it can do

  • Crops burned-in subtitles straight from video frames and stacks them under a main image, without redrawing any text.
  • Draws reviewed lines or translations onto real frames in script mode, with optional speaker names and a highlighted key line.
  • Downloads YouTube videos and subtitle tracks with yt-dlp, picking the best quality and checking the file before use.
  • Outputs 3:4 cards or keeps the original landscape framing, with options for crop position, thin gaps and a divider line.
  • Renders batches from a list of time points, with an overview sheet and the ability to resume after failures.
  • Handles Chinese, Japanese and Korean text in script mode, using fonts found on macOS, Windows or Linux.
  • Offers a fixed six-line card layout in script mode, at 1080 by 1440 pixels.

When to use it

  • You watched a drama clip with burned-in bilingual subtitles and want a 3:4 image of the key exchange for your feed.
  • You want to share five lines from a long English YouTube interview as a quote card in Chinese, clearly marked as added subtitles.
  • Your podcast has two hosts and you need quote images where every line is shown with the right speaker.
  • You are writing a post about a talk and want several matching quote images to illustrate it.

How it works

  1. 1Asks whether you want native or script subtitles, checks once for a newer version and runs an environment check.
  2. 2For a link, downloads the video and subtitle track with yt-dlp; for any video, looks at real frames to see whether subtitles are burned in.
  3. 3Samples frames around likely moments to find stable frames with complete subtitles and a well-framed speaker.
  4. 4Writes the chosen time points, and in script mode your approved lines, to a small file and renders the images with its Python script.
  5. 5Opens every image at full size to check subtitles, speaker, cropping and readability, adjusts what is off, and delivers the files with the overview sheet.

Try asking

“Make a native subtitle quote image from this video with burned-in Chinese subtitles, and don't redraw the text.”
“Turn this YouTube interview into two 3:4 quote cards in script mode, using my translated lines.”
“Create a subtitle collage from this clip between 1:02 and 1:30 and keep the original subtitles.”
“Make a six-line script subtitle card from this podcast and label the host and the guest.”

How to install

Install with the skills CLI (recommended)

Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.

npm
npx skills add https://github.com/chengyi-ai/native-subtitle-quote-image/tree/main/skills/native-subtitle-quote-image
pnpm
pnpm dlx skills add https://github.com/chengyi-ai/native-subtitle-quote-image/tree/main/skills/native-subtitle-quote-image

Install manually

Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the native-subtitle-quote-image folder and upload it in the Skills section of Settings.

Terminal
git clone --depth 1 https://github.com/chengyi-ai/native-subtitle-quote-image.git
mkdir -p ~/.claude/skills
cp -r native-subtitle-quote-image/skills/native-subtitle-quote-image ~/.claude/skills/native-subtitle-quote-image

Then just ask in plain language, for example: “Make a native subtitle quote image from this video with burned-in Chinese subtitles, and don't redraw the text.”