feat: 集成 KieAI Grok 模型,支持 field103 配置切换视频生成模型
- 新增 ToolGrokService 接口和 ToolGrokServiceImpl 实现 - 对接 https://kie.ai/grok-imagine 文生视频和图生视频接口 - 新增 KieAIConfig.grokBaseUrl 配置项 - 修改 KieAIController,根据 system_config.field103 自动切换 Sora/Grok - 原有 /text-to-video 和 /image-to-video 接口支持自动模型选择 - 新增 /grok/text-to-video 和 /grok/image-to-video 专用接口 配置说明: - eb_system_config.name=field103, value=grok 时使用 Grok - value=sora 或空时使用 Sora(默认)
This commit is contained in:
@@ -31,6 +31,11 @@ public class KieAIConfig {
|
||||
*/
|
||||
private String apiUploadBaseUrl = "https://kieai.redpandaai.co";
|
||||
|
||||
/**
|
||||
* Grok 视频生成基础 URL,默认 https://kie.ai/grok-imagine
|
||||
*/
|
||||
private String grokBaseUrl = "https://kie.ai/grok-imagine";
|
||||
|
||||
/**
|
||||
* API 回调 URL
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user