ediit: api request url 변경(dalle3(bingimg) -> bingart)
This commit is contained in:
@@ -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"
|
||||
@@ -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()
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user