From e5f0928d0ae5f1c0867604e63a48427bd6dd1bd3 Mon Sep 17 00:00:00 2001 From: sykweon Date: Wed, 19 Mar 2025 14:25:24 +0900 Subject: [PATCH] =?UTF-8?q?ediit:=20api=20request=20url=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD(dalle3(bingimg)=20->=20bingart)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/static/js/config.js | 3 ++- src/static/js/utility.js | 2 +- src/templates/index.html | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/static/js/config.js b/src/static/js/config.js index 8818638..976a2ed 100755 --- a/src/static/js/config.js +++ b/src/static/js/config.js @@ -13,5 +13,6 @@ const REST_SERVER = { PORT: 51000 } -const DALLE3_REQUEST_URL = "/api/services/imageGenerate/dalle3" +// const DALLE3_REQUEST_URL = "/api/services/imageGenerate/bingimg" +const BINGART_REQUEST_URL = "/api/services/imageGenerate/bingart" const IMAGEN_REQUEST_URL = "/api/services/imageGenerate/imagen" \ No newline at end of file diff --git a/src/static/js/utility.js b/src/static/js/utility.js index c64f993..21213d6 100755 --- a/src/static/js/utility.js +++ b/src/static/js/utility.js @@ -16,7 +16,7 @@ let apiRequestBody = { function generatorBtn1() { errorZone1.html(" ") try { - const apiUrl = `http://${REST_SERVER.IP}:${REST_SERVER.PORT}${DALLE3_REQUEST_URL}` + const apiUrl = `http://${REST_SERVER.IP}:${REST_SERVER.PORT}${BINGART_REQUEST_URL}` apiRequestBody.prompt = inputTxtBox1.val() apiRequestBody.downloadCount = inputTxtBox3.val() diff --git a/src/templates/index.html b/src/templates/index.html index 3b67431..40b51c0 100755 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -24,7 +24,7 @@ AI Image Generator
- DALL-E 3 + Bing Art