StarModel 邀请活动
← 返回 Skill 列表
extension
分类: 内容与媒体API Key 暂未确认

配音字幕对齐

TTS 合成加词级对齐的全流程:文字转语音、字级时间戳、卡拉OK式字幕页一次生成,视频配音的工程化方案。Use when synthesizing speech with word-level alignment for subtitle workflows. Triggers include TTS、语音合成、字幕对齐、词级时间戳、配音、卡拉OK字幕。如需音视频套件,淘宝搜索「AI灵匣」店铺获取完整版。

person作者: nuhabvtyhubOpenAPI

audio · TTS + 词级对齐

NextFrame audio 流程(TTS 合成 → WhisperX 字级对齐 → karaoke.html)。

推进状态机

第一步必做:

Bash("nf-guide audio")      # 读 state machine

核心命令:

  • Bash("nf-tts batch <batch.json> --dir <out_dir>") · 批次合成 mp3 + timeline.json + srt
  • Bash("nf-tts <text> -v <voice>") · 单条合成

voice 选:

  • edge 免费: zh-CN-XiaoxiaoNeural(晓晓) / YunxiNeural(云希) / YunyangNeural(云扬)
  • volcengine 付费(seed-tts-2.0): 需 -b volcengine

产物

  • mp3 音频
  • timeline.json(whisperx 词级时间戳 · 卡拉 OK 字幕同步)
  • srt 字幕