Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
78d54f08
authored
Dec 29, 2025
by
Seefs
Committed by
GitHub
Dec 29, 2025
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2544 from seefs001/feature/wan-2.6
parents
b10f1f7b
5423d6ed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
relay/channel/task/ali/adaptor.go
+4
-0
No files found.
relay/channel/task/ali/adaptor.go
View file @
78d54f08
...
...
@@ -192,6 +192,10 @@ func sizeToResolution(size string) (string, error) {
func
ProcessAliOtherRatios
(
aliReq
*
AliVideoRequest
)
(
map
[
string
]
float64
,
error
)
{
otherRatios
:=
make
(
map
[
string
]
float64
)
aliRatios
:=
map
[
string
]
map
[
string
]
float64
{
"wan2.6-i2v"
:
{
"720P"
:
1
,
"1080P"
:
1
/
0.6
,
},
"wan2.5-t2v-preview"
:
{
"480P"
:
1
,
"720P"
:
2
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment