chore: add detailed debugging logs for scene fusion API
This commit is contained in:
parent
230e101858
commit
cb1c808ece
@ -177,7 +177,12 @@ async function callAlibabaImageAPI(
|
||||
},
|
||||
};
|
||||
|
||||
console.log("[SceneFusion] Sending request to Alibaba API...");
|
||||
console.log(`[SceneFusion][${modelId}] Request Debug:
|
||||
- Index: Scene ${sceneImageUrl.substring(sceneImageUrl.length-15)}
|
||||
- Product URL: ${productImageUrl}
|
||||
- Scene URL: ${sceneImageUrl}
|
||||
- Prompt: ${prompt}
|
||||
`);
|
||||
|
||||
const response = await fetch(baseURL, {
|
||||
method: "POST",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user