Files
Hommy 4010029b56 新增加TOS(火山引擎对象存储)实现,配置如下:
# 火山引擎 TOS AccessKeyId(COS、OSS 均未配置完整时作为兜底)
TOS_ACCESS_KEY_ID=
# 火山引擎 TOS AccessKeySecret
TOS_ACCESS_KEY_SECRET=
# TOS 存储桶名称
TOS_BUCKET_NAME=
# TOS 地域,例如 cn-beijing、cn-shanghai
TOS_REGION=
# TOS 访问域名(可选,未设置时按地域自动生成,例如 tos-cn-beijing.volces.com)
TOS_ENDPOINT=

优先级排最后,当COS,OSS都没有配置时,才使用TOS
2026-08-21 12:15:44 +08:00

36 lines
732 B
TOML

[project]
name = "capcut-mate"
version = "1.0.0"
description = "CapCut Mate API Service"
authors = [
{ name = "Hommy", email = "taohongmin51@gmail.com" }
]
requires-python = ">=3.11"
dependencies = [
"email-validator>=2.2.0",
"fastapi>=0.100.0",
"pymediainfo>=7.0.1",
"requests>=2.32.5",
"uvicorn[standard]>=0.35.0",
"cos-python-sdk-v5>=1.9.38",
"oss2",
"tos",
"imageio>=2.37.3",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
]
windows = [
"pywin32>=311; sys_platform == 'win32'",
"pyautogui>=0.9.54; sys_platform == 'win32'",
"uiautomation>=2.0.29; sys_platform == 'win32'",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
addopts = "-q"