luma-subtitle
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseLuma Subtitle
Luma 字幕
Use this skill when an agent needs to add subtitles to a video or generate styled subtitle assets from text.
Read first for common output and artifact rules.
../luma-shared/SKILL.md当Agent需要为视频添加字幕或从文本生成带样式的字幕资源时,使用此Skill。
请先阅读了解通用输出和工件规则。
../luma-shared/SKILL.mdDecision Rules
决策规则
- If the input is a video, use directly for the current integrated pipeline.
subtitle.render - If the agent needs to inspect or rewrite transcript text first, call before subtitle generation.
asr.transcribe - If the input is already text, use to generate ASS timing estimates.
luma-cli subtitle --text "<text>" - Keep wording, tone, and subtitle rhythm decisions in the skill/agent layer, not hidden in CLI defaults.
- 如果输入是视频,直接使用进行当前集成流水线处理。
subtitle.render - 如果Agent需要先检查或改写转录文本,请在生成字幕前调用。
asr.transcribe - 如果输入已是文本,使用生成ASS时间轴预估。
luma-cli subtitle --text "<text>" - 将措辞、语气和字幕节奏的决策保留在Skill/Agent层,而非隐藏在CLI默认设置中。
Commands
命令
bash
luma-cli subtitle input.mp4 --project demo
luma-cli subtitle input.mp4 --max-chars 12 --font-size 56
luma-cli subtitle --text "raw script text" --no-effectsbash
luma-cli subtitle input.mp4 --project demo
luma-cli subtitle input.mp4 --max-chars 12 --font-size 56
luma-cli subtitle --text "raw script text" --no-effectsPractical Guidance
实用指南
- Use shorter segments for sales, live-commerce, and high-energy narration.
- Disable effects for formal or compliance-sensitive content.
- Prefer when the video is part of a multi-step production, so ASS, effects, and final outputs are organized.
--project - If ASR accuracy matters, run first and inspect the transcript before rendering.
luma-cli asr <file>
- 对于销售、直播带货和高能量旁白内容,使用更短的分段。
- 对于正式或合规敏感内容,禁用特效。
- 当视频属于多步骤制作流程的一部分时,优先使用参数,以便ASS文件、特效和最终输出得到有序管理。
--project - 如果ASR准确率很重要,请先运行并检查转录文本后再进行渲染。
luma-cli asr <file>
Expected Outputs
预期输出
- Burned subtitle video when input is a video.
- subtitle file in text mode.
.ass - Project history entry when a project is active.
- 输入为视频时,输出带有烧录字幕的视频。
- 文本模式下,输出字幕文件。
.ass - 当项目处于激活状态时,生成项目历史记录条目。