From 25e1be8001c49efb31eddcb857be154fb964bb5e Mon Sep 17 00:00:00 2001 From: wauputr4 <103489788+wauputr4@users.noreply.github.com> Date: Thu, 23 Apr 2026 20:13:05 +0700 Subject: [PATCH] Update open-sse/handlers/imageGeneration.ts Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- open-sse/handlers/imageGeneration.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/open-sse/handlers/imageGeneration.ts b/open-sse/handlers/imageGeneration.ts index 9836724066..b651ec44b4 100644 --- a/open-sse/handlers/imageGeneration.ts +++ b/open-sse/handlers/imageGeneration.ts @@ -347,7 +347,7 @@ async function handleKieImageGeneration({ }); } - const statusUrl = "https://api.kie.ai/api/v1/gpt4o-image/record-info"; + const statusUrl = providerConfig.baseUrl.replace("/generate", "/record-info"); const deadline = Date.now() + timeoutMs; while (Date.now() < deadline) { const recordRes = await fetch(`${statusUrl}?taskId=${encodeURIComponent(taskId)}`, {