Commit e5b5331d by feitianbubu

feat: wan 2.7 support N for gen images number

parent 18373c6e
...@@ -181,6 +181,7 @@ func oaiFormEdit2AliImageEdit(c *gin.Context, info *relaycommon.RelayInfo, reque ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment