fix(api): 视频生成 - 修正 Video Generations 时长字段类型
This commit is contained in:
1 parent
bf339911e4
commit
d94f4c6bed
2 files changed
+2
-2
No files matched your search
@@ -1054,7 +1054,7 @@ func newAPIChannel2VideoBody(input canvasGenerationInput) (map[string]interface{
|
||||
body := map[string]interface{}{
|
||||
"model": input.Config.Model,
|
||||
"prompt": strings.TrimSpace(input.Prompt),
|
||||
"seconds": seconds,
|
||||
"seconds": strconv.Itoa(seconds),
|
||||
"aspect_ratio": ratio,
|
||||
"resolution": resolution,
|
||||
"generate_audio": parseBool(input.Config.VideoGenerateAudio, true),
|
||||
|
||||
Reference in new issue
Block a user