tripocli v2.1.0:新增图片4K超分(img-upscale)、智能抠图(img-split)、图片删除与nanobanana免费模型别名
This commit is contained in:
1 parent
671fe2f55a
commit
b416a743f5
10 files changed
+206
-6
No files matched your search
@@ -26,12 +26,16 @@ HELP = "文生图:用文本生成参考图(游戏资产流程的第一步)
|
||||
# 界面上的模型名 → API 的 model_version(逐个在页面上选中并抓包确认)
|
||||
IMAGE_MODELS = {
|
||||
"nano-banana-2": "gemini_3.1_flash_image_preview",
|
||||
"nanobanana": "gemini_3.1_flash_image_preview",
|
||||
"nano-banana": "gemini_3.1_flash_image_preview",
|
||||
"banana": "gemini_3.1_flash_image_preview",
|
||||
"nano-banana-pro": "gemini_3_pro_image_preview",
|
||||
"nanobanana-pro": "gemini_3_pro_image_preview",
|
||||
"gpt-image-2": "gpt_image_2",
|
||||
"gpt-image-2.5": "gpt_image_2.5_sunburst",
|
||||
"midjourney": "midjourney",
|
||||
}
|
||||
DEFAULT_MODEL = "nano-banana-2"
|
||||
DEFAULT_MODEL = "nano-banana-2" # 免费/非会员默认可用模型 (Nano Banana 2 / Gemini 3.1 Flash)
|
||||
|
||||
SCALES = ["1:1", "16:9", "9:16", "4:3", "3:4"]
|
||||
RESOLUTIONS = ["1K", "2K", "4K"]
|
||||
|
||||
Reference in new issue
Block a user