task:motion 本地模型接口调用地址修改

This commit is contained in:
2025-11-03 13:10:37 +08:00
parent e825c9bd75
commit 5efaaf01b2
2 changed files with 5 additions and 2 deletions

View File

@@ -4092,9 +4092,11 @@ public class PythonService {
content.put("pose_id", String.valueOf(poseId));
RequestBody body = RequestBody.create(mediaType, JSON.toJSONString(content));
log.info("poseTransformation 请求地址: {}", accessPythonIp + ":" + accessPythonPort + "/api/pose_transform");
// String uri = "/api/pose_transform";
String uri = "/api/comfyui_pose_transform";
log.info("poseTransformation 请求地址: {}", accessPythonIp + ":" + accessPythonPort + uri);
Request request = new Request.Builder()
.url(accessPythonIp + ":" + accessPythonPort + "/api/pose_transform")
.url(accessPythonIp + ":" + accessPythonPort + uri)
.method("POST", body)
.addHeader("Content-Type", "application/json")
.build();