save code

This commit is contained in:
colomi
2025-07-14 23:21:16 +08:00
parent aa5fc8cbf1
commit 3b43831211
3 changed files with 17 additions and 2 deletions
+2 -1
View File
@@ -158,7 +158,8 @@
const data = {
human_img: humanDataURL, // 包含完整前缀的Base64
cloth_img: clothDataURL, // 包含完整前缀的Base64
output_format: "url"
output_format: "url",
is_generated: true,
};
console.log("准备发送的数据:", data); // 调试用
+2 -1
View File
@@ -144,7 +144,8 @@
body: JSON.stringify({
human_url: humanUrl,
cloth_url: clothUrl,
output_format: 'url'
output_format: 'url',
is_generated: true
})
});