Spaces:
Sleeping
Sleeping
File size: 12,992 Bytes
dd6309a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 | <!doctype html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>AI Model Cut Studio</title>
<link rel="stylesheet" href="./styles.css" />
</head>
<body>
<div class="app-shell">
<aside class="sidebar">
<div class="shoot-header">
<h1>AI ์ดฌ์</h1>
<div>
<button class="ghost-button tiny" type="button">์ด๊ธฐํ</button>
</div>
</div>
<section class="left-section">
<h2>๋ชจ๋ธ ์ผ๊ตด <span>โ</span></h2>
<div class="model-face-row">
<label class="face-upload" for="modelFaceUpload">
<input id="modelFaceUpload" name="model_face" type="file" accept="image/*" />
<span>๏ผ</span>
<em>์
๋ก๋</em>
</label>
<button class="face-preset active" id="presetFaceButton" type="button" aria-label="๊ธฐ๋ณธ ๋ชจ๋ธ ์ผ๊ตด">
<img src="/model_face_preset.png" alt="๊ธฐ๋ณธ ๋ชจ๋ธ ์ผ๊ตด" />
</button>
<label class="visually-hidden">
<input id="useUploadedFace" type="checkbox" />
์
๋ก๋ ์ผ๊ตด์ ์ฐ์ ์ฌ์ฉ
</label>
</div>
<div class="model-spec">
<div class="model-spec-head">
<strong>๊ธฐ๋ณธ ๋ชจ๋ธ</strong>
<span>๋ชจ๋ธ ์คํ</span>
</div>
<dl>
<div><dt>ํค</dt><dd>168cm</dd></div>
<div><dt>๋ชธ๋ฌด๊ฒ</dt><dd>47kg</dd></div>
<div><dt>์์</dt><dd>55 size</dd></div>
<div><dt>ํ์</dt><dd>26 inch</dd></div>
<div><dt>์ฑ๋ณ</dt><dd>์ฌ์ฑ</dd></div>
</dl>
</div>
</section>
<section class="left-section">
<h2>๋ฉ์ธ ์ ํ</h2>
<div class="product-grid" id="uploadPreview">
<div class="product-pair">
<h3>์ ํ 1</h3>
<label class="product-slot active">
<input name="product_1_front" type="file" accept="image/*" />
<span class="upload-icon">โฅ</span>
<em>์๋ฉด</em>
</label>
<label class="product-slot">
<input name="product_1_back" type="file" accept="image/*" />
<span class="upload-icon">โฅ</span>
<em>๋ท๋ฉด (์ต์
)</em>
</label>
</div>
<div class="product-pair">
<h3>์ ํ 2</h3>
<label class="product-slot">
<input name="product_2_front" type="file" accept="image/*" />
<span class="upload-icon">โฅ</span>
<em>์๋ฉด</em>
</label>
<label class="product-slot">
<input name="product_2_back" type="file" accept="image/*" />
<span class="upload-icon">โฅ</span>
<em>๋ท๋ฉด (์ต์
)</em>
</label>
</div>
<div class="product-pair">
<h3>์ ํ 3</h3>
<label class="product-slot">
<input name="product_3_front" type="file" accept="image/*" />
<span class="upload-icon">โฅ</span>
<em>์๋ฉด</em>
</label>
<label class="product-slot">
<input name="product_3_back" type="file" accept="image/*" />
<span class="upload-icon">โฅ</span>
<em>๋ท๋ฉด (์ต์
)</em>
</label>
</div>
<div class="product-pair">
<h3>์ ํ 4</h3>
<label class="product-slot">
<input name="product_4_front" type="file" accept="image/*" />
<span class="upload-icon">โฅ</span>
<em>์๋ฉด</em>
</label>
<label class="product-slot">
<input name="product_4_back" type="file" accept="image/*" />
<span class="upload-icon">โฅ</span>
<em>๋ท๋ฉด (์ต์
)</em>
</label>
</div>
</div>
</section>
<section class="left-section">
<h2>์ ํ ์ ๋ณด</h2>
<div class="product-tabs" data-group="selected-product">
<button class="active" type="button">์ ํ 1</button>
<button type="button">์ ํ 2</button>
<button type="button">์ ํ 3</button>
<button type="button">์ ํ 4</button>
</div>
<div class="option-row">
<span>์นดํ
๊ณ ๋ฆฌ</span>
<div class="tag-group" data-group="category">
<button type="button">์์</button>
<button type="button">ํ์</button>
<button type="button">์ค์ปคํธ</button>
<button type="button">์ํผ์ค</button>
<button class="active" type="button">์์ฐํฐ</button>
</div>
</div>
<div class="option-row">
<span>๊ธธ์ด</span>
<div class="tag-group" data-group="length" id="lengthTags">
<button type="button">ํ๋ฆฌ</button>
<button class="active" type="button">๊ณจ๋ฐ</button>
<button type="button">ํ๋ฒ
์ง</button>
</div>
</div>
<div class="option-row">
<span>ํ</span>
<div class="tag-group" data-group="fit">
<button type="button">์ฌ๋ฆผ</button>
<button class="active" type="button">ํ์ค</button>
<button type="button">์ค๋ฒ</button>
</div>
</div>
<div class="length-summary">
์์ ์ด์ฅ <strong id="totalLength">57.1cm</strong>
<span>๊ธฐ๋ณธ ๋ชจ๋ธ 168cm ๊ธฐ์ค</span>
</div>
</section>
<section class="left-section">
<h2>์คํ์ผ</h2>
<div class="option-row">
<span>์ท ๊ตฌ์ฑ</span>
<div class="tag-group" data-group="shot-target">
<button class="active" type="button">์์</button>
<button type="button">ํ์</button>
<button type="button">์ํผ์ค</button>
</div>
</div>
<div class="shot-grid" id="shotGrid"></div>
<button class="batch-shot-button" id="batchShotButton" type="button" disabled>์ท์ ์ ํํ๋ฉด ์ผ๊ด ์์ฑํ ์ ์์ด์</button>
<label class="prompt-label">
<input type="checkbox" checked />
์ถ๊ฐ ์์ฒญ ์ฌํญ
</label>
<textarea id="prompt" rows="4" spellcheck="false" placeholder="์: ์ท ๋ฐ๋จ์ ๋ฅ๊ทผ ํํ, ๋ฒ๋ฃฌํ ๋ฐ์ง..."></textarea>
<div class="control-row model-row">
<label for="imageModel">๋ชจ๋ธ</label>
<select id="imageModel">
<option value="openai:gpt-image-2">GPT Image 2</option>
<option value="openai:gpt-image-1.5">GPT Image 1.5</option>
<option value="openai:gpt-image-1">GPT Image 1</option>
<option value="gemini:gemini-3.1-flash-image-preview">Gemini 3.1 Flash Image Preview</option>
<option value="gemini:gemini-3-pro-image-preview">Gemini 3 Pro Image Preview</option>
<option value="gemini:gemini-2.5-flash-image">Gemini 2.5 Flash Image</option>
</select>
</div>
<div class="generation-controls">
<div class="segmented resolution" data-group="resolution">
<button class="active" type="button">1K</button>
<button type="button">2K</button>
</div>
<button class="generate-button" id="generateButton" type="button">์ ์ (์ ๋ฉด) 3์ฅ ์์ฑ</button>
</div>
</section>
</aside>
<main class="workspace">
<header class="topbar">
<div>
<h1>AI ๋ชจ๋ธ ์ผ๊ตด, ์ ํ ์ด๋ฏธ์ง, ๊ธฐ์ฅ, ํฌ์ฆ๋ฅผ ์กฐํฉํด ์ ๋ช
ํ ๋ชจ๋ธ์ปท์ ์์ฑํฉ๋๋ค.</h1>
</div>
<div class="top-actions">
<button class="ghost-button" id="applyAiLabelButton" type="button">AI ํ๊ธฐ</button>
<button class="ghost-button" type="button">์ ํ ์ญ์ </button>
<div class="download-menu">
<button class="primary-button" id="downloadMenuButton" type="button">์ ํ ๋ค์ด๋ก๋</button>
<div class="download-options" id="downloadOptions">
<button type="button" data-format="jpg"><strong>JPG</strong><span>๊ณ ํจ์จ์ฑ</span></button>
<button type="button" data-format="png"><strong>PNG</strong><span>๋ฌด์์ค</span></button>
<button type="button" data-format="webp"><strong>WEBP</strong><span>๊ฒฝ๋</span></button>
</div>
</div>
</div>
</header>
<section class="status-strip">
<article>
<span>์
๋ ฅ ํ์ง</span>
<strong>์๋ณธ ๋ณด์กด</strong>
<em>์ ํ ํ
์ค์ฒ, ๋ก๊ณ , ์ค๋ฃจ์ฃ ์ ๊ธ</em>
</article>
<article>
<span>์์ฑ ์์</span>
<strong id="elapsedTime">๋๊ธฐ ์ค</strong>
<em id="elapsedDetail">์ ์ (์ ๋ฉด) ํ๋ณด ์์ฑ ์ </em>
</article>
<article>
<span>์ถ๋ ฅ ๊ตฌ์กฐ</span>
<strong>์ ํ ์ปท ๊ธฐ๋ฐ ํ์ฅ</strong>
<em>์ผ๊ตด/์์ ์ ์ง, ์ท ๊ตฌ๋๋ง ๋ณ๊ฒฝ</em>
</article>
</section>
<section class="results">
<div class="section-heading">
<div>
<span>์์ฑ ๊ฒฐ๊ณผ</span>
<h2>๋ชจ๋ธ์ปท ๋ฏธ๋ฆฌ๋ณด๊ธฐ</h2>
</div>
</div>
<div class="result-grid" id="resultGrid">
<article class="empty-state">
<strong>์ ์ (์ ๋ฉด) ํ๋ณด 3์ฅ์ ๋จผ์ ์์ฑํ์ธ์.</strong>
<span>์ ํ ์ด๋ฏธ์ง์ ๋ชจ๋ธ ์ผ๊ตด์ ๊ธฐ์ค์ผ๋ก ํ๋ณด ์ปท์ด ์ด ์์ญ์ ํ์๋ฉ๋๋ค.</span>
</article>
</div>
</section>
</main>
</div>
<div class="image-modal" id="imageModal" aria-hidden="true">
<div class="image-modal-backdrop" data-close-modal></div>
<div class="image-modal-content" role="dialog" aria-modal="true" aria-label="์์ฑ ์ด๋ฏธ์ง ํธ์ง">
<div class="image-preview-pane">
<img id="modalImage" alt="์ ํํ ์์ฑ ์ด๋ฏธ์ง ํฌ๊ฒ ๋ณด๊ธฐ" />
<strong id="modalTitle"></strong>
</div>
<aside class="edit-panel">
<div class="edit-panel-head">
<strong>Edit Image</strong>
<button class="image-modal-close" type="button" data-close-modal>ร</button>
</div>
<p class="edit-help">์ ํํ ๋ชจ๋ธ์ปท์ ๊ธฐ์ค์ผ๋ก ์ฐธ์กฐ ์ด๋ฏธ์ง์ ์ง์์ด๋ฅผ ์ถ๊ฐํด ์์ ํฉ๋๋ค.</p>
<h3>์ฐธ์กฐ ์ด๋ฏธ์ง</h3>
<label class="edit-upload" for="editReferenceImages">
<input id="editReferenceImages" type="file" accept="image/*" multiple />
<span>๏ผ</span>
์ฐธ์กฐ ์ด๋ฏธ์ง ์ถ๊ฐ
</label>
<div class="edit-reference-list" id="editReferenceList"></div>
<h3>๋ฐฐ๊ฒฝ ๋ณ๊ฒฝ</h3>
<div class="edit-backgrounds" id="editBackgrounds">
<button type="button" data-bg="AI ๋๋ ํฐ">AI ๋๋ ํฐ</button>
<button type="button" data-bg="์๋ฐฑ">์๋ฐฑ</button>
<button type="button" data-bg="ํ">ํ</button>
<button type="button" data-bg="์นดํ">์นดํ</button>
<button type="button" data-bg="๊ฑฐ๋ฆฌ">๊ฑฐ๋ฆฌ</button>
<button type="button" data-bg="์ผ๋ฃธ">์ผ๋ฃธ</button>
<button type="button" data-bg="์์ฐ">์์ฐ</button>
<button type="button" data-bg="ํด๋ณ">ํด๋ณ</button>
<button type="button" data-bg="์คํ๋์ค">์คํ๋์ค</button>
<button type="button" data-bg="์ผ๊ฒฝ">์ผ๊ฒฝ</button>
</div>
<h3>์์ ์ง์์ด</h3>
<textarea id="editInstruction" rows="6" placeholder="์: ์กฐ๋ช
์ ๋ ๋ฐ๊ฒ ํด์ค, ๋ฐฐ๊ฒฝ์ ๊ทธ๋ฆผ์๋ฅผ ์ถ๊ฐํด์ค..."></textarea>
<button class="edit-action" id="modalAiLabelButton" type="button">AI ํ๊ธฐ ๋ฏธ๋ฆฌ๋ณด๊ธฐ</button>
<button class="edit-action primary" id="requestEditButton" type="button">์์ ์์ฒญํ๊ธฐ</button>
<button class="edit-action" id="regenerateButton" type="button">๊ธฐ์กด ์ค์ ์ผ๋ก ์ฌ์์ฑ</button>
<div class="edit-save-row">
<button class="edit-action" id="saveOriginalButton" type="button">์๋ณธ ์ ์ฅ</button>
<button class="edit-action" id="saveCurrentButton" type="button">ํ์ฌ ์ด๋ฏธ์ง ์ ์ฅ</button>
</div>
</aside>
</div>
</div>
<script src="./script.js"></script>
</body>
</html>
|