一句话输入自然语言,自动生成5-6分钟行业AI短视频(竖屏1080x1920)。
运行主入口脚本 pipeline.py,支持自然语言输入和传统模式:
python pipeline.py "帮我做一个零售业AI智能推荐的短视频"
python pipeline.py "医疗AI如何改变诊断?做一个3分钟科普视频" --size 1920x1080 --duration 3
python pipeline.py "介绍AI在教育行业的应用" --size 1920x1080
python pipeline.py --lesson 1 --action all
python pipeline.py --lesson 1 --action gen_html
python pipeline.py --lesson 1 --action render --size 1080x1920
--duration: 目标视频时长(分钟),默认5分钟--size: 视频尺寸,默认1080x1920(竖屏),支持1920x1080(横屏)等在 credentials/dashscope.json 中配置 DashScope API 密钥:
{
"api_key": "your-dashscope-api-key-here",
"base_url": "https://dashscope.aliyuncs.com/compatible-mode/v1"
}
MIT License
Copyright (c) 2026 郡城智能科技 (JunCheng AI Technology)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
共 1 个版本