fix(models): 模型目录 - 识别公共视频能力并按声明发送分辨率
This commit is contained in:
1 parent
6cdece9e04
commit
f8cbcd1b6f
19 files changed
+792
-51
No files matched your search
@@ -1420,7 +1420,9 @@ func runVideoTask(ctx context.Context, input canvasGenerationInput) (map[string]
|
||||
if size := normalizeVideoSize(input.Config.Size); size != "" {
|
||||
writeField(writer, "size", size)
|
||||
}
|
||||
writeField(writer, "resolution_name", normalizeVideoResolution(input.Config.VQuality))
|
||||
if resolution := videoResolutionNameRequest(input.VideoCapability, input.Config.VQuality); resolution != "" {
|
||||
writeField(writer, "resolution_name", resolution)
|
||||
}
|
||||
writeField(writer, "preset", "normal")
|
||||
if shouldSendNewAPIVideoImages(input) {
|
||||
for _, image := range input.ReferenceImages {
|
||||
|
||||
Reference in new issue
Block a user