利用 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
from unittest.mock import patch
from app.services import llm
def test_generated_script_retains_narration_in_markdown_link_labels():
response = "Visit [the museum](https://example.org/museum) today."
with patch.object(llm, "_generate_response", return_value=response):
assert llm.generate_script("museum") == "Visit the museum today."