利用 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
fix: improve error message for unsupported file extensions in video upload
michael tse579d3c094864
diff --git a/app/controllers/v1/video.py b/app/controllers/v1/video.pyindex 1f5bc4d4..b3037b75 100644--- a/app/controllers/v1/video.py+++ b/app/controllers/v1/video.py@@ -267,7 +267,7 @@ def upload_video_material_file(request: Request, file: UploadFile = File(...)):return utils.get_response(200, response)raise HttpException(- "", status_code=400, message=f"{request_id}: Only files with extensions {allowed_suffixes} can be uploaded"+ "", status_code=400, message=f"{request_id}: Only files with extensions {', '.join(allowed_suffixes)} can be uploaded")@router.get("/stream/{file_path:path}")