Spaces:
Running
Running
| <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> |