fix: 关闭腾讯混元生图AI生成标识(LogoAdd=0) + 修复context-path导致可选认证匹配失败

This commit is contained in:
2026-02-13 18:43:04 +08:00
parent c857c90c80
commit 28b3ae0bd2

View File

@@ -268,7 +268,7 @@ INSERT INTO `ai_model` (`id`, `provider_id`, `name`, `code`, `type`, `category`,
'{}',
'{}',
'[{"name":"prompt","label":"图片描述","type":"textarea","required":true,"placeholder":"描述你想要生成的图片内容推荐使用中文最多8192字符"},{"name":"images","label":"垫图","type":"image","required":false,"placeholder":"可选上传参考图片最多3张支持jpg/png/webp","maxSize":10,"maxCount":3},{"name":"resolution","label":"图片分辨率","type":"select","options":[{"label":"1024x1024","value":"1024:1024"},{"label":"1248x832(横屏)","value":"1248:832"},{"label":"832x1248(竖屏)","value":"832:1248"},{"label":"768x1024","value":"768:1024"},{"label":"1024x768","value":"1024:768"},{"label":"512x1024","value":"512:1024"},{"label":"1024x512","value":"1024:512"}],"default":"1024:1024"},{"name":"revise","label":"Prompt改写","type":"select","options":[{"label":"开启提示词改写推荐约增加20s耗时","value":1},{"label":"关闭","value":0}],"default":1}]',
30, 300, 120, 'tencent_cloud_api', NULL, '{"service":"aiart","host":"aiart.tencentcloudapi.com","version":"2022-12-29","region":"ap-guangzhou","submit_action":"SubmitTextToImageJob","query_action":"QueryTextToImageJob"}', 1, NULL, 'POST', NULL, NULL, NULL, 10000, 60, 300, 1, 'result', 1, 1, 9),
30, 300, 120, 'tencent_cloud_api', NULL, '{"service":"aiart","host":"aiart.tencentcloudapi.com","version":"2022-12-29","region":"ap-guangzhou","submit_action":"SubmitTextToImageJob","query_action":"QueryTextToImageJob","default_params":{"LogoAdd":0}}', 1, NULL, 'POST', NULL, NULL, NULL, 10000, 60, 300, 1, 'result', 1, 1, 9),
-- 火山引擎豆包Seedream 4.5图片生成(同步任务,用户端)
-- 接口: POST /api/v3/images/generations
-- 返回: {"data":[{"url":"xxx"}]}