debug:换脸请求参数log
All checks were successful
git commit 控制 连卡佛 back-java prod 分支构建部署 / build_and_deploy (push) Has been skipped
All checks were successful
git commit 控制 连卡佛 back-java prod 分支构建部署 / build_and_deploy (push) Has been skipped
This commit is contained in:
@@ -715,9 +715,11 @@ public class TryOnEffectServiceImpl extends ServiceImpl<TryOnEffectMapper, TryOn
|
|||||||
requestBody.put("input_face", inputFaceUrl);
|
requestBody.put("input_face", inputFaceUrl);
|
||||||
requestBody.put("threshold", 0.2);
|
requestBody.put("threshold", 0.2);
|
||||||
|
|
||||||
|
log.info("换脸API请求体: {}", requestBody.toString());
|
||||||
// 调用换脸API
|
// 调用换脸API
|
||||||
String response = sendFaceSwapRequest(faceSwapConfig.getRefaceUrl(), requestBody.toString());
|
String response = sendFaceSwapRequest(faceSwapConfig.getRefaceUrl(), requestBody.toString());
|
||||||
|
|
||||||
|
|
||||||
// 处理响应
|
// 处理响应
|
||||||
return processFaceSwapResponse(response);
|
return processFaceSwapResponse(response);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user