diff --git a/yudao-dependencies/pom.xml b/yudao-dependencies/pom.xml
index ede38b34cc..317e8b331f 100644
--- a/yudao-dependencies/pom.xml
+++ b/yudao-dependencies/pom.xml
@@ -64,7 +64,7 @@
3.1.0
2.7.0
3.0.6
- 4.1.118.Final
+ 4.2.4.Final
1.2.5
0.9.0
4.5.13
diff --git a/yudao-module-ai/pom.xml b/yudao-module-ai/pom.xml
index 4a2323bcfa..3270b44d1d 100644
--- a/yudao-module-ai/pom.xml
+++ b/yudao-module-ai/pom.xml
@@ -19,8 +19,8 @@
国外:OpenAI、Ollama、Midjourney、StableDiffusion、Suno
- 1.0.0
- 1.0.0.2
+ 1.0.1
+ 1.0.0.3
1.0.2
diff --git a/yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/core/AiModelFactoryImpl.java b/yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/core/AiModelFactoryImpl.java
index f7b42e30ae..3387c9b6b1 100644
--- a/yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/core/AiModelFactoryImpl.java
+++ b/yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/core/AiModelFactoryImpl.java
@@ -347,7 +347,7 @@ public class AiModelFactoryImpl implements AiModelFactory {
* 可参考 {@link DashScopeImageAutoConfiguration} 的 dashScopeImageModel 方法
*/
private static DashScopeImageModel buildTongYiImagesModel(String key) {
- DashScopeImageApi dashScopeImageApi = new DashScopeImageApi(key);
+ DashScopeImageApi dashScopeImageApi = DashScopeImageApi.builder().apiKey(key).build();
return DashScopeImageModel.builder()
.dashScopeApi(dashScopeImageApi)
.build();