edge_tts 生成高质量 MP3。
pollinations.ai 根据描述生成精美图片。
FFmpeg 将图片和音频合成 MP4。
直接调用脚本:
C:\Users\lenovo\.copaw\venv\Scripts\python.exe skills\voice-document-maker\scripts\make_video.py --text "这里是朗读内容" --bg_prompt "背景描述" --output "output.mp4"
python scripts/make_video.py --text "天行健,君子以自强不息。" --bg_prompt "Beautiful elegant Chinese lady, ancient style, soft lighting" --output "gufeng.mp4"
python scripts/make_video.py --text "AI 技术正在改变世界。" --bg_prompt "Futuristic technology background, blue neon, cyberpunk" --output "tech.mp4"
send_file_to_user 发送。
共 1 个版本