调整好可灵 API

This commit is contained in:
RockYang
2025-03-04 21:52:08 +08:00
parent 393bfa137e
commit f687a10416
3 changed files with 10 additions and 13 deletions

View File

@@ -189,7 +189,7 @@ func (h *VideoHandler) KeLingCreate(c *gin.Context) {
UserId: userId,
Type: types.VideoKeLing,
Prompt: data.Prompt,
Power: h.App.SysConfig.LumaPower,
Power: power,
TaskInfo: utils.JsonEncode(task),
}
tx := h.DB.Create(&job)