feat: 调用gpt\nano模型方式修改,功能优化,增加下载采集图片等功能
This commit is contained in:
+1
-3
@@ -41,14 +41,12 @@ class Settings(BaseSettings):
|
||||
dashscope_base_url: str = "" # 留空按模型自动选择万象异步/千问同步端点
|
||||
dashscope_model: str = "wan2.7-image-pro"
|
||||
|
||||
# RightAPI(OpenAI 兼容中转,gpt-image 系列)
|
||||
# RightAPI(OpenAI 兼容中转,gpt-image / nano-banana 系列)
|
||||
rightapi_api_key: str = ""
|
||||
rightapi_base_url: str = "https://rightapi.ai/draw"
|
||||
rightapi_image_model: str = "gpt-image-2"
|
||||
rightapi_image_quality: str = "high" # auto | low | medium | high
|
||||
rightapi_max_retries: int = 3 # 429/5xx/超时的重试次数(1 = 不重试)
|
||||
rightapi_retry_wait: int = 60 # 重试基础等待秒数,按 60→120→240 递增
|
||||
rightapi_input_fidelity: str = "high" # edits 端点高保真档(high | low,留空关闭)
|
||||
|
||||
# DeepSeek(出图方案规划器)
|
||||
deepseek_api_key: str = ""
|
||||
|
||||
Reference in New Issue
Block a user