Merge pull request #2544 from seefs001/feature/wan-2.6
This commit is contained in:
commit
78d54f087a
@ -192,6 +192,10 @@ func sizeToResolution(size string) (string, error) {
|
|||||||
func ProcessAliOtherRatios(aliReq *AliVideoRequest) (map[string]float64, error) {
|
func ProcessAliOtherRatios(aliReq *AliVideoRequest) (map[string]float64, error) {
|
||||||
otherRatios := make(map[string]float64)
|
otherRatios := make(map[string]float64)
|
||||||
aliRatios := map[string]map[string]float64{
|
aliRatios := map[string]map[string]float64{
|
||||||
|
"wan2.6-i2v": {
|
||||||
|
"720P": 1,
|
||||||
|
"1080P": 1 / 0.6,
|
||||||
|
},
|
||||||
"wan2.5-t2v-preview": {
|
"wan2.5-t2v-preview": {
|
||||||
"480P": 1,
|
"480P": 1,
|
||||||
"720P": 2,
|
"720P": 2,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user