Skip to content

Commit 23a6813

Browse files
committed
feat(adaptor): update resolution handling for wan2.6 model
1 parent 2a5b2ad commit 23a6813

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

relay/channel/task/ali/adaptor.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,9 @@ func (a *TaskAdaptor) convertToAliRequest(info *relaycommon.RelayInfo, req relay
291291
aliReq.Parameters.Size = "1280*720"
292292
}
293293
} else {
294-
if strings.HasPrefix(req.Model, "wan2.5") {
294+
if strings.HasPrefix(req.Model, "wan2.6") {
295+
aliReq.Parameters.Resolution = "1080P"
296+
} else if strings.HasPrefix(req.Model, "wan2.5") {
295297
aliReq.Parameters.Resolution = "1080P"
296298
} else if strings.HasPrefix(req.Model, "wan2.2-i2v-flash") {
297299
aliReq.Parameters.Resolution = "720P"

0 commit comments

Comments
 (0)