利用 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
Expose script-order material matching in terms API
kapil971390f2e6d809cd3c
diff --git a/app/controllers/v1/llm.py b/app/controllers/v1/llm.pyindex 41f6cfb0..68d7bb77 100644--- a/app/controllers/v1/llm.py+++ b/app/controllers/v1/llm.py@@ -44,6 +44,7 @@ def generate_video_terms(request: Request, body: VideoTermsRequest):video_subject=body.video_subject,video_script=body.video_script,amount=body.amount,+ match_script_order=body.match_materials_to_script,)response = {"video_terms": video_terms}return utils.get_response(200, response)diff --git a/app/models/schema.py b/app/models/schema.pyindex 7b5ee915..33443f39 100644--- a/app/models/schema.py+++ b/app/models/schema.py@@ -168,7 +168,8 @@ class VideoTermsParams:{"video_subject": "","video_script": "",- "amount": 5+ "amount": 5,+ "match_materials_to_script": false}"""@@ -177,6 +178,7 @@ class VideoTermsParams:"春天的花海,如诗如画般展现在眼前。万物复苏的季节里,大地披上了一袭绚丽多彩的盛装。金黄的迎春、粉嫩的樱花、洁白的梨花、艳丽的郁金香……")amount: Optional[int] = 5+ match_materials_to_script: bool = Falseclass VideoSocialMetadataParams: