ediit: api request url 변경(dalle3(bingimg) -> bingart)

This commit is contained in:
sykweon
2025-03-19 14:25:24 +09:00
parent 550b4d88cc
commit e5f0928d0a
3 changed files with 4 additions and 3 deletions

View File

@@ -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"

View File

@@ -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()

View File

@@ -24,7 +24,7 @@
<span class="title">AI Image Generator</span>
</div>
<div class="img_generator_model_zone_1">
<span class="model_name">DALL-E 3</span>
<span class="model_name">Bing Art</span>
<div>
<input type="text" id="input_txt_box_1" class="input_txt_box" placeholder="입력하세요.">
</div>