feat: 新增 ai2video 方法

This commit is contained in:
Edan's Win11
2025-06-02 20:30:03 +08:00
parent 8d72bfad1c
commit 794e8feaea
3 changed files with 262 additions and 5 deletions
+4 -4
View File
@@ -20,8 +20,8 @@ if __name__ == '__main__':
title, tags = get_title_and_hashtags(str(file))
thumbnail_path = file.with_suffix('.png')
# 打印视频文件名、标题和 hashtag
print(f"视频文件名:{file}")
print(f"标题:{title}")
print(f"Hashtag:{tags}")
# print(f"视频文件名:{file}")
# print(f"标题:{title}")
# print(f"Hashtag:{tags}")
app = BaiJiaHaoVideo(title, file, tags, publish_datetimes[index], account_file)
asyncio.run(app.main(), debug=False)
asyncio.run(app.mainAi(), debug=False)