一键导入
caption-alignment
Align text to audio timestamps using Qwen3-ForcedAligner (~30ms precision)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Align text to audio timestamps using Qwen3-ForcedAligner (~30ms precision)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Full pipeline from manga panels to animated video. Two audio modes: dialogue (Qwen3-TTS + karaoke captions) or music (ElevenLabs + rolling lyrics).
Burn karaoke captions into video using FFmpeg ASS subtitles (~20s for 16s video)
Generate multi-panel manga from character reference and story beats
Generates original background music using Google's Music Generation API. Creates soundtracks matched to scene mood and timing.
Concatenates video clips and optionally adds background music using FFmpeg.
Generates anime character images from photo analysis using Nano Banana Pro (gemini-3-pro-image-preview). Creates character sheets with full body and portrait views at 2K resolution.
| name | Caption Alignment |
| description | Align text to audio timestamps using Qwen3-ForcedAligner (~30ms precision) |
| triggers | ["Karaoke captions","Word-level timestamps","Subtitle synchronization"] |
Align text to audio timestamps for karaoke-style rolling captions.
from skills.align_captions import CaptionAligner
aligner = CaptionAligner()
# Single audio file
captions = await aligner.align_audio(
audio_path=Path("speech.wav"),
text="Hello world!",
language="English",
)
# Returns list of AlignedCaption with word-level timing
# Multi-file dialogue
captions = await aligner.align_dialogue_lines(
audio_paths=[Path("line1.wav"), Path("line2.wav")],
texts=["Hello!", "Hi there!"],
)
@dataclass
class WordSegment:
text: str
start_ms: int
end_ms: int
@dataclass
class AlignedCaption:
text: str # Phrase text
start_ms: int # Phrase start
end_ms: int # Phrase end
words: list[WordSegment] # Word-level timing for karaoke
pip install qwen-asr jieba torch