fix: 关闭腾讯混元生图AI生成标识(LogoAdd=0) + 修复context-path导致可选认证匹配失败
This commit is contained in:
@@ -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"}]}
|
||||
|
||||
Reference in New Issue
Block a user