Converts SRT subtitles into a Polish lektor-style voiceover using a local
ComfyUI instance running Higgs Audio V3, then muxes the result back into the
source video as a second audio track. Video and original audio are always
stream-copied; only the new voiceover track is encoded.
Contents:
lektor_ai_comfy.py main pipeline (standard library only, needs ffmpeg)
lektor_ai_comfy_v2.py batched-context experiment (timing unresolved)
lektor_ai.py earlier version using the hosted Boson AI API
install_comfyui.sh reproduces the ComfyUI environment, versions pinned
docs/ requirements, installation, usage, architecture,
troubleshooting
gudowski/ voice references (.wav) with their transcripts (.txt)
Source media and generated video are gitignored.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
11 lines
308 B
Plaintext
11 lines
308 B
Plaintext
# Dependencies for lektor_ai.py
|
|
openai>=1.0.0
|
|
|
|
# System dependency: ffmpeg must be on PATH.
|
|
# Voice prompts (gudowski.wav etc.) live in:
|
|
# /home/lukas/higgs-audio/examples/voice_prompts/
|
|
#
|
|
# Boson AI API key required (free tier):
|
|
# export BOSON_API_KEY=bai-xxxx
|
|
# Get one at https://boson.ai/workspace
|