fix(provider): 火山方舟图片 - 关闭水印并持久化 CDN 结果 (#241)
This commit is contained in:
@@ -886,6 +886,7 @@ export async function requestGeneration(config: AiConfig, prompt: string, option
|
||||
model: requestConfig.model,
|
||||
prompt: withSystemPrompt(requestConfig, prompt),
|
||||
n,
|
||||
watermark: false,
|
||||
...(normalizedRequestSize ? { [normalizedRequestSize.parameter]: normalizedRequestSize.value } : {}),
|
||||
}
|
||||
: {
|
||||
@@ -980,6 +981,7 @@ export async function requestEdit(config: AiConfig, prompt: string, references:
|
||||
model: requestConfig.model,
|
||||
prompt: withSystemPrompt(requestConfig, requestPrompt),
|
||||
n,
|
||||
watermark: false,
|
||||
...(requestSize ? { [requestSize.parameter]: requestSize.value } : {}),
|
||||
...(images.length === 1 ? { image: images[0] } : images.length > 1 ? { image: images } : {}),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user