Communitygithub.com

topic-video

Turns a topic, news event, or article link into a complete set of Chinese short video materials—including voiceover, subtitles, and music in 1080p. Also generates covers for 16:9, 4:3, and 3:4 ratios (plus 9:16 for vertical videos), a set of Xiaohongshu 3:4 image-text cards, and Xiaohongshu titles and post copy. All output is saved in a project folder under `opvideo/projects/`.

What is topic-video?

This skill automates the production of high-quality Chinese short video content from a given topic, article, or news event. It delivers a complete package: a 1080p video (horizontal 16:9 or vertical 9:16, determined by content), synchronized voiceover with subtitles, background music, and a set of covers in multiple aspect ratios. Additionally, it generates Xiaohongshu (Little Red Book) image-text cards and post copy. The skill emphasizes commercial-grade quality, with strict rules for visual design, dynamic motion, sound mixing, and narrative structure to maximize viewer retention and engagement. It can also rework existing projects in the `opvideo/projects/` directory. The skill leverages a style library (Lemo-Opuscar) for visuals but avoids reusing any previous project's creative approach, ensuring each video is original and tailored to its topic. Key features include priority on MiniMax TTS for voiceovers, detailed storyboarding, and a self-evaluation rubric to ensure outputs meet professional standards.

Works with✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/DeaglePC/ai-video-workflow-skills/tree/HEAD/skills/topic-video

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What does topic-video do?

This skill specifies what to deliver, where to place it, and what standards to meet. How you produce it (which tools to use, how to handle animation and layout) is up to you, but each project must be reproducible: place production code in the project's own src/.

Do not use any skill that teaches you how to make videos (Decision: 2026-10-19): During production, do not invoke or read any skill that teaches you how to make videos, animations, designs, layouts, or charts (e.g., video production, frontend UI/design, dataviz, artifact-design skills). Do not use their methods and templates. All creativity, design, animation, and layout must be done directly by you according to this document's standards. Only tool-oriented skills that provide generation capabilities (e.g., mmx-cli for voiceover and images; music and sound effects now use lib/audio/) can be used as tools, but how and where to use them is determined by you according to this document. The normal flow where this skill is called by daily-produce is fine. The only exception: Lemo-Opuscar Style Library (Connected 2026-10-31, default for all topics). Usage and boundaries are in the "Lemo-Opuscar Style Library" section below.

Lemo-Opuscar Style Library (Connected 2026-10-31, default for all topics)

The plugin lemo-opuscar@lemolab provides 59 packaged visual styles (each with a fixed STYLE.md: visuals, color palette, fonts, motion, camera grammar, sound palette, common pitfalls) and a set of code rendering tools. The video's visual style and rendering go through this library. Deliverables, completion rate, first 3 seconds, title, music, deduplication — these hard specifications from this document remain unchanged; in case of conflict, this document takes precedence.

Setup (Run once at the start of each production, skips quickly if already installed):

S=~/.claude/plugins/cache/lemolab/lemo-opuscar/*/skills/lemo-opuscar/scripts/setup.sh
sh $S            # Pull/update the library; last line is LIB=~/lemo-opuscar
sh $S deps       # Core dependencies (npm, headless browser, .venv)

Process Mapping (You can read $LIB/AGENTS.md, DIRECTOR.md, TECHNIQUE.md from the library, and follow the table below):

Library StepHow to Do It in This Process
Choose style ($LIB/styles/README.md)Pick 2–3 candidates based on "style deduplication" and write them into the README creative plan; choose one. Do not pick any style used in the last 5 projects. If no suitable style exists, create your own; don't force it.
One round of questionsDon't ask the user (the daily process is unattended); use defaults.
TREATMENT.md (three structures + choice)Write it and place it in src/TREATMENT.md; the structure must satisfy the "Completion Rate Specs," "First 3 Seconds," and "Storyboard."
Read demo (sh $S demo <slug>)Only after the TREATMENT is written. Only study techniques (brushes, shaders, character rigging); do not copy the story, shots, props, or timeline. Before delivery, compare the poster against the demo according to DIRECTOR §11: at least four of six items must be different.
STYLE.md invariantsFollow all of them; if the font only has Latin characters, replace it with a Chinese font that matches the style's mood.
Page codeWrite it in the project's src/; use absolute paths for library files ($LIB/…); do not modify $LIB/core or $LIB/styles.
Renderingcd "$LIB" && node core/render/still.mjs "<project>/src" 1.5 3 to check sample frames; node core/render/video.mjs "<project>/src" --size 1080x1920 --out "<project>/build/video.mp4" (vertical); check text duration with core/render/readcheck.mjs.
VoiceoverPrefer MiniMax (mmx speech synthesize), see "Voiceover: Prefer MiniMax" below. Only use the library's core/tts/tts_zh.py (edge-tts) when mmx is unavailable. Use core/tts/asr_check.py or whisper to verify.
Music / Sound effectsMusic still uses lib/audio/bgm.py (this document's "Sound" spec); sound effects can use $LIB/core/audio/sfx.py.
Mix & final packagingsh core/render/mux.sh video.mp4 mix.wav out.mp4 24 2 (-14 LUFS, add grain); put the output in deliverables/.
Delivery (DIRECTOR §11)Deliverables follow "Deliverables" and "Directory Structure" in this document. Additionally, leave build.sh (one command to rebuild) and CREDITS (third-party assets and licenses) in src/.

First Trial Experience (2026-10-31: "Why the Examiner Can't Recognize Your Paper," woodcut style):

  • Vertical video must fill the screen: Most styles in the library are designed for "picture frame + paper border + margin subtitles." Moving them directly to 9:16 makes the main subject take up only the middle half; reviewers deemed the subject too small. Scale the design (e.g., 1.3x) to fill 1080×1920; change subtitles to be pressed into the lower part of the picture with a background color.
  • Style deduplication must consider "texture + color + layout," not just the style name: A woodcut paper-colored background + cinnabar stamp and an ink xuan paper + cinnabar stamp were judged as homogenized. Change to a full-screen black background + another single color to pass.
  • The library's video.mjs uses CRF 14: Styles with heavy grain can make a single file 1 GB or more, and concatenation can fail when the local disk is full. Copy it to the project's src/tools/ and change CRF to 20 (don't modify the library itself).
  • Covers and cards use ?k=<card> to get a still frame from the same page (reprocess the mask from a certain moment in the video and reprint it). If the final video's color palette changes, remember to regenerate the cards.

Red Line: No LemoLab attribution or watermark appears in the final video (grep -rniE "lemo ?lab" <project>/deliverables should be empty); account watermarks should be applied as per the avatar-watermark rule. Covers and Xiaohongshu cards use the same style's rendering code to generate images (still.mjs --size), ensuring a consistent style across video, covers, and cards.

Do not reference any previously made videos (Decision: 2026-10-07, reinforced 2026-10-19): Do not open, watch, extract frames, or reference other projects' final videos, covers, cards, code, scripts, scenes, layouts, or color palettes in projects/. Do not reuse animation patterns or shot structures from previous projects. For each project, ideate the creative concept, visual style, and shots from scratch based on the current topic, and write your own production code. The rules derived from account data analysis (duration, opening style, title style) below are hard specifications and must be followed; but the examples given are only to illustrate the rules—do not copy them. Public dependencies in the repository root (node_modules/, .venv/, brand/, lib/audio/) can be used directly. Write new code for new projects; when modifying an existing project, only modify within that project's own src/.

Quality Goal: Commercial Grade, Aiming for Awards

The goal for each video is commercial-grade quality that can be directly delivered to a brand client, and could win awards in motion design / short video competitions. "Adequate" or "clean" is not enough. If it looks like a template, a PowerPoint, or AI-generated, it must be redone. Check against the standards below before starting and before delivery:

  • Concept first, then visuals: Before starting, write a "Creative Plan" in the README: a one-sentence core visual concept (what will make this piece memorable), an overall style reference direction (described in words, e.g., "Swiss International Typography + film grain," "Isometric 3D infographic," "Newspaper collage"—not pointing to a previous project), a main color palette (3–5 colors with hex values), font pairing, and transitional language. The entire piece is unified around this concept; don't treat each scene independently.
  • Art: Clear visual hierarchy, only one visual focus per screen; strict grid and white space alignment; no more than two fonts, with clear contrast in weight and size; restrained and hierarchical color palette with texture (light and shadow, gradients, texture, grain, depth of field); no default solid color blocks or system fonts.
  • Motion Design: All movement uses easing curves (no linear); with anticipation, follow-through, and stagger; transitions are designed (shape masks, match cuts, camera push-ins, elements flowing to the next scene)—no hard cuts or generic fades; key information appears in sync with voiceover stress and music beats.
  • Cinematography: Photos and illustrations should have shot variation (wide shot → close-up), parallax layering, virtual camera movement to give the scene space and breathing room.
  • Data and Principle Visualization: Charts and diagrams should be as precise and beautiful as professional infographics, with numbers, units, and comparison references; animation unfolds logically step by step.
  • Sound: Clear and natural voiceover; music style fits the content with dynamic changes at paragraph breaks; voiceover audio automatically ducks when music plays; sound effects for key actions (transition whoosh, number roll, emphasis hit)—restrained and not noisy; overall loudness around -14 LUFS, no clipping or volume fluctuations. Use lib/audio/bgm.py (mgaudio) for music and sound effects. Usage, style selection, and segment intensity are in lib/audio/使用说明.md (Decision: 2026-10-25, replacing mmx music and handwritten numpy music): write src/bgm.json based on voiceover paragraphs, choose music style according to the creative plan, and verify the build/bgm_spec.png before delivery to confirm dynamic shifts between paragraphs.
  • Narrative: Opening hook → progressive build-up → an emotional or cognitive peak → a decisive end. Every line of voiceover and every shot must have a reason to exist; remove anything unnecessary.
  • Details: No aliasing, flickering, dropped frames, text jitter, image stretching or blurriness, misaligned elements; subtitles are easy to read with natural line breaks.
  • Self-Evaluation: Before delivery, rate the final video as a competition judge on "creativity, art, motion, sound, and narrative" from 1–10 and write it in the README. If any category is below 8, keep improving until it's above 8 before delivering.
  • Independent Review (Decision: 2026-10-25): After self-evaluation, spawn a sub-agent with a completely fresh context, using the rubric.md in the same directory as a judge. Have it watch the final video, provide scores, and give a list of changes. Modify according to the list, then re-evaluate. Maximum two rounds. The judge's score table and the handling of each modification are written in the "Independent Review" section of the README. The judge's scores are more reliable than self-evaluation; defer to the judge.

Deliverables

One topic corresponds to one project; produce all of the following. If the user only wants a part of it, just do that part; keep the directory structure unchanged.

OutputSpecifications
Video <name>.mp416:9 horizontal 1920×1080 or 9:16 vertical 1080×1920 (decided by content, see "Aspect Ratio" below), 30 fps, H.264 + AAC, loudness about -14 LUFS. Chinese voiceover (AI synthetic is fine) + burned-in subtitles + background music (music ducks during voiceover); Beat-synced version has no voiceover or subtitles, specs are below in "Format: Voiceover or Beat-Synced Version." Duration typically 60–90 seconds; for knowledge organization topics, duration is determined by what's needed to explain clearly (see "Clarity Over Duration" below); rhythm and structure follow the "Completion Rate Specs" below (must follow)
Subtitles <name>.srtNot produced for beat-synced version. Must match the burned-in subtitles in the video; each line no more than ~20 characters for horizontal, no more than ~12 characters for vertical
Covers covers/cover_16x9.png 1920×1080, cover_4x3.png 1440×1080, cover_3x4.png 1080×1440; for vertical videos, also cover_9x16.png 1080×1920. Same copy and visuals, re-laid out for each ratio (not just cropped); title must be prominent and legible even as a phone thumbnail
Xiaohongshu Cards xhs/NN_<id>.png, 1080×1440, typically 8–10 cards: cover card → content cards in story order → end card (call to comment + source and attribution). Each card conveys one point; standalone understanding possible; top title is the conclusion; body text no more than 3 lines with page numbers
Xiaohongshu Copy xhs/小红书文案.md2–3 alternative titles (each no more than 20 characters); main body: opening hook sentence, sections guided by emojis, final question to prompt comments, and source attribution; 6–10 topic tags (if the daily topic report marks the "Vibe Knowledge Award" direction: add prefix Vibe知识大赏| to the first alternative title, and include #vibe知识大赏 in the tags). Add a section ## 视频号 at the end of the file with a short title and the first sentence of the description for WeChat Video (see "Platform-Specific Titles" below)
Posting Time Suggestions 发布时间建议.mdFor each platform (Xiaohongshu video, WeChat Video, Douyin video; Xiaohongshu only posts video, not image-text, Decision: 2026-11-08), provide one specific posting time (YYYY-MM-DD HH:MM, Beijing time) and an alternative time, along with the reasoning. Algorithm is below in "Posting Time Suggestions"
Full Zip Package <name>_全套.zipZips all content in deliverables/

Avatar Watermark: Every video has a circular avatar watermark throughout. Use <opvideo>/brand/avatar.png (already cropped to a circle with a white border; the original is brand/avatar_source.webp—when changing the avatar, replace the original and regenerate). Diameter: 112 px, opacity: 90%, position by ratio:

  • 16:9 Horizontal: Lower right corner, 36 px from the right and bottom edges. The lower right is outside the subtitle area (subtitles are 160 px from the left and right edges) and won't interfere with the HUD in the top left or image captions in the top right. Ensure no other visual elements enter the 160×160 px area in the lower right.
  • 9:16 Vertical (Changed to top left on 2026-10-26, pasted to top left on 10-31, user requested change to top right on 2026-11-03): Top right corner, top-left coordinate of the avatar is (820, 120), diameter 100 px (ffmpeg scale=100:100 … overlay=820:120). Ensure the area from x 800–940 and y 100–240 has no visual elements; the top edge of large text at the top (hooks, keywords, numbers) should be no higher than y 390 to avoid overlapping with the avatar. Scene labels / HUD small text should be in the safe zone at the top left (left 140 px, top 268 px). Do not place anything in the lower right (platform's like/comment buttons) or lower left (would fight with two lines of subtitles and ground-level characters).

It is recommended to overlay the watermark using ffmpeg overlay during the final audio-video compositing, rather than modifying scene code. Covers and Xiaohongshu cards do not include the watermark.

<name> is the Chinese title with punctuation removed (e.g., "马斯克,分手了" → "马斯克分手了"). The visual style (color palette, fonts, layout) of the video, covers, and cards should be consistent.

Format: Voiceover or Beat-Synced Version (User decision on 2026-10-31, you judge flexibly)

Not every video needs a voiceover and subtitles. Like deciding the aspect ratio, decide the format before writing the voiceover:

  • Beat-Synced Version (no voiceover, no subtitles): Topics where the visuals tell the story and can win through rhythm and visual impact. Examples: demonstration of a process or change (code running, algorithm executing step by step, before/after comparison, building from 0 to 1), tool/effect showcase, order of magnitude or scale comparison, a montage of images, emotional/atmospheric topics. Criteria: Watch it on mute; if you can understand and learn from it with just a few keywords, while a voiceover would slow down the rhythm, use this version.
  • Voiceover Version (default): Topics that need to explain reasons, reasoning, or tell a story—news/people, concept explanations, counter-intuitive conclusions, knowledge topics that need step-by-step argumentation. If the audience needs to "understand a principle," use voiceover.
  • When in doubt, use voiceover. If the daily topic report specifies 形式:…, follow it; if the report says 无配音版, use that section, not this section's beat-synced version.
  • In the README and report, note which format was chosen and why.

Beat-Synced Version Specifications (Overrides the duration, speaking speed, voiceover, and subtitle-related items in the "Completion Rate Specs" below. All other hard specs remain: first 3 seconds, aspect ratio, avatar watermark, style deduplication, covers, and copy):

  • Duration: 20–60 seconds; better to be short than long. Stop as soon as the visual information is delivered; don't loop to pad the length.
  • Music First, Then Edit: First, use lib/audio/bgm.py to generate the BGM (choose a rhythmically strong style with clear sections; specify bpm in recipe_kw). Calculate beat points (each beat = 60/bpm seconds) and bars, write them in build/beats.json. Camera cuts, element appearances, number rolls, and transitions should all land on beats; important changes land on the first beat or drum accent of a bar; the chorus/climax corresponds to the most explosive visuals in the video.
  • Rhythm: Generally one change per 1–2 beats or per bar; climax sections can be as dense as every half beat. The first 0.5 seconds must show motion; frame 0 must still have a large text hook (≤14 characters).
  • Text: No subtitles, no srt file. Only keywords, numbers, and labels on the screen (≤1 text block per screen, staying for at least 2 beats and no less than 1 second); should be understandable on mute.
  • Sound Effects: Can layer hits, whooshes, clicks on beats to enhance the syncing, but must not overpower the music. Loudness still around -14 LUFS; the ending should land on a phrase end (fade out or land on the last strong beat), not cut abruptly.
  • Self-Check: Watch it with sound; confirm that the cut and beat point error is no more than ~1 frame and there's no feeling of rushing or dragging. Then watch it on mute; confirm it's understandable.

Aspect Ratio: Horizontal or Vertical

Decide the aspect ratio for each project before writing the voiceover or searching for images. The entire video uses only one aspect ratio. If the user specifies ("make it vertical" or "horizontal"), follow their instruction. If not specified, decide based on the rules below.

First, look at the "shape" of the content. Check item by item; pick the side with more hits:

Choose 9:16 VerticalChoose 16:9 Horizontal
One subject throughout: one person, one object, one body part, one actionContent that is inherently wide: maps, routes, timelines, playing fields, landscapes, architecture and building overviews, space
Listicle practical content: several suggestions, steps, pitfalls, ingredients, styling, skincare, health habitsSide-by-side comparisons: A/B comparison, before/after, mirror comparison, left-right split diagrams
Lifestyle, emotional, conversational topics primarily browsed on phone in vertical modeLots of data and charts: bar, line, curve charts, multiple numbers on screen together
Most available photos are vertical (portraits, single objects)Most available photos are horizontal (news scenes, landscapes, panoramas, venues)
Evergreen topics mainly posted on Xiaohongshu (daily-topics slot C is often this type)News events and principle explanations that need to convey "where, who, what happened" simultaneously

If tied: Choose 9:16 for Xiaohongshu-focused, lifestyle, skincare, and emotional topics; choose 16:9 for hot news, science principles, and WeChat Video-focused topics.

Once decided, write the result and a one-sentence reason at the beginning of the README (e.g., "Aspect ratio: 9:16 vertical—a skincare step-by-step list, mostly vertical image assets"). Also mention it in the report.

Layout Points for Each Ratio (all positions below are based on final pixel dimensions):

Item16:9 Horizontal (1920×1080)9:16 Vertical (1080×1920)
Safe Area40 px margin on all four sidesWhen played on full-screen phones (~9:19.5–9:20), the platform fills the height and crops about 110 px from the left and right. The top ~220 px is obscured by the status bar and back/share buttons, the bottom ~400 px is obscured by the author name, title copy, and like bar; Douyin also has a column of like/comment buttons on the right (x ~860–1080, y ~900–1520). Keep key text and subjects within x 140–940, y 230–1520 (800 px wide). Left-aligned titles, tags, and HUD should have a uniform left:140px. Photos and backgrounds should still fill 1080×1920, but don't expect the edges to be seen.
Burned-in SubtitlesBottom center, 160 px from left and right edges, font size 56–68 px, single lineBottom edge of subtitles at y≈1480, 140 px from left and right edges, font size 64–68 px, no more than ~12 characters per line, maximum two lines
CompositionLeft-right split, side-by-side comparison, horizontal timelineTop-bottom split: top for subject (photo or animation), middle for key tags, subtitles below the subject; only one subject per screen, tags arranged vertically
PhotosHorizontal photos used directly; vertical photos placed in a card frame with tags next to themVertical photos fill the screen directly; horizontal photos are enlarged and panned up/down, or placed in a card frame in the middle, don't shrink the whole horizontal photo into a strip
HUD / Image CreditsHUD in top left, credits in top rightHUD in the top left safe zone (left 140, top 268); avatar at top right 820,120 (from 2026-11-03); credits at the bottom edge of the main subject photo, not in the top or right button areas

Completion Rate Specs (Must Follow for Videos)

Short video platforms distribute based on completion rate. This section takes precedence over other style preferences. (Decision: 2026-10-07: Previous versions at 2.5–3 minutes with opening title cards and ending credit pages had low completion rates.)

ItemSpecifications
DurationTypically 60–90 seconds, only cover the 3–4 most critical points; put the rest in Xiaohongshu cards and copy. Exception: Knowledge organization topics that need to explain cause and effect (dynasty changes, character relationships, a period of history, a set of principles); duration is determined by what's needed to explain clearly, see "Clarity Over Duration" below
OpeningStart speaking within the first second. Within 3 seconds, present the most counter-intuitive conclusion, number, or question (e.g., "Leftovers are edible; the real danger is bacteria"). Do not use a title card; leave the title to the cover and platform title. If the daily report specifies "opening first sentence," use it directly as the first line of the voiceover; choose the writing style based on the topic, see "Opening Templates" below
SegmentsEach scene no longer than 8 seconds; each scene covers only one thing
Visual RhythmThe screen should change every 2–3 seconds: key points appearing one by one, number rolls, zooms, image cuts, highlights. Do not let a static image stay on screen for more than 3 seconds
Speaking Speedmmx --speed 1.15 or so (not below 1.1; when falling back to edge-tts, use rate +15 or so, not below +10). Exception for knowledge organization topics, see "Clarity Over Duration." Remove filler words like "so," "next," "let's look at" from the voiceover; keep sentences as short as possible
EndingThe video should end within 1 second after the last sentence. No credit page at the end. Do not summarize or emote at the end. End with a question to prompt comments, or a powerful statement
Attribution and SourcesPhoto credits as usual in the corner of the screen (e.g., PHOTO: Author (CC BY-SA)); source information and full attribution go into the Xiaohongshu copy, the final Xiaohongshu card, and the README; do not take separate time in the video
Visual ContentEvery scene must have an image or animation; no pure text pages (details below). Use text only for labels, numbers, and keywords, overlaid on images or animations
WeChat Video VersionDo not slow down the pace for the middle-aged and elderly: state the conclusion first, use large subtitles, keep the normal rhythm

Voiceover: Prefer MiniMax (User decision on 2026-11-17, hard spec)

User: "Prioritize using the minimax command for voiceover." Previously this was only written in the tool list, not as a rule, resulting in one sample using edge-tts.

  • Default: Use MiniMax's mmx command line (local path /opt/homebrew/bin/mmx, API key already configured, mmx auth status can verify):

    mmx speech synthesize --model speech-2.8-hd --voice "<voice ID>" --speed 1.15 \
      --language Chinese --text-normalization --format mp3 --sample-rate 44100 \
      --text "<one sentence of narration>" --out build/voice/l01.mp3 --non-interactive
    
    • Synthesize sentence by sentence (one file per sentence) for easy timeline alignment and per-sentence rework; when concatenating, leave about 0.15–0.3 seconds between sentences (for knowledge organization topics, follow the pause lengths in "Clarity Over Duration").
    • Use mmx speech voices --language chinese to check available voices; choose based on the topic; specify which voice was used in the README.
    • If subtitle timings are needed, add --subtitles; to correct mispronounced characters, use --pronunciation "original/(pinyin)".
  • Only fall back to edge-tts when mmx is unavailable (command error, quota exhausted, network failure), and write "This narration fell back to edge-tts, reason: …" in the README and report. Don't use edge-tts out of convenience.

  • Do not use mmx for music and sound effects (mmx music has been returning 410); still use lib/audio/bgm.py.

Clarity Over Duration (User decision on 2026-10-31, hard spec, overrides the 60–90 second rule in this section)

User evaluation of "A Quick Overview of the Wei, Jin, Southern and Northern Dynasties" (71 seconds): "The video was too short. Mr. Hunzi's version was 4 minutes long. Yours cut content to shorten the duration, and didn't explain things clearly. That's not good." To compress into 90 seconds, topics like why the Western Jin was chaotic, how the Five Barbarians came, and how the Southern Dynasties changed rulers were glossed over in one sentence, making it incomprehensible to viewers without background knowledge.

  • Don't cut content to compress the duration: First, list "things the audience must know to understand" (causes and effects, turning points, key figures); explain each one. Make the video as long as needed. Knowledge organization topics are typically 2–5 minutes; if it exceeds 5 minutes, split it into two parts, each covering a complete segment.
  • Criteria: Ask someone who doesn't know this topic to watch the video. If they can answer "Why did A become B?" or "What did this person do, and what was the result?", it's clear enough. If not, add content; don't try to compress the duration by speaking faster.
  • Rhythm rules remain: The first 3-second hook, a change every 2–3 seconds, and a single shot no longer than 8 seconds still apply. With a longer video, support it with more segments and shots, not by slowing down. Place a small highlight or mini-cliffhanger (a joke, a twist, a "you won't believe this") every 30–40 seconds to prevent viewers from swiping away midway.
  • Slow down the speaking speed (User on 2026-10-31: "The overall storytelling pace feels a bit fast; I can't keep up"): For knowledge organization topics, names, eras, and causal relationships are dense. Use a voiceover speed of 1.0 (mmx --speed 1.0), not the standard 1.15; leave about 0.65 seconds between sentences and about 1.6 seconds between sections to give the audience time to process the visuals.
  • End on a full-frame image, allowing time for screenshots (User decision on 2026-10-31): For topics that conclude with one diagram (whiteboard, relationship chart, timeline), after the last sentence, pull the camera to the full image and hold it for about 4–5 seconds with no subtitles, so the audience can take a screenshot. This does not violate the "end within 1 second" rule.
  • If the user provides a reference work (e.g., "refer to Mr. Hunzi's video"): First, study what the reference work covers, its length, and how it's explained. Analyze the characters it uses, the jokes and anecdotes, and how it visualizes complex relationships. Produce a video with the same level of clarity. Only learn the method; don't copy the reference work's visuals or copy.

History / Biography Topics Must Explain Character Relationships (User decision 2026-10-31, hard spec)

User: "You didn't explain character relationships… When you refer to Mr. Hunzi's video's images, you need to learn from how he does it." In Mr. Hunzi's video about the Five Dynasties and Ten Kingdoms, each regime is associated with a drawn Q-version character and name (Shi Jingtang, Guo Wei, Chai Rong, Zhao Kuangyin, Qian Liu, Li Yu), with cause-and-effect connections and stories between them (e.g., Shi Jingtang ceding the Sixteen Prefectures of Yanyun to the Khitan; the Chenqiao mutiny and the Yellow Robe; Qian Liu's descendants submitting to the Song; the origin of "Zhao Qian" at the beginning of the "Hundred Family Surnames"). Our video only had regime names and circles.

  • Associate each key regime with at least one specific character: Draw a distinguishable Q-version character (hat, beard, expression, signature prop) with the name written next to them. Characters aren't just labels; they must do something.
  • Explain the relationships between characters: Who replaced whom, who was whose subordinate or adopted son, who gave what to whom. Use arrows and actions to show this. Each character should have a memorable anecdote or joke.
  • End with a character relationship diagram: When the camera pulls back to show the full diagram at the end, the audience should see a diagram of "characters + relationships," not just a list of regime names.

Drawing While Explaining (Whiteboard / Hand-Drawn Explanation): The Whole Board Always Stays on Screen (User decision 2026-11-01)

This type of video has been separated into the hunzi-whiteboard skill (.claude/skills/hunzi-whiteboard, repository github.com/DeaglePC/hunzi-whiteboard-skill), which contains the complete methodology, analysis of Mr. Hunzi's videos, starter templates, and checklists. For whiteboard-style videos, use that skill first. This section retains only the key points.

After watching a 5-minute horizontal whiteboard version, the user said: "Your drawing board is too big and jumps around. When the video gets long, I forget what I've seen before." He asked me to refer to Mr. Hunzi. Mr. Hunzi's method: vertical video, camera mostly fixed, the entire whiteboard always stays on screen. New content grows down and to the right; everything drawn remains on screen.

  • Whiteboard = One Screen: The camera is fixed on the current board; don't pan around on a large board. If there's too much content, split it into several boards; once a board is full, switch to the next. Before switching, pause for 2–3 seconds without subtitles so the audience can take a screenshot. At the end, display all boards side by side.
  • Characters Large, Few in Number: Each board has about 10–12 characters, arranged in a 3 row × 4 column grid. Leave a strip of space between rows for relationship labels and speech bubbles; each cell contains only one thing.
  • A Timeline at the Top (e.g., Three Kingdoms → Western Jin → Eastern Jin·Sixteen Kingdoms → Southern and Northern Dynasties → Sui). The current stage being discussed is marked with a red circle, so the audience always knows where they are.
  • Don't Erase Things Overlaid on Characters: Draw "unification" as a large frame around the edge of the board; draw "disintegration" as red cracks on the frame. Don't erase a large circle over a character's face, which would erase the face too.
  • Vertical Safe Area: Content is placed within y 360–1350. Subtitles should be one line (≤12 characters) with the center of the subtitle bar around y 1675 and bottom edge around y 1727 (position specified by the user on 2026-11-01, lower than the general rule's y 1480 to free up whiteboard space).
  • Drawing tasks are queued by start time: only one pen is drawing at any given moment.
  • Opening: State clearly what this episode covers (User 2026-11-01: The original opening "Only combined once in 370 years?" was "too abstract; didn't keep the audience." Learn from Mr. Hunzi's phrasing): The first sentence is a promise, e.g., "In one breath, clarify the Wei, Jin, Southern and Northern Dynasties, and the Sixteen Kingdoms!" At frame 0, the board already has the dynasty timeline (current paragraph circled in red) and a large title. Within 1–2 seconds, draw a specific group or scene live (e.g., Five Barbarians fighting). Don't use metaphors that require the audience to understand first (e.g., group chats, group owners) as an opening; save those for the main content.

Opening Templates (Determined from account data on 2026-10-11)

According to the account post-analysis (reports/2026-10-11_数据复盘/), videos with completion rates over 20% all used an opening that immediately presented a conflict or answer. Slow-buildup health topics had completion rates around 3%. Choose a writing style based on the topic:

TopicOpening StyleExample (Tested)
Biography / Historical StoryContrast sentence: "He…, yet…""The man who invented dynamite, yet established the Nobel Peace Prize" (WeChat Video completion rate 59.7%)
News Hot TopicPresent a contradiction or question, then say "Actually…""The same earthquake, one reported magnitude 8.0, another reported 7.2—who made the mistake?"
Health / DebunkingPain point scene + conclusion, said in one sentence"Leftovers are edible; the real danger is bacteria" (Xiaohongshu click-through rate 42.8%); don't use slow buildup like "When the temperature drops, … is it …?" ("Autumn blood pressure" completion rate 3.17%)
Emotional / PsychologicalHit on a specific behavior, immediately name and explain it"You're so tired but still scroll through your phone until 2 AM? That's called revenge bedtime procrastination, and the reason is…"
Puzzle / PrincipleGive the counter-intuitive answer first"21 stones, the first player always wins no matter what"

After the opening, the first key point must appear before the 8th second; don't add background introduction after the opening.

News / Biography Topics Must Have On-Site Photos (User decision 2026-10-25, hard spec)

User evaluation of the 10-25 Messi award video: "Not a single on-site photo, zero points." Only CC-licensed old photos were used; the entire award ceremony was illustrated with self-drawn diagrams.

  • When covering a specific event (award ceremony, game, press conference, accident scene), must use real photos from the event itself. The first shot of the video must be the on-site photo. The video must have at least 3 on-site photos in total.
  • User authorized on 2026-10-25: When no CC-licensed on-site photos are available, you may use official photos (from the foundation, royal family, club, company website/official account) and photos from news media reports. Prioritize official sources. Note the source in the corner of the screen (e.g., "Source: FC Barcelona website" or "Source: Getty Images (via HOLA!)"). Record the source page in assets/photos/news/credits.json. At the end of the Xiaohongshu copy, write "Images from xxx, will remove upon request."
  • How to find images: First check Commons and Flickr (CC). If none, open authoritative news pages, fetch og:image and large images in the main text (use curl to parse HTML, which is faster than a browser). After downloading, create a thumbnail sheet and review each image, deleting irrelevant ones and images from other occasions.
  • Do NOT use: Screenshots of broadcast video, screenshots from other creators' videos, images with obvious watermarks.
  • Self-drawn diagrams can only be supplementary (timelines, numbers, maps); they cannot replace on-site photos.

First 3 Seconds Retention (User requirement 2026-10-25, hard spec, overrides other rules in this section)

User: "The video must focus on the first 3-second retention. You must hook the viewer within 3 seconds." From 10-21 to 10-24, the Douyin 2-second bounce rate was 47–67%; the average viewing time on Xiaohongshu was as low as 3 seconds. Reviewing frames at 0.3 / 1.5 / 2.8 seconds (reports/2026-10-25_选题反思/), the old rule "present the conclusion within 3 seconds" was written but not effectively implemented. Four reasons:

  1. The visuals were unclear on a phone screen: The first frame was dense text, small black-background text terminals, or English web pages. The subject occupied only a small central area, with the bottom 40% empty.
  2. The hook was broken up by subtitles: Subtitles appeared in half-sentences (e.g., "On the same day" -> "several countries'" -> "government websites all got shut down"). In the first 1.5 seconds, the viewer only saw "On the same day" — three characters that conveyed nothing.
  3. The first sentence was too long, with the emphasis at the end: "This domestic AI writes code only 0.7 points worse than Claude, but before its release, it first cut off its own hacker skills" took over 5 seconds, with the twist at the very end.
  4. No large text on the first frame: The large text hook only appeared at 2.8 seconds, or the entire opening lacked large text until a placeholder element.

Mandatory Rule:

  • Frame 0 must have a large text hook (the sentence you say at the start, but in large text on the screen: the conclusion, the number, the keyword—the most impactful info, no more than 14 characters, arranged centrally). Must be understandable in one glance; font size no less than ~70 px (in 16:9, around 3–4 characters per line, 2 lines max; 9:16 vertical, 1 line).
  • The character or image appearing from frame 0 must be recognizable at phone screen size: one person's face, one object, one scene—avoid dense information with small font.
  • The first sentence of the voiceover must be short and punchy: subject + predicate, hook in the first 3–5 words, not needing the end of the sentence to make sense. For example, "You can't eat this thing" is complete in 3 words; the rest is extra info.
  • Do not split the first sentence's subtitles: the first subtitle must at least include the entire main clause, at least 1.5 seconds to read.
  • Within the first 1.5 seconds, the screen must have a clear change (element flies in, highlight, picture cut, animation), not just a static image with a voiceover.

Topics with Standing Phone Frames (User requirement 2026-11-14)

User: "Better to add a frame with a phone in hand, simulating the scenario," referring to topics like "You can't look directly at a welding arc—a photo comparison" or "Small eyes vs. big eyes, which is sexier?" For topics where the content itself is "a typical scenario for holding a phone and reading something" (comparison charts, lists, step-by-step guides, checklists):

  • Add a phone frame as the main visual at the beginning or for the main content card: A phone screenshot or a phone image (the user's phone frame, from brand resources). The phone occupies 60–70% of the screen, demonstrating "this is what you see when you pull up your phone."
  • Keep the static phone frame for at least 1.5–2 seconds so the audience has time to recognize the scenario.
  • When to use: Topics like "Your chat history taught by AI," "Your credit report, explained," "Your phone's sensor settings"—basically, any topic where the content is exactly what you see on a phone screen.

Multi-Part Learning Series with a Consistent Title Number (User requirement 2026-11-03)

For multi-part learning series (part 1, part 2, etc.):

  • Each part must have a persistent title number in the top left corner of the video, throughout the entire video (or at least during the main content phase), so the audience knows the order by a glance. Style: a small rectangle with a number, e.g., [1/3] or 01.
  • The opening must hook within 3 seconds and also clearly state "this is part X": For example, "The Tang Dynasty's Chang'an was the world's largest city at the time. But how did it go from a wasteland to a metropolis? This is Part 1: Its Rise."
  • The ending transitions to the next part: Last sentence: "What happened next? In Part 2, we'll talk about how they ran out of food." The cover can also include a "Part X" indicator.
  • Each part must be complete on its own: the audience can understand it without watching the previous parts (briefly mention key context at the beginning, within 10 seconds). Don't assume the audience has watched the previous parts.

Platform-Specific Titles

Xiaohongshu and WeChat Video have different user bases and algorithm preferences. Use a single video (no re-edits for platforms), but optimize the title and first line of description for each platform.

  • Xiaohongshu Title: Knowledge-heavy, conclusion-oriented; wrap it in a way that makes the user feel "I can understand this after reading it." Use show-stopping numbers, contrasts, and questions. If the daily topic report specifies "Vibe Knowledge Award" direction, the first title must have the prefix Vibe知识大赏|. The first paragraph of the Xiaohongshu copy must present the core conclusion in one sentence, with emoji bullet points for the main content.
  • WeChat Video Title: Shorter and punchy (since it shows at the top of the video page); first line of the description is a direct question or statement of the core point. The description body is the same as the main text of the Xiaohongshu copy, but it slides to the left to align with the platform's GUI (no leading spaces).
  • Douyin Title: Even shorter, no more than 15 characters, only the core conclusion or emotion; no punctuation, no emojis.

Write separately in the README: the Xiaohongshu version and the WeChat Video version (title + first sentence of the description). Xiaohongshu copy file can include both.

Posting Time Suggestions

Algorithm (based on account post-analysis reports/2026-10-09_发布频率复盘/ and reports/2026-10-11_数据复盘/):

  • Xiaohongshu: Best times are 7:30–8:30 AM, 12:00–13:30 PM, 19:00–21:00 PM (Beijing time). Choose when the target audience is active. For example, workplace/tech knowledge is posted around lunchtime or after work; skincare/health is posted in the morning or evening. Provide one primary time and one alternative.
  • WeChat Video: Best times are 8:00–9:00 AM, 12:00–13:00 PM, 20:00–22:00 PM. WeChat Video's algorithm slightly prefers morning and evening commuting.
  • Douyin: Best times are 12:00–13:00 PM, 19:00–21:00 PM, 21:00–23:00 PM. The evening slot is the peak.
  • General rule: Post to one platform at a time, with at least 2 hours between platforms (e.g., Xiaohongshu at 12:00, WeChat Video at 20:00). The reasoning should reference the previous post's topic and the user's posting rhythm.

Red Lines (Must Not)

  • No title card (a scene with only the video title at the beginning, without an image or animation underneath) (Decision: 2026-10-07). The cover serves as the title card.
  • No ending credit page (a scene at the end with only "thank you for watching" or an account logo/QR code) (Decision: 2026-10-07). Attribution goes in the corner of the screen or in the Xiaohongshu copy.
  • No full-screen pure text throughout the video: each scene must have an image or animation. Pure text pages are only allowed in Xiaohongshu cards (the cards are designed to be pure text + images). If there's no image for a certain point, draw an icon, find an abstract illustration, or animate the text to make it dynamic.
  • No jitter/glitch transitions: Do not zoom in/out on a single image with a jitter effect to fake movement. Real camera movement (panning, parallax, 2.5D layering) must be used.
  • No generative AI images: Do not put videos created entirely from generative AI images (e.g., "character doing action" generated by Midjourney) in the video. Only use generated images for icons, texture materials, and background patterns (Decision: 2026-10-16).
  • No music looping to fill time: If the video is 3 minutes long, the music must also be 3 minutes with dynamic changes; don't loop a 60-second piece three times.
  • No Liangyou Luma (both bright and smooth) YouTube-style packaging: No motion graphics of "light particles flying around," "beams of light scanning the image," "lens flares," "circles rotating and shrinking"—these are outdated (from accounts reports/2026-10-11_数据复盘/).
  • No "let's see the next one" or other future-previewing voiceover in the middle (2026-11-04 from topic feedback).
  • Don't say "let's look at another example" in the middle of the video (same reason).
  • No discussion of system prompts, skill names, or AI limitations (2026-11-14 user requirement): Do not mention the word "skill" in the video or copy. Do not mention "because the AI's limit" or "because there's no appropriate tool." Just focus on the content.

Directory Structure

Each project's directory is under opvideo/projects/<name>/. All deliverables must be placed in the deliverables/ folder. Copy the source files, rendering scripts, and materials into the project folder.

<name>/
├── README.md                  # Creative plan, aspect ratio, format choice, self-evaluation scores, and independent review results
├── src/                       # Production code (HTML/CSS/JS, Canvas, FFmpeg commands, rendering scripts)
│   ├── TREATMENT.md           # Storyboard, shot list, voiceover script, timing
│   ├── bgm.json               # BGM paragraph configuration (for lib/audio/bgm.py)
│   └── tools/                 # (Optional) Modified library tools (e.g., video.mjs with CRF 20)
├── assets/
│   ├── photos/                # Photos used in the video, organized into subdirectories (news/, cc/, etc.)
│   │   └── news/
│   │       └── credits.json   # Source page records for news photos
│   ├── fonts/                 # Font files used in production
│   └── audio/                 # (Reserved) Original audio clips
├── build/                     # Intermediate files, sample frames, BGM spec (can be deleted after production is complete)
│   ├── voice/                 # Voiceover audio files (one file per sentence)
│   ├── beats.json             # Beat points (for beat-synced version)
│   └── bgm_spec.png           # BGM dynamic curve, confirm it has ups and downs before delivery
├── deliverables/              # Final deliverables
│   ├── <name>.mp4             # Video file
│   ├── <name>.srt             # Subtitle file (only for voiceover version)
│   ├── covers/
│   ├── xhs/
│   │   └── 小红书文案.md
│   ├── 发布时间建议.md
│   └── <name>_全套.zip         # Full package
├── build.sh                   # One command to rebuild all deliverables (from src/ + assets/)
└── CREDITS                    # All third-party assets used (images, fonts, music, sound effects, voiceover, library) and their licenses/sources

Project Type Quick Reference

Refer to this reference to quickly decide the production direction for each type of topic. This is only for the initial plan; the specific quality standards still follow the main content of this document.

Topic TypeOpening StrategyVisual EmphasisFormat RecommendationKey Points
Biography / HistoricalContrast sentence, character relationship diagram, relevant on-site photoCharacter portrait (Q-version or realistic), relationship map, timeline, character vs. background contrastVoiceoverMust include at least one on-site photo for specific events; explain cause and effect clearly
News Hot TopicQuestion/phenomenon + revealing the behind-the-scenes truthOn-site photo, comparison chart, information hierarchyVoiceoverMust have 3+ on-site photos; prioritize authoritative source photos
Health/DebunkingPain point + one-sentence conclusionData comparison, before/after status, phone frameVoiceoverAvoid slow buildup; present conclusion at the beginning
Emotional/PsychologicalHit a behavior + name/causeText + scene illustration, contrasting colorsVoiceoverUse large font, less text, more imagery
Puzzle/PrincipleGive counter-intuitive answer + explain the reasonStep-by-step diagram, algorithmic animation, data flowVoiceover or beat-syncedUse beat-synced version for step-by-step explanation or tool demo
Product/ToolProblem display + effect displayInterface screenshot, comparison usage, before/after effectBeat-syncedVisual first; show results directly
Knowledge OrganizationOne-sentence promise, time diagram at the topWhiteboard style, character relationship diagram, large timelineVoiceoverUse hunzi-whiteboard skill; explain clearly over meeting the time limit
List/SkillsetTotal number + representative benefitsPhone frame, list of points, icon matchingVoiceoverEach point is concise; cards cover details
A/B ComparisonDiscrepancy + both vs. youSide-by-side comparison, long table, before/after effect, high contrastBeat-synced (if visuals are strong enough)Show differences intuitively; keep text minimal

Voiceover Script + Storyboard (Example)

Although the production code is written in the project's src/, a clear storyboard must be written before starting to code. The following is an example format. Write it in src/TREATMENT.md:

# TREATMENT: [Topic Name]

## Structure Selection
- Option A: [description]
- Option B: [description]
- Chosen: Option A – reason: …

## Format: [Voiceover / Beat-synced]
Reason: …

## Aspect Ratio: [16:9 / 9:16]
Reason: …

## Storyboard

| Time | Voiceover | Visual Elements | Music / Sound Effects | Transition |
|---|---|---|---|---|
| 0–3s | "Do you know why the Chinese women's volleyball team had to play 8 games in 12 days? Because the level of the group is too balanced!" | Frame 0: large text "They need 8 games!" with volleyball court background. 0.5s: enter Chinese women's volleyball team attacking photo. 1.5s: highlight text "8 games in 12 days". Transition to tournament points table. | BGM intro with strong percussion; when the photo enters, a whoosh sound. | Match cut: the volleyball in the photo transitions to the points table. |
| 3–7s | "In the Paris Olympics women's volleyball group stage, there are 12 teams split into 3 groups. 8 advance…" | Paris Olympics logo enters, group table, world ranking numbers, highlight the top 2 from each group. | Steady beat; when numbers appear, a light click sound. | Push-in: from the full points table to the Chinese team's group and rank. |
| … | … | … | … | … |

Additional Notes

The Role of Covers and Cards

The cover must attract clicks; Xiaohongshu cards must keep the reader scrolling and make them want to like and save. The cover and cards use the same visual style as the video (rendered by the library's still renders) to ensure brand consistency. The cover title's font must match the video's main title style (same family, different weight as needed). Each Xiaohongshu card must stand on its own—even if the reader only sees one card, they should understand the conclusion of that card and why they should care. The cover card has a large title, a one-sentence hook; the end card shows the source and call to action.

Source Attribution

  • CC-licensed photos: include the author name and license abbreviation (e.g., PHOTO: John Smith (CC BY-SA 4.0)).
  • News media screenshots: include the source media name (e.g., Source: Reuters).
  • Official photos (from the club/company website): include the organization name (e.g., Source: FC Barcelona).
  • Fonts: if they are not the system fonts included in the library, specify the license in CREDITS.
  • Music effect library: if using lib/audio/bgm.py, the library itself handles attribution; if additional sound effects are used manually, note the source.

Self-Evaluation and Independent Review

After production is complete, before delivery, self-evaluate on creativity, art, motion, sound, and narrative. Then spawn an independent judge sub-agent. Write the results in the README. The independent judge's score takes precedence; if comment scores in actual release fall below a threshold, incorporate user feedback for improvement in the next project.


This document was last updated on 2026-11-17. All records of user decisions are retained for traceability.

Related Skills