fix: size

This commit is contained in:
Dogtiti
2024-12-27 21:57:23 +08:00
parent 6b914b7ced
commit fe7f726c4b

View File

@@ -90,7 +90,7 @@ export class ChatGLMApi implements LLMApi {
return { return {
model: modelConfig.model, model: modelConfig.model,
prompt, prompt,
size: "1024x1024", size: options.config.size,
} as ImageGenerationPayload; } as ImageGenerationPayload;
default: default:
return { return {