feat(upload): add support for Aliyhun OSS

This commit is contained in:
wanglinjie
2025-09-03 09:38:01 +08:00
parent a8a265c2a7
commit 1314e0ee09
8 changed files with 349 additions and 1 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ DEFAULT_CREATE_IMAGE_MODEL = "imagen-3.0-generate-002"
VALID_IMAGE_RATIOS = ["1:1", "3:4", "4:3", "9:16", "16:9"]
# 上传提供商
UPLOAD_PROVIDERS = ["smms", "picgo", "cloudflare_imgbed"]
UPLOAD_PROVIDERS = ["smms", "picgo", "cloudflare_imgbed", "aliyun_oss"]
DEFAULT_UPLOAD_PROVIDER = "smms"
# 流式输出相关常量