Spaces:
Running
Running
File size: 41,837 Bytes
b5f5087 5119566 b5f5087 2e145cf 2eb9d12 2e145cf 2c0f4b6 2eb9d12 2c0f4b6 2e145cf 2c0f4b6 2e145cf 3cfc13d 2e145cf 2eb9d12 5c19f8c 2e145cf 5c19f8c 2e145cf 2c0f4b6 2eb9d12 2c0f4b6 2eb9d12 2c0f4b6 2eb9d12 5c19f8c 2c0f4b6 2eb9d12 2c0f4b6 5c19f8c 2c0f4b6 5c19f8c 2eb9d12 2c0f4b6 2e145cf 5c19f8c 2e145cf 2c0f4b6 5c19f8c 2eb9d12 5c19f8c 2e145cf 5c19f8c 2e145cf 3cfc13d 2eb9d12 2c0f4b6 2e145cf 2c0f4b6 2e145cf 2c0f4b6 2e145cf 5c19f8c 2e145cf 2eb9d12 2e145cf 2eb9d12 2e145cf 2eb9d12 2e145cf 2eb9d12 2e145cf 2c0f4b6 2eb9d12 5c19f8c 2eb9d12 5c19f8c 2eb9d12 2c0f4b6 5c19f8c 2eb9d12 5c19f8c 2eb9d12 5c19f8c 2eb9d12 5c19f8c 2eb9d12 5c19f8c abaac68 2c0f4b6 2e145cf 2c0f4b6 5c19f8c 3cfc13d 5c19f8c 2c0f4b6 2e145cf f48879f 9cef53f 2e145cf 2c0f4b6 2e145cf 2c0f4b6 2eb9d12 2c0f4b6 2e145cf 2eb9d12 2c0f4b6 2eb9d12 2c0f4b6 2eb9d12 2c0f4b6 2eb9d12 2c0f4b6 2eb9d12 2c0f4b6 2eb9d12 2c0f4b6 2eb9d12 2c0f4b6 2eb9d12 2c0f4b6 d86b75d 2eb9d12 d86b75d 2eb9d12 fc1a67b 2eb9d12 abaac68 2eb9d12 465aa0f 2eb9d12 3cfc13d 2eb9d12 2c0f4b6 2eb9d12 9434d7b 2eb9d12 3cfc13d 2eb9d12 9434d7b 2eb9d12 3cfc13d 2eb9d12 5c19f8c 2eb9d12 3cfc13d 2eb9d12 2c0f4b6 2e145cf 2eb9d12 2e145cf 2c0f4b6 2eb9d12 2c0f4b6 2eb9d12 2c0f4b6 2eb9d12 2c0f4b6 2eb9d12 2c0f4b6 2e145cf 2eb9d12 5c19f8c 2eb9d12 5c19f8c 2eb9d12 9434d7b 2c0f4b6 2e145cf 2c0f4b6 2e145cf abaac68 2c0f4b6 abaac68 d86b75d 2c0f4b6 d86b75d 2c0f4b6 d86b75d 3cfc13d 9434d7b d86b75d 2eb9d12 fc1a67b d86b75d fc1a67b 2c0f4b6 2eb9d12 3cfc13d 2eb9d12 9434d7b 2eb9d12 9434d7b 3cfc13d 8bd556b 3cfc13d 2eb9d12 3cfc13d 8bd556b 3cfc13d 9434d7b fc1a67b 2eb9d12 fc1a67b 8bd556b fc1a67b 5c19f8c 3cfc13d 2c0f4b6 d86b75d 2c0f4b6 3cfc13d 2c0f4b6 fc1a67b 2c0f4b6 2eb9d12 2c0f4b6 d86b75d 2eb9d12 2c0f4b6 d86b75d 2c0f4b6 2eb9d12 2c0f4b6 d86b75d 2c0f4b6 2e145cf 2c0f4b6 2eb9d12 2c0f4b6 abaac68 2c0f4b6 2e145cf 9cef53f b5f5087 2c0f4b6 | 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 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 | <!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Synkris Look</title>
<style>
:root {
--bg: #000000;
--card-bg: #0a0a0a;
--primary: #ccff00;
--primary-hover: #b3e600;
--primary-gradient: linear-gradient(45deg, #ccff00, #b3e600);
--text: #ffffff;
--text-secondary: #a1a1a1;
--border: #333333;
--input-bg: #111111;
}
body {
font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
background-color: var(--bg);
color: var(--text);
margin: 0;
padding: 20px;
display: flex;
justify-content: center;
align-items: flex-start;
min-height: 100vh;
}
.container {
background-color: var(--card-bg);
width: 100%;
max-width: 750px;
padding: 35px;
border-radius: 20px;
border: 1px solid #222;
box-shadow: 0 0 40px rgba(204, 255, 0, 0.08);
}
h1 {
text-align: center;
color: var(--primary);
margin-top: 0;
margin-bottom: 5px;
font-size: 2.2rem;
text-transform: uppercase;
letter-spacing: 2px;
text-shadow: 0 0 10px rgba(204, 255, 0, 0.3);
}
p.subtitle {
text-align: center;
color: var(--text-secondary);
margin-bottom: 30px;
font-size: 0.9rem;
letter-spacing: 0.5px;
}
.mode-selector {
display: grid;
grid-template-columns: repeat(3, 1fr);
margin-bottom: 30px;
background-color: var(--input-bg);
border-radius: 12px;
padding: 5px;
border: 1px solid var(--border);
}
.mode-btn {
padding: 12px 10px;
background-color: transparent;
border: none;
color: var(--text-secondary);
font-size: 0.85rem;
font-weight: 700;
cursor: pointer;
border-radius: 8px;
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.mode-btn.active {
background-color: var(--primary);
color: #000;
box-shadow: 0 0 15px rgba(204, 255, 0, 0.4);
transform: scale(1.02);
}
.form-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 22px;
}
.full-width {
grid-column: span 2;
}
.form-group {
display: flex;
flex-direction: column;
}
label, .checkbox-label {
font-weight: 600;
margin-bottom: 8px;
font-size: 0.8rem;
color: var(--primary);
text-transform: uppercase;
letter-spacing: 0.8px;
}
label i {
margin-right: 6px;
font-size: 0.9em;
}
select, textarea, input[type="text"] {
padding: 12px 14px;
border: 1px solid var(--border);
border-radius: 8px;
font-size: 1rem;
background-color: var(--input-bg);
color: var(--text);
transition: all 0.3s ease;
outline: none;
width: 100%;
box-sizing: border-box;
}
select:focus, textarea:focus, input[type="text"]:focus {
border-color: var(--primary);
box-shadow: 0 0 10px rgba(204, 255, 0, 0.2);
}
textarea {
resize: vertical;
min-height: 80px;
font-family: inherit;
}
.btn-container {
margin-top: 35px;
text-align: center;
}
.action-btn {
background-image: var(--primary-gradient);
color: #000;
border: none;
padding: 16px 30px;
font-size: 1.1rem;
font-weight: 800;
border-radius: 12px;
cursor: pointer;
width: 100%;
transition: all 0.2s ease;
box-shadow: 0 0 20px rgba(204, 255, 0, 0.4);
display: flex;
justify-content: center;
align-items: center;
gap: 12px;
text-transform: uppercase;
}
.action-btn:hover {
transform: scale(1.02);
box-shadow: 0 0 30px rgba(204, 255, 0, 0.6);
}
.action-btn:active {
transform: scale(0.98);
}
select option {
background-color: #000;
color: #fff;
}
.form-mode {
display: none;
}
.form-mode.active {
display: contents;
}
.checkbox-container {
display: flex;
align-items: center;
background-color: var(--input-bg);
border: 1px solid var(--border);
border-radius: 8px;
padding: 12px 14px;
}
.checkbox-container input {
margin-right: 10px;
}
.sub-mode-selector {
display: flex;
justify-content: center;
background-color: #000;
border-radius: 10px;
padding: 4px;
border: 1px solid var(--border);
margin-bottom: 25px;
}
.sub-mode-btn {
flex: 1;
padding: 9px 15px;
background: transparent;
border: none;
color: var(--text-secondary);
font-size: 0.8rem;
font-weight: 600;
cursor: pointer;
border-radius: 7px;
transition: all 0.3s ease;
text-transform: uppercase;
}
.sub-mode-btn.active {
background-color: var(--primary);
color: #000;
box-shadow: 0 0 10px rgba(204, 255, 0, 0.3);
}
.sub-form-mode {
display: none;
}
.sub-form-mode.active {
display: contents;
}
.style-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.style-btn {
padding: 12px 10px;
background-color: var(--input-bg);
border: 1px solid var(--border);
color: var(--text-secondary);
font-size: 0.85rem;
font-weight: 600;
cursor: pointer;
border-radius: 8px;
transition: all 0.3s ease;
text-align: center;
width: 100%;
}
.style-btn:hover {
border-color: var(--primary);
color: var(--text);
}
.style-btn.active {
background-color: var(--primary);
color: #000;
border-color: var(--primary);
box-shadow: 0 0 10px rgba(204, 255, 0, 0.3);
}
@media (max-width: 600px) {
.form-grid {
grid-template-columns: 1fr;
}
.full-width {
grid-column: span 1;
}
.container {
padding: 20px;
}
h1 {
font-size: 1.8rem;
}
.mode-selector {
grid-template-columns: 1fr;
gap: 5px;
}
}
</style>
</head>
<body>
<div class="container">
<h1>Synkris Look</h1>
<p class="subtitle">PROMPT GENERATOR & LAUNCHER</p>
<div class="mode-selector">
<button id="modeModelBtn" class="mode-btn" onclick="switchMode('model')">Фото на модели</button>
<button id="modeChildrenBtn" class="mode-btn" onclick="switchMode('children')">Модели (дети)</button>
<button id="modeObjectBtn" class="mode-btn" onclick="switchMode('object')">Предметное фото</button>
</div>
<form id="promptForm">
<div class="form-grid">
<div id="modelMode" class="form-mode">
<div class="form-group">
<label for="gender">Пол</label>
<select id="gender" onchange="autoAdjustDefaults()">
<option value="Woman">Женщина</option>
<option value="Man">Мужчина</option>
</select>
</div>
<div class="form-group">
<label for="age">Возраст</label>
<select id="age">
<option value="18 years old">18 лет</option>
<option value="20-25 years old" selected>20-25 лет</option>
<option value="25-30 years old">25-30 лет</option>
<option value="30-40 years old">30-40 лет</option>
</select>
</div>
<div class="form-group">
<label for="nationality">Внешность/Этнос</label>
<select id="nationality">
<option value="Eastern European">Восточная Европа</option>
<option value="Northern European">Скандинавская</option>
<option value="Asian">Азиатская</option>
<option value="Latin American">Латиноамериканская</option>
<option value="Mixed Race">Смешанная</option>
</select>
</div>
<div class="form-group">
<label for="bodyType">Телосложение</label>
<select id="bodyType">
<option value="Fit and slim">Стройное/Подтянутое</option>
<option value="Athletic">Спортивное</option>
<option value="Curvy">Пышное (Curvy)</option>
<option value="Skinny model look">Модельная худоба</option>
</select>
</div>
<div class="form-group">
<label for="hairColor">Цвет волос</label>
<select id="hairColor">
<option value="Brunette">Брюнет</option>
<option value="Blonde">Блонд</option>
<option value="Black">Черные</option>
<option value="Redhead">Рыжие</option>
</select>
</div>
<div class="form-group">
<label for="hairstyle">Стрижка</label>
<select id="hairstyle">
<option value="Long loose wavy hair">Длинные волны</option>
<option value="Straight long hair">Длинные прямые</option>
<option value="Messy bun">Небрежный пучок</option>
<option value="Bob cut">Каре</option>
<option value="Fade cut">Фейд (Мужской)</option>
</select>
</div>
<div class="form-group">
<label for="emotion">Эмоция/Выражение лица</label>
<select id="emotion">
<option value="Confident look">Уверенный взгляд</option>
<option value="Smiling gently">Легкая улыбка</option>
<option value="Serious and thoughtful">Серьезное и вдумчивое</option>
<option value="Playful wink">Игривое подмигивание</option>
<option value="Mysterious gaze">Загадочный взгляд</option>
</select>
</div>
<div class="form-group">
<label for="pose">Поза</label>
<select id="pose">
<option value="standing confidently">Стоит уверенно</option>
<option value="walking towards camera">Идет на камеру</option>
<option value="sitting relaxed">Сидит расслабленно</option>
<option value="leaning against a wall">Оперевшись о стену</option>
<option value="dynamic high fashion editorial pose" selected>Динамичная поза</option>
</select>
</div>
<div class="form-group">
<label for="shotType">Ракурс/План</label>
<select id="shotType">
<option value="Full body shot">В полный рост</option>
<option value="Medium shot, waist up">По пояс</option>
<option value="Cowboy shot, mid-thigh up">"Ковбойский" план</option>
<option value="Portrait shot">Портрет</option>
<option value="Close-up">Крупный план</option>
</select>
</div>
<div class="form-group">
<label for="light">Свет</label>
<select id="light">
<option value="volumetric studio lighting">Объемный студийный</option>
<option value="cinematic lighting">Кинематографичный</option>
<option value="natural morning light">Естественный утренний</option>
<option value="dramatic side light">Драматичный боковой</option>
<option value="neon lights">Неоновый</option>
</select>
</div>
<div class="form-group full-width">
<label>Эстетика</label>
<div id="styleSelector" class="style-grid">
<button type="button" class="style-btn active" data-value="Raw Candid Photography">Живое фото (Raw)</button>
<button type="button" class="style-btn" data-value="Cinematic Movie Still">Кадр из фильма</button>
<button type="button" class="style-btn" data-value="Fashion Editorial">Модный журнал</button>
<button type="button" class="style-btn" data-value="Street Style Photo">Уличный стиль</button>
<button type="button" class="style-btn" data-value="Dark Moody Atmosphere">Мрачная атмосфера</button>
<button type="button" class="style-btn" data-value="Vintage Analog Film">Пленка (Vintage)</button>
</div>
</div>
<div class="form-group">
<label for="camera">Камера/Объектив</label>
<select id="camera">
<option value="Fujifilm XT4, 56mm F1.2 lens">Fuji 56mm (Портрет)</option>
<option value="Sony A7III, 35mm F1.4 lens">Sony 35mm (Универсал)</option>
<option value="Canon EOS R5, 85mm F1.2 lens">Canon 85mm (Боке)</option>
<option value="Leica M11, Summilux 50mm">Leica 50mm (Стрит)</option>
<option value="shot on 35mm film, Kodak Portra 400">Пленка Kodak Portra</option>
</select>
</div>
<div class="form-group full-width">
<label for="location">Локация</label>
<select id="location">
<option value="in a clean white seamless studio background">Студия (белый фон)</option>
<option value="in a creative editorial studio with mirrors and geometric shapes">Студия "Эдиториал" (зеркала)</option>
<option value="on a rainy night street in Tokyo with neon lights">Улица (ночной Токио, неон)</option>
<option value="in a minimalist modern interior with concrete walls">Минимализм (лофт, бетон)</option>
<option value="on a rooftop overlooking the city skyline at sunset">Крыша с видом на город</option>
<option value="in a luxurious vintage room with classic furniture">Роскошный интерьер (винтаж)</option>
<option value="in a dense, magical forest with sunbeams filtering through">Природа (сказочный лес)</option>
<option value="on a beautiful sandy beach during the golden hour">Природа (пляж, закат)</option>
<option value="in a vibrant, bustling urban market">Город (оживленный рынок)</option>
<option value="inside a futuristic, sci-fi corridor with glowing lines">Фантастика (коридор)</option>
</select>
</div>
<div class="form-group full-width">
<label for="model_details">Одежда и Детали (Опишите ткань и фасон!)</label>
<textarea id="model_details" placeholder="Укажите ткань и детали. Пример: в черном кожаном плаще с грубой текстурой, заметные швы, массивная металлическая фурнитура, шелковый шарф"></textarea>
</div>
</div>
<div id="childrenMode" class="form-mode">
<div class="full-width sub-mode-selector">
<button id="newbornBtn" type="button" class="sub-mode-btn" onclick="switchChildrenSubMode('newborn')">Новорождённые</button>
<button id="olderChildrenBtn" type="button" class="sub-mode-btn" onclick="switchChildrenSubMode('older')">Дети и подростки</button>
</div>
<div id="newbornSubMode" class="sub-form-mode">
<div class="form-group">
<label>Пол</label>
<select disabled><option>Нейтральный</option></select>
</div>
<div class="form-group">
<label for="newborn_age">Возраст</label>
<select id="newborn_age">
<option value="1 month old newborn baby">0-3 месяца</option>
<option value="4 months old baby">3-6 месяцев</option>
</select>
</div>
<div class="form-group">
<label for="newborn_ethnicity">Внешность/Этнос</label>
<select id="newborn_ethnicity">
<option value="European">Европейская</option>
<option value="Asian">Азиатская</option>
<option value="Latin">Латиноамериканская</option>
<option value="Mixed Race">Смешанная</option>
</select>
</div>
<div class="form-group">
<label for="newborn_emotion">Эмоция/Состояние</label>
<select id="newborn_emotion">
<option value="sleeping peacefully">Мирно спит</option>
<option value="calm and awake">Спокоен и бодрствует</option>
<option value="cute yawn">Мило зевает</option>
<option value="gentle smile in sleep">Улыбается во сне</option>
</select>
</div>
<div class="form-group full-width">
<label for="newborn_pose">Поза</label>
<select id="newborn_pose">
<option value="wrapped in a soft swaddle">Завернут в пеленку</option>
<option value="lying in a cozy basket">Лежит в уютной корзинке</option>
<option value="on a fluffy white blanket">На пушистом белом пледе</option>
<option value="tummy time pose">Лежит на животике</option>
</select>
</div>
<div class="form-group full-width">
<label for="newborn_details">Одежда и Детали (Ткань, вязка)</label>
<textarea id="newborn_details" placeholder="Пример: в вязаной шапочке крупной вязки (шерсть мериноса), хлопковая пеленка с текстурой муслина"></textarea>
</div>
</div>
<div id="olderChildrenSubMode" class="sub-form-mode">
<div class="form-group">
<label for="child_gender">Пол</label>
<select id="child_gender">
<option value="Boy">Мальчик</option>
<option value="Girl">Девочка</option>
</select>
</div>
<div class="form-group">
<label for="child_age">Возраст</label>
<select id="child_age">
<option value="2 years old toddler">1-3 года</option>
<option value="5 years old child">4-6 лет</option>
<option value="8 years old child">7-10 лет</option>
<option value="12 years old pre-teen">11-14 лет</option>
<option value="16 years old teenager">15-17 лет</option>
</select>
</div>
<div class="form-group">
<label for="child_ethnicity">Внешность/Этнос</label>
<select id="child_ethnicity">
<option value="Eastern European">Восточная Европа</option>
<option value="Northern European">Скандинавская</option>
<option value="Asian">Азиатская</option>
<option value="Latin American">Латиноамериканская</option>
</select>
</div>
<div class="form-group">
<label for="child_emotion">Эмоция/Выражение лица</label>
<select id="child_emotion">
<option value="happy and laughing">Счастливый, смеется</option>
<option value="curious and looking at camera">Любопытный взгляд</option>
<option value="thoughtful and calm">Задумчивый</option>
<option value="energetic and playful">Энергичный, игривый</option>
</select>
</div>
<div class="form-group full-width">
<label for="child_pose">Поза/Действие</label>
<select id="child_pose">
<option value="running in a field">Бежит по полю</option>
<option value="playing with toys">Играет с игрушками</option>
<option value="sitting and reading a book">Сидит с книгой</option>
<option value="hugging a pet">Обнимает питомца</option>
<option value="posing for a school photo">Позирует для фото</option>
</select>
</div>
<div class="form-group full-width">
<label for="child_details">Одежда и Детали (Опишите материалы!)</label>
<textarea id="child_details" placeholder="Пример: джинсовый комбинезон с потертостями и металлическими пуговицами, вельветовая рубашка в рубчик"></textarea>
</div>
</div>
<div class="form-group">
<label for="child_shotType">Ракурс/План</label>
<select id="child_shotType">
<option value="Full body shot">В полный рост</option>
<option value="Medium shot, waist up">По пояс</option>
<option value="Portrait shot">Портрет</option>
<option value="Candid action shot">Репортажный (в движении)</option>
</select>
</div>
<div class="form-group">
<label for="child_light">Свет</label>
<select id="child_light">
<option value="soft natural daylight">Мягкий дневной свет</option>
<option value="golden hour lighting">Свет "золотого часа"</option>
<option value="bright studio light">Яркий студийный</option>
<option value="cinematic lighting">Кинематографичный</option>
</select>
</div>
<div class="form-group full-width">
<label for="child_location">Локация</label>
<select id="child_location">
<option value="in a clean white seamless studio background">Студия (белый фон)</option>
<option value="in a sunlit green park">Солнечный парк</option>
<option value="on a sandy beach">Песчаный пляж</option>
<option value="in a cozy, decorated children's room">Уютная детская комната</option>
<option value="in a magical forest">Сказочный лес</option>
<option value="at an urban playground">Городская площадка</option>
</select>
</div>
<div class="form-group full-width">
<label for="child_style">Эстетика</label>
<select id="child_style">
<option value="Candid lifestyle photography">Лайфстайл фото</option>
<option value="Fine art portrait">Художественный портрет</option>
<option value="Cinematic Movie Still">Кадр из фильма</option>
<option value="Vintage Analog Film">Пленка (Vintage)</option>
</select>
</div>
</div>
<div id="objectMode" class="form-mode">
<div class="form-group full-width">
<label for="object_name">Название/Описание предмета</label>
<input type="text" id="object_name" placeholder="Например: флакон духов 'Noir', кроссовки 'CyberRun', часы 'Classic Timepiece'">
</div>
<div class="form-group">
<label for="object_style">Стилистика съемки</label>
<select id="object_style">
<option value="Minimalism on a cyclorama">Минимализм на циклораме</option>
<option value="Lifestyle, in context">Лайфстайл (в контексте)</option>
<option value="Detailed macro shot">Макросъемка деталей</option>
<option value="Levitation shot">Левитация (в воздухе)</option>
<option value="Creative flat lay">Креативная раскладка (Flat lay)</option>
</select>
</div>
<div class="form-group">
<label for="object_lighting">Освещение</label>
<select id="object_lighting">
<option value="soft, diffused studio light">Мягкий студийный свет</option>
<option value="hard direct sunlight with dramatic shadows">Жесткий солнечный с тенями</option>
<option value="backlit with a beautiful glow">Контровой свет (с сиянием)</option>
<option value="moody, low-key lighting">Мрачное, низкий ключ</option>
<option value="vibrant neon and colored gels">Цветной/неоновый свет</option>
</select>
</div>
<div class="form-group">
<label for="object_composition">Композиция</label>
<select id="object_composition">
<option value="centered composition">Центральная</option>
<option value="dynamic diagonal angle">Динамичная диагональная</option>
<option value="rule of thirds">По правилу третей</option>
<option value="symmetrical composition">Симметричная</option>
</select>
</div>
<div class="form-group">
<label for="object_background">Тип фона</label>
<select id="object_background">
<option value="clean studio background (white/grey)">Однотонный студийный</option>
<option value="on a wooden surface">Деревянная поверхность</option>
<option value="on a marble surface">Мрамор</option>
<option value="on a concrete texture">Бетон</option>
<option value="on a silk/linen fabric">Ткань (шелк/лен)</option>
<option value="in a natural environment (moss, sand, water)">Природное окружение (мох, песок)</option>
</select>
</div>
<div class="form-group full-width">
<label for="object_details">Дополнительные детали окружения</label>
<textarea id="object_details" placeholder="Пример: капли воды на флаконе, текстура кожи ремешка, гравировка на металле"></textarea>
</div>
<div class="form-group full-width">
<label class="checkbox-label">Креативность</label>
<div class="checkbox-container">
<input type="checkbox" id="creative_mode" onchange="toggleCreativeMode()">
<label for="creative_mode" style="color: var(--text); text-transform: none; letter-spacing: 0;">Креативный фон от ИИ (игнорирует "Тип фона")</label>
</div>
</div>
</div>
</div>
<div class="btn-container">
<button type="button" class="action-btn" onclick="processAndOpen()">
<span>Launch Synkris AI</span>
<span style="font-size: 1.2em">⚡</span>
</button>
</div>
</form>
</div>
<script>
let currentMode = 'model';
let currentChildrenSubMode = 'newborn';
function switchMode(mode) {
currentMode = mode;
document.getElementById('modelMode').classList.toggle('active', mode === 'model');
document.getElementById('childrenMode').classList.toggle('active', mode === 'children');
document.getElementById('objectMode').classList.toggle('active', mode === 'object');
document.getElementById('modeModelBtn').classList.toggle('active', mode === 'model');
document.getElementById('modeChildrenBtn').classList.toggle('active', mode === 'children');
document.getElementById('modeObjectBtn').classList.toggle('active', mode === 'object');
}
function switchChildrenSubMode(subMode) {
currentChildrenSubMode = subMode;
document.getElementById('newbornSubMode').classList.toggle('active', subMode === 'newborn');
document.getElementById('olderChildrenSubMode').classList.toggle('active', subMode === 'older');
document.getElementById('newbornBtn').classList.toggle('active', subMode === 'newborn');
document.getElementById('olderChildrenBtn').classList.toggle('active', subMode === 'older');
}
function autoAdjustDefaults() {
if (currentMode !== 'model') return;
const gender = document.getElementById('gender').value;
const hairstyle = document.getElementById('hairstyle');
const bodyType = document.getElementById('bodyType');
if (gender === 'Man') {
hairstyle.value = 'Fade cut';
bodyType.value = 'Athletic';
} else {
hairstyle.value = 'Long loose wavy hair';
bodyType.value = 'Fit and slim';
}
}
function toggleCreativeMode() {
const isCreative = document.getElementById('creative_mode').checked;
document.getElementById('object_background').disabled = isCreative;
}
function setupStyleSelector() {
const styleContainer = document.getElementById('styleSelector');
if (!styleContainer) return;
const styleButtons = styleContainer.querySelectorAll('.style-btn');
styleButtons.forEach(btn => {
btn.addEventListener('click', () => {
styleButtons.forEach(innerBtn => innerBtn.classList.remove('active'));
btn.classList.add('active');
});
});
}
async function processAndOpen() {
const btn = document.querySelector('.action-btn');
const originalText = btn.innerHTML;
let fullPrompt = '';
if (currentMode === 'model') {
const style = document.querySelector('#styleSelector .style-btn.active').dataset.value;
const shotType = document.getElementById('shotType').value;
const age = document.getElementById('age').value;
const nationality = document.getElementById('nationality').value;
const gender = document.getElementById('gender').value;
const bodyType = document.getElementById('bodyType').value;
const hairColor = document.getElementById('hairColor').value;
const hairstyle = document.getElementById('hairstyle').value;
const emotion = document.getElementById('emotion').value;
const pose = document.getElementById('pose').value;
const details = document.getElementById('model_details').value || "high-end fashion garments";
const location = document.getElementById('location').value;
const light = document.getElementById('light').value;
const camera = document.getElementById('camera').value;
fullPrompt = `style:: ${style}, high fashion editorial, luxury brand campaign (like Dior, D&G), Vogue aesthetic, hyper-detailed, impeccable.
composition:: ${shotType}.
subject:: An ultra-high-resolution, flawless photograph of a striking ${age} ${nationality} high fashion model.
model_characteristics:: physique ${bodyType}, ${hairColor} ${hairstyle} styled to perfection, expression ${emotion} (powerful yet serene), pose ${pose}.
clothing_focus:: The model is wearing ${details}, emphasizing haute couture craftsmanship.
texture_&_material_fidelity:: Extreme macro precision on textiles. Render the fabric weave, thread count, visible stitching, material weight, realistic creases and folds, tactile surface imperfections, and how light interacts with the fabric.
human_realism_details:: Capture flawless yet realistic skin texture. Perfect complexion, highlighting bone structure with expert contouring light. The image must look professionally retouched for a high-end magazine, but retain believability. Avoid any hint of digital artifacting.
scene_environment:: ${location}, creating a sophisticated and aspirational atmosphere.
technical:: Masterpiece professional photograph, ${light} meticulously crafted to sculpt the subject, shot on ${camera}, 8k UHD, tack sharp focus, breathtaking detail, uncompressed, color graded to perfection, award-winning photography.`;
} else if (currentMode === 'children') {
const style = document.getElementById('child_style').value;
const shotType = document.getElementById('child_shotType').value;
const location = document.getElementById('child_location').value;
const light = document.getElementById('child_light').value;
let subject = '';
let pose_info = '';
let clothing_details = '';
if(currentChildrenSubMode === 'newborn') {
const age = document.getElementById('newborn_age').value;
const ethnicity = document.getElementById('newborn_ethnicity').value;
const emotion = document.getElementById('newborn_emotion').value;
const pose = document.getElementById('newborn_pose').value;
clothing_details = document.getElementById('newborn_details').value || "soft knitted fabric";
subject = `A beautiful, ultra-photorealistic portrait of a ${age} ${ethnicity} baby. Face expression is ${emotion}.`;
pose_info = `The baby is ${pose}.`;
} else {
const age = document.getElementById('child_age').value;
const gender = document.getElementById('child_gender').value;
const ethnicity = document.getElementById('child_ethnicity').value;
const emotion = document.getElementById('child_emotion').value;
const pose = document.getElementById('child_pose').value;
clothing_details = document.getElementById('child_details').value || "detailed textured casual clothes";
subject = `A beautiful, ultra-photorealistic portrait of a ${age} ${ethnicity} ${gender}. Face expression is ${emotion}.`;
pose_info = `The child is ${pose}.`;
}
fullPrompt = `style:: ${style}, luxury children's fashion campaign, cinematic storytelling, enchanting, ultra-photorealistic.
composition:: ${shotType}.
subject:: ${subject} The photograph must look like a cover shot for a high-end children's fashion magazine.
clothing_focus:: The child is wearing ${clothing_details}, presented as a luxury garment.
texture_&_material_fidelity:: Macro-level detail on clothing textures. Focus on the weave of cotton, the softness of wool, the texture of denim. Show realistic wrinkles, creases from movement, and even subtle fabric pilling. 100% texture fidelity is crucial.
human_realism_details:: Capture the pure, innocent beauty of the child. Flawless, dewy skin with a natural glow. The light should have a painterly, almost magical quality, highlighting their features beautifully. Eyes must be expressive and full of life.
scene_activity:: ${pose_info} The location is ${location}, creating a whimsical and high-end narrative.
technical:: Masterpiece photograph, ${light} creating a magical and soft atmosphere, shot on Fujifilm XT4, 56mm F1.2 lens, 8k, tack sharp focus, impeccable detail, perfect color grading, looks like a real captured moment of wonder from a luxury campaign.`;
} else {
const objectName = document.getElementById('object_name').value || "a product";
const objectStyle = document.getElementById('object_style').value;
const objectLighting = document.getElementById('object_lighting').value;
const objectComposition = document.getElementById('object_composition').value;
const isCreative = document.getElementById('creative_mode').checked;
const objectDetails = document.getElementById('object_details').value || "rich textures";
let background = '';
if (isCreative) {
background = "on a creative, surreal, and artistic background generated by AI to complement the product's essence";
} else {
background = document.getElementById('object_background').value;
}
fullPrompt = `style:: Luxury product advertising, ${objectStyle}, sophisticated, sleek, ultra-photorealistic.
subject:: A breathtaking, hyper-realistic photograph of the luxury product: ${objectName}. The image must evoke desire and exclusivity.
material_focus:: Achieve 100% physical accuracy with an emphasis on perfection. Render pristine, flawless surfaces. Showcase the intricate details of the material grain, polished metal sheen, or crystal-clear refractions. Even microscopic details should look clean and perfect.
scene_context:: Placed ${background}. Additional details: ${objectDetails}, arranged with artistic precision.
composition:: ${objectComposition}, creating a powerful and elegant visual statement.
technical:: Advertisement-grade photograph, ${objectLighting} designed to accentuate the product's luxury form, 8k UHD resolution, flawless focus, extreme macro detail, advanced ray-traced reflections, impeccably clean, exudes quality and high-end appeal, masterpiece.`;
}
const cleanPrompt = fullPrompt.replace(/\s+/g, ' ').replace(/\n/g, ' ').trim();
try {
await navigator.clipboard.writeText(cleanPrompt);
btn.style.backgroundImage = "linear-gradient(45deg, #ffffff, #e0e0e0)";
btn.style.color = "#000";
btn.innerHTML = "ПРОМПТ СКОПИРОВАН. ЗАПУСК... 🚀";
setTimeout(() => {
window.open('https://lmarena.ai/ru?chat-modality=image&mode=direct', '_blank');
setTimeout(() => {
btn.style.backgroundImage = "";
btn.innerHTML = originalText;
}, 1000);
}, 800);
} catch (err) {
console.error('Failed to copy: ', err);
alert("Не удалось скопировать. Промпт в консоли разработчика.");
console.log("Ваш промпт:\n", cleanPrompt);
}
}
document.addEventListener('DOMContentLoaded', () => {
switchMode('model');
switchChildrenSubMode('newborn');
autoAdjustDefaults();
setupStyleSelector();
});
</script>
</body>
</html> |