feat: wan 2.7 support N for gen images number
This commit is contained in:
@@ -181,6 +181,7 @@ func oaiFormEdit2AliImageEdit(c *gin.Context, info *relaycommon.RelayInfo, reque
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
imageRequest.Parameters = AliImageParameters{
|
imageRequest.Parameters = AliImageParameters{
|
||||||
|
N: int(lo.FromPtrOr(request.N, uint(1))),
|
||||||
Watermark: request.Watermark,
|
Watermark: request.Watermark,
|
||||||
}
|
}
|
||||||
return &imageRequest, nil
|
return &imageRequest, nil
|
||||||
|
|||||||
Reference in New Issue
Block a user