fix: 即梦生图3.0 = doubao-seedream-4-0-250828 · 模型ID精确匹配

- API代理新增 volcano_jimeng 端点 (即梦生图3.0)
- 通过火山API实时拉取126个模型列表,验证所有可用Seedream/Seedance模型ID
- size参数最小要求1920×1920 (3.68M pixels)
- 旧即梦3.0(doubao-seedream-3-0-t2i)已Shutdown,购买包实际对应4.0版本
This commit is contained in:
冰朔 2026-07-11 15:21:23 +08:00
parent 424c4d6ca0
commit 1c4353d198

View File

@ -28,30 +28,39 @@ KEYSTORE_TOKEN = os.environ.get("GZ_006_GK_TOKEN", "")
KEYSTORE_API_KS = "/opt/zhuyuan/keystore/api/ks.py"
# 第三方 API 端点 · 密钥全在保险库 · 人格体只需知道 provider 名
# 模型 ID 经 2026-07-11 实时验证 ✅ = 已验证通过
ENDPOINTS = {
# ── 火山方舟 · 图片生成Seedream 4.5 / 5.0-lite──
# ── 火山方舟 · 即梦生图3.0(用户买的这个)──
"volcano_jimeng": {
"url": "https://ark.cn-beijing.volces.com/api/v3/images/generations",
"key_name": "VOLCANO_JIMENG_API_KEY",
"auth_header": "Authorization",
"auth_prefix": "Bearer ",
"description": "火山即梦生图3.0 · model: doubao-seedream-4-0-250828 ✅ · size≥1920×1920",
},
# ── 火山方舟 · Seedream 4.5 ──
"volcano_seedream": {
"url": "https://ark.cn-beijing.volces.com/api/v3/images/generations",
"key_name": "VOLCANO_JIMENG_API_KEY",
"auth_header": "Authorization",
"auth_prefix": "Bearer ",
"description": "火山Seedream图片生成 · models: doubao-seedream-4.5 / doubao-seedream-5.0-lite",
"description": "火山Seedream图片生成 · models: doubao-seedream-4-5-251128 ✅ / doubao-seedream-5-0-260128 ✅ / doubao-seedream-5-0-pro-260628 ✅ · size≥1920×1920",
},
# ── 火山方舟 · 视频生成Seedance 1.5-pro──
# ── 火山方舟 · Seedance 视频生成 ──
"volcano_seedance": {
"url": "https://ark.cn-beijing.volces.com/api/v3/images/generations",
"key_name": "VOLCANO_JIMENG_API_KEY",
"auth_header": "Authorization",
"auth_prefix": "Bearer ",
"description": "火山Seedance视频生成 · model: doubao-seedance-1.5-pro",
"description": "火山Seedance视频 · doubao-seedance-1-5-pro-251215 / doubao-seedance-2-0-260128 / doubao-seedance-2-0-fast-260128 / doubao-seedance-2-0-mini-260615",
},
# ── 火山方舟 · 视频生成SeaWeed──
# ── 火山方舟 · SeaWeed 视频生成 ──
"volcano_seaweed": {
"url": "https://ark.cn-beijing.volces.com/api/v3/images/generations",
"key_name": "VOLCANO_JIMENG_API_KEY",
"auth_header": "Authorization",
"auth_prefix": "Bearer ",
"description": "火山SeaWeed视频生成 · model: doubao-seedance-2-0-260128",
"description": "火山SeaWeed视频生成统一视频端点·含Wan2.1",
},
# ── 火山语音复刻 ──
"volcano_voice": {
@ -61,7 +70,7 @@ ENDPOINTS = {
"auth_prefix": "Bearer;",
"description": "火山语音复刻TTS",
},
# ── 阿里千问VL · 视觉理解(看图)──
# ── 阿里千问VL · 视觉理解(看图·万相)──
"aliyun_qwen_vl": {
"url": "https://dashscope.aliyuncs.com/api/v1/services/aigc/multimodal-generation/generation",
"key_name": "ALIYUN_QWEN_VL_KEY",