利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.
Python ai-video-generatorcontent-creationffmpeginstagram-reelsllmpythonshort-videosubtitlestext-to-speechtiktokvideo-automationvideo-workflowworkflow-automationyoutube-shorts
Merge pull request #1330 from IsmaelCamC/feature/pauses
Harrye14134d86a00
diff --cc test/services/test_voice.pyindex 915c000d,7f2746fc..ca543fb7--- a/test/services/test_voice.py+++ b/test/services/test_voice.py@@@ -1352,10 -1352,20 +1352,22 @@@ class TestVoiceService(unittest.TestCasself.assertEqual(vs.convert_rate_to_percent(0.0), "+0%")self.assertEqual(vs.convert_rate_to_percent(None), "+0%")self.assertEqual(vs.convert_rate_to_percent(""), "+0%")+ self.assertEqual(vs.convert_rate_to_percent(float("nan")), "+0%")+ self.assertEqual(vs.convert_rate_to_percent(float("inf")), "+0%")+ def _write_test_wav(filepath: str, duration_seconds: float = 1.0, sample_rate: int = 24000) -> str:+ import wave+ Path(filepath).parent.mkdir(parents=True, exist_ok=True)+ num_samples = int(round(duration_seconds * sample_rate))+ with wave.open(filepath, "wb") as wf:+ wf.setnchannels(1)+ wf.setsampwidth(2)+ wf.setframerate(sample_rate)+ wf.writeframes(b"\x00\x00" * num_samples)+ return filepath++class TestElevenLabsVoice(unittest.TestCase):def test_is_elevenlabs_voice_true(self):