Spaces:
Running
on
Zero
Running
on
Zero
Update design_styles.py
Browse files- design_styles.py +334 -355
design_styles.py
CHANGED
@@ -2,543 +2,522 @@
|
|
2 |
DESIGN_STYLES = {
|
3 |
"Современный минимализм": {
|
4 |
"prompt": "modern minimalist interior design, clean lines, neutral colors palette, uncluttered space, functional furniture, lots of natural light, white walls, wooden floors, open space concept",
|
5 |
-
"negative": "cluttered, busy, ornate, dark, vintage,
|
6 |
"strength": 0.8,
|
7 |
-
"materials": ["
|
8 |
"colors": ["#FFFFFF", "#F5F5F5", "#E0E0E0", "#BDBDBD", "#424242", "#212121"],
|
9 |
-
"lighting": "
|
10 |
"room_specific": {
|
11 |
-
"living room": "minimalist living room with low-profile
|
12 |
-
"bedroom": "minimal bedroom design, platform bed, built-in wardrobes,
|
13 |
-
"kitchen": "modern
|
14 |
-
"bathroom": "
|
15 |
-
"home office": "minimal
|
16 |
-
"kids room": "organized kids
|
17 |
-
"hallway": "minimal entrance, built-in coat storage,
|
18 |
}
|
19 |
},
|
20 |
|
21 |
"Скандинавский": {
|
22 |
-
"prompt": "scandinavian interior design, hygge atmosphere, cozy and
|
23 |
-
"negative": "industrial, dark colors, heavy
|
24 |
"strength": 0.75,
|
25 |
-
"materials": ["светлое дерево", "
|
26 |
-
"colors": ["#FFFFFF", "#
|
27 |
-
"lighting": "
|
28 |
"room_specific": {
|
29 |
-
"living room": "scandinavian living room,
|
30 |
-
"bedroom": "nordic bedroom,
|
31 |
-
"kitchen": "scandinavian kitchen, white cabinets
|
32 |
-
"bathroom": "nordic bathroom,
|
33 |
-
"home office": "scandinavian workspace,
|
34 |
-
"kids room": "nordic kids room, natural materials, soft colors, wooden toys, cozy
|
35 |
-
"hallway": "scandinavian entrance, wooden bench, coat hooks,
|
36 |
}
|
37 |
},
|
38 |
|
39 |
"Индустриальный": {
|
40 |
-
"prompt": "industrial loft interior, exposed brick walls, metal fixtures and pipes, concrete floors, dark color scheme, vintage leather furniture, edison bulb lighting, raw materials, urban
|
41 |
-
"negative": "pastel colors, floral patterns, traditional
|
42 |
"strength": 0.85,
|
43 |
-
"materials": ["кирпич", "металл", "бетон", "кожа", "
|
44 |
-
"colors": ["#3E3E3E", "#
|
45 |
-
"lighting": "
|
46 |
"room_specific": {
|
47 |
-
"living room": "industrial living room, leather sofa, metal coffee table,
|
48 |
-
"bedroom": "industrial bedroom, metal bed frame, exposed
|
49 |
-
"kitchen": "industrial kitchen, stainless steel appliances, concrete counters, open
|
50 |
-
"bathroom": "industrial bathroom, concrete sink,
|
51 |
-
"home office": "industrial office, metal desk, leather chair, exposed brick, vintage
|
52 |
-
"kids room": "industrial kids room
|
53 |
-
"hallway": "industrial entrance, metal coat rack, concrete
|
54 |
}
|
55 |
},
|
56 |
|
57 |
"Бохо": {
|
58 |
-
"prompt": "bohemian boho interior, eclectic mix
|
59 |
-
"negative": "minimalist, modern, cold, empty, monochrome,
|
60 |
"strength": 0.7,
|
61 |
-
"materials": ["ротанг", "макраме", "
|
62 |
-
"colors": ["#
|
63 |
-
"lighting": "
|
64 |
"room_specific": {
|
65 |
-
"living room": "boho living room,
|
66 |
-
"bedroom": "bohemian bedroom, canopy bed, tapestry wall
|
67 |
-
"kitchen": "boho kitchen, open shelving
|
68 |
-
"bathroom": "
|
69 |
-
"home office": "boho workspace, vintage desk,
|
70 |
-
"kids room": "boho kids room, teepee, colorful textiles, wall hangings, creative play space",
|
71 |
-
"hallway": "
|
72 |
}
|
73 |
},
|
74 |
|
75 |
"Японский дзен": {
|
76 |
-
"prompt": "japanese zen interior,
|
77 |
-
"negative": "western furniture,
|
78 |
"strength": 0.8,
|
79 |
-
"materials": ["бамбук", "рисовая бумага", "татами", "
|
80 |
-
"colors": ["#F5F5DC", "#
|
81 |
-
"lighting": "
|
82 |
"room_specific": {
|
83 |
-
"living room": "japanese living room, low seating, tatami floor, shoji screens, minimal decor, zen
|
84 |
-
"bedroom": "zen bedroom, futon bed, tatami mats,
|
85 |
-
"kitchen": "japanese kitchen,
|
86 |
-
"bathroom": "japanese bathroom, soaking tub, natural materials,
|
87 |
-
"home office": "zen workspace, low desk, floor seating, minimal design, natural light,
|
88 |
-
"kids room": "japanese
|
89 |
-
"hallway": "japanese entrance, genkan area,
|
90 |
}
|
91 |
},
|
92 |
|
93 |
"Ар-деко": {
|
94 |
-
"prompt": "art deco interior design, luxury
|
95 |
-
"negative": "rustic, simple, minimalist, cheap materials, plain,
|
96 |
"strength": 0.75,
|
97 |
-
"materials": ["мрамор", "латунь", "бархат", "зеркала", "
|
98 |
-
"colors": ["#FFD700", "#
|
99 |
-
"lighting": "
|
100 |
"room_specific": {
|
101 |
-
"living room": "art deco living room, velvet sofa, geometric
|
102 |
-
"bedroom": "art deco bedroom, upholstered headboard,
|
103 |
"kitchen": "art deco kitchen, black and gold palette, geometric backsplash, brass fixtures, luxury appliances",
|
104 |
-
"bathroom": "art deco bathroom,
|
105 |
-
"home office": "art deco office, dark wood desk, leather chair, geometric patterns, luxury
|
106 |
-
"kids room": "art deco
|
107 |
"hallway": "art deco entrance, geometric floor pattern, statement mirror, console table, dramatic lighting"
|
108 |
}
|
109 |
},
|
110 |
|
111 |
"Средиземноморский": {
|
112 |
-
"prompt": "mediterranean interior design,
|
113 |
-
"negative": "modern, industrial,
|
114 |
-
"strength": 0.
|
115 |
-
"materials": ["терракота", "
|
116 |
-
"colors": ["#FFFFFF", "#
|
117 |
-
"lighting": "
|
118 |
"room_specific": {
|
119 |
-
"living room": "mediterranean living room,
|
120 |
-
"bedroom": "mediterranean bedroom, wrought iron bed, white linens, blue accents, wooden
|
121 |
-
"kitchen": "mediterranean kitchen,
|
122 |
-
"bathroom": "mediterranean bathroom, mosaic tiles, arched
|
123 |
-
"home office": "mediterranean
|
124 |
-
"kids room": "mediterranean kids room, bright colors, natural materials,
|
125 |
-
"hallway": "mediterranean entrance, terracotta tiles, arched doorway, wrought iron details"
|
126 |
}
|
127 |
},
|
128 |
|
129 |
"Лофт": {
|
130 |
-
"prompt": "modern loft interior, open
|
131 |
-
"negative": "
|
132 |
"strength": 0.8,
|
133 |
-
"materials": ["бетон", "металл", "стекло", "
|
134 |
-
"colors": ["#
|
135 |
-
"lighting": "
|
136 |
"room_specific": {
|
137 |
-
"living room": "loft living room,
|
138 |
-
"bedroom": "loft bedroom,
|
139 |
"kitchen": "loft kitchen, open to living area, industrial island, modern appliances, concrete counters",
|
140 |
-
"bathroom": "loft bathroom,
|
141 |
-
"home office": "loft office space,
|
142 |
-
"kids room": "loft kids room,
|
143 |
-
"hallway": "loft entrance,
|
144 |
-
}
|
145 |
-
},
|
146 |
-
|
147 |
-
"Эко-стиль": {
|
148 |
-
"prompt": "eco-friendly interior design, sustainable materials, natural organic shapes, green living walls, reclaimed wood, energy efficient, biophilic design, earth tones, environmental consciousness",
|
149 |
-
"negative": "synthetic materials, plastic, artificial, wasteful design, toxic materials",
|
150 |
-
"strength": 0.75,
|
151 |
-
"materials": ["переработанное дерево", "бамбук", "пробка", "натуральный камень", "органический хлопок", "джут"],
|
152 |
-
"colors": ["#228B22", "#8FBC8F", "#F5DEB3", "#DEB887", "#D2691E", "#8B4513"],
|
153 |
-
"lighting": "LED lighting, solar tubes, large windows for natural light, energy-efficient fixtures",
|
154 |
-
"room_specific": {
|
155 |
-
"living room": "eco living room, reclaimed wood furniture, organic fabrics, living wall, natural materials",
|
156 |
-
"bedroom": "eco bedroom, organic bedding, reclaimed wood bed, plants, natural ventilation",
|
157 |
-
"kitchen": "eco kitchen, bamboo cabinets, recycled countertops, energy-efficient appliances, herb garden",
|
158 |
-
"bathroom": "eco bathroom, water-saving fixtures, natural materials, plants, sustainable design",
|
159 |
-
"home office": "eco office, sustainable furniture, natural light, plants, recycled materials",
|
160 |
-
"kids room": "eco kids room, non-toxic materials, educational green elements, natural play materials",
|
161 |
-
"hallway": "eco entrance, sustainable flooring, natural materials, energy-efficient lighting"
|
162 |
}
|
163 |
},
|
164 |
|
165 |
"Прованс": {
|
166 |
-
"prompt": "french provence interior, rustic charm, lavender colors, distressed furniture, floral patterns,
|
167 |
"negative": "modern, industrial, dark colors, minimalist, urban, high-tech",
|
168 |
"strength": 0.7,
|
169 |
-
"materials": ["состаренное дерево", "натуральный камень", "лен", "хлопок", "кованое железо"
|
170 |
-
"colors": ["#E6E6FA", "#DDA0DD", "#
|
171 |
-
"lighting": "
|
172 |
"room_specific": {
|
173 |
-
"living room": "provence living room, distressed furniture, floral upholstery, vintage
|
174 |
-
"bedroom": "
|
175 |
-
"kitchen": "provence kitchen, painted cabinets, open shelving,
|
176 |
-
"bathroom": "provence bathroom, clawfoot tub, vintage fixtures, floral
|
177 |
-
"home office": "provence
|
178 |
-
"kids room": "provence kids room,
|
179 |
-
"hallway": "provence entrance, vintage
|
180 |
}
|
181 |
},
|
182 |
|
183 |
"Хай-тек": {
|
184 |
-
"prompt": "high-tech futuristic interior, smart home technology, LED lighting
|
185 |
-
"negative": "vintage, rustic,
|
186 |
"strength": 0.85,
|
187 |
-
"materials": ["стекло", "хром", "пластик", "
|
188 |
-
"colors": ["#C0C0C0", "#
|
189 |
-
"lighting": "LED
|
190 |
"room_specific": {
|
191 |
-
"living room": "high-tech living room, smart TV, automated furniture, LED ambient lighting
|
192 |
-
"bedroom": "
|
193 |
-
"kitchen": "high-tech kitchen, smart appliances, touch controls, LED lighting,
|
194 |
-
"bathroom": "
|
195 |
-
"home office": "high-tech office, multiple monitors, ergonomic
|
196 |
-
"kids room": "
|
197 |
-
"hallway": "high-tech entrance, biometric locks, smart
|
198 |
}
|
199 |
},
|
200 |
|
201 |
-
"
|
202 |
-
"prompt": "
|
203 |
-
"negative": "
|
204 |
"strength": 0.75,
|
205 |
-
"materials": ["
|
206 |
-
"colors": ["#
|
207 |
-
"lighting": "
|
208 |
"room_specific": {
|
209 |
-
"living room": "
|
210 |
-
"bedroom": "
|
211 |
-
"kitchen": "
|
212 |
-
"bathroom": "
|
213 |
-
"home office": "
|
214 |
-
"kids room": "
|
215 |
-
"hallway": "
|
216 |
}
|
217 |
},
|
218 |
|
219 |
-
"
|
220 |
-
"prompt": "
|
221 |
-
"negative": "modern minimalist,
|
222 |
-
"strength": 0.
|
223 |
-
"materials": ["
|
224 |
-
"colors": ["#
|
225 |
-
"lighting": "
|
226 |
"room_specific": {
|
227 |
-
"living room": "
|
228 |
-
"bedroom": "
|
229 |
-
"kitchen": "
|
230 |
-
"bathroom": "
|
231 |
-
"home office": "
|
232 |
-
"kids room": "
|
233 |
-
"hallway": "
|
234 |
}
|
235 |
},
|
236 |
|
237 |
-
"
|
238 |
-
"prompt": "
|
239 |
-
"negative": "
|
240 |
-
"strength": 0.
|
241 |
-
"materials": ["
|
242 |
-
"colors": ["#FFFFFF", "#
|
243 |
-
"lighting": "
|
244 |
"room_specific": {
|
245 |
-
"living room": "
|
246 |
-
"bedroom": "
|
247 |
-
"kitchen": "
|
248 |
-
"bathroom": "
|
249 |
-
"home office": "
|
250 |
-
"kids room": "
|
251 |
-
"hallway": "
|
252 |
}
|
253 |
},
|
254 |
|
255 |
-
"
|
256 |
-
"prompt": "
|
257 |
-
"negative": "
|
258 |
"strength": 0.75,
|
259 |
-
"materials": ["
|
260 |
-
"colors": ["#
|
261 |
-
"lighting": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
262 |
"room_specific": {
|
263 |
-
"living room": "
|
264 |
-
"bedroom": "
|
265 |
-
"kitchen": "
|
266 |
-
"bathroom": "
|
267 |
-
"home office": "
|
268 |
-
"kids room": "
|
269 |
-
"hallway": "
|
270 |
}
|
271 |
},
|
272 |
|
273 |
"Марокканский": {
|
274 |
-
"prompt": "moroccan interior design,
|
275 |
-
"negative": "minimalist,
|
276 |
"strength": 0.8,
|
277 |
-
"materials": ["мозаичная плитка", "
|
278 |
-
"colors": ["#
|
279 |
-
"lighting": "
|
280 |
"room_specific": {
|
281 |
-
"living room": "moroccan living room, low seating, colorful cushions, ornate
|
282 |
-
"bedroom": "moroccan bedroom,
|
283 |
-
"kitchen": "moroccan kitchen, colorful tiles, arched
|
284 |
-
"bathroom": "moroccan bathroom,
|
285 |
-
"home office": "moroccan
|
286 |
-
"kids room": "moroccan kids room,
|
287 |
-
"hallway": "moroccan entrance,
|
288 |
}
|
289 |
},
|
290 |
|
291 |
"Кантри": {
|
292 |
-
"prompt": "country
|
293 |
-
"negative": "modern, urban, minimalist, high-tech,
|
294 |
"strength": 0.7,
|
295 |
-
"materials": ["необработанное дерево", "камень", "хлопок", "
|
296 |
-
"colors": ["#8B4513", "#
|
297 |
-
"lighting": "
|
298 |
"room_specific": {
|
299 |
-
"living room": "country living room, plaid sofa, wooden
|
300 |
-
"bedroom": "country bedroom, wooden bed,
|
301 |
-
"kitchen": "
|
302 |
-
"bathroom": "country bathroom, clawfoot tub, wooden vanity, vintage fixtures",
|
303 |
-
"home office": "country
|
304 |
-
"kids room": "country kids room, wooden furniture, cozy textiles,
|
305 |
-
"hallway": "country entrance, wooden bench,
|
306 |
}
|
307 |
},
|
308 |
|
309 |
-
"
|
310 |
-
"prompt": "
|
311 |
-
"negative": "
|
312 |
-
"strength": 0.
|
313 |
-
"materials": ["
|
314 |
-
"colors": ["#
|
315 |
-
"lighting": "
|
316 |
"room_specific": {
|
317 |
-
"living room": "
|
318 |
-
"bedroom": "
|
319 |
-
"kitchen": "
|
320 |
-
"bathroom": "
|
321 |
-
"home office": "
|
322 |
-
"kids room": "
|
323 |
-
"hallway": "
|
324 |
}
|
325 |
},
|
326 |
|
327 |
-
"
|
328 |
-
"prompt": "
|
329 |
-
"negative": "
|
330 |
-
"strength": 0.
|
331 |
-
"materials": ["
|
332 |
-
"colors": ["#
|
333 |
-
"lighting": "
|
334 |
"room_specific": {
|
335 |
-
"living room": "
|
336 |
-
"bedroom": "
|
337 |
-
"kitchen": "
|
338 |
-
"bathroom": "
|
339 |
-
"home office": "
|
340 |
-
"kids room": "
|
341 |
-
"hallway": "
|
342 |
}
|
343 |
},
|
344 |
|
345 |
-
"
|
346 |
-
"prompt": "
|
347 |
-
"negative": "minimalist,
|
348 |
-
"strength": 0.
|
349 |
-
"materials": ["
|
350 |
-
"colors": ["#
|
351 |
-
"lighting": "
|
352 |
"room_specific": {
|
353 |
-
"living room": "
|
354 |
-
"bedroom": "
|
355 |
-
"kitchen": "
|
356 |
-
"bathroom": "
|
357 |
-
"home office": "
|
358 |
-
"kids room": "
|
359 |
-
"hallway": "
|
360 |
}
|
361 |
}
|
362 |
}
|
363 |
|
364 |
-
# Расширенные элементы для
|
365 |
ROOM_ELEMENTS = {
|
366 |
"Стены": {
|
367 |
-
"prompt_add": "wall treatment,
|
368 |
"options": {
|
369 |
-
"colors": ["белый", "серый", "бежевый", "темно-синий", "зеленый", "терракотовый", "черный", "
|
370 |
-
"textures": ["гладкие", "
|
371 |
-
"patterns": ["однотонные", "
|
372 |
}
|
373 |
},
|
374 |
-
|
375 |
"Пол": {
|
376 |
-
"prompt_add": "flooring, floor
|
377 |
"options": {
|
378 |
-
"materials": ["паркет", "ламинат", "
|
379 |
-
"
|
380 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
381 |
}
|
382 |
},
|
383 |
-
|
384 |
"Освещение": {
|
385 |
-
"prompt_add": "lighting
|
386 |
"options": {
|
387 |
-
"types": ["люстра", "споты", "торшеры", "бра", "LED
|
388 |
-
"
|
389 |
-
"
|
390 |
}
|
391 |
},
|
392 |
-
|
393 |
"Мебель": {
|
394 |
-
"prompt_add": "furniture
|
395 |
"options": {
|
396 |
-
"
|
397 |
-
"materials": ["дерево", "металл", "стекло", "пластик", "
|
398 |
-
"colors": ["натуральное дерево", "белая", "черная", "
|
399 |
}
|
400 |
},
|
401 |
-
|
402 |
-
|
403 |
-
"prompt_add": "decorative elements, artwork, plants, accessories, styling",
|
404 |
"options": {
|
405 |
-
"
|
406 |
-
"
|
407 |
-
"
|
408 |
}
|
409 |
},
|
410 |
-
|
411 |
-
|
412 |
-
"prompt_add": "window treatment, curtains, blinds, natural light",
|
413 |
"options": {
|
414 |
-
"
|
415 |
-
"
|
416 |
-
"
|
417 |
}
|
418 |
},
|
419 |
-
|
420 |
-
|
421 |
-
"prompt_add": "ceiling design, ceiling treatment, ceiling height",
|
422 |
"options": {
|
423 |
-
"types": ["
|
424 |
-
"
|
425 |
-
"
|
426 |
}
|
427 |
}
|
428 |
}
|
429 |
|
430 |
-
#
|
431 |
ROOM_TYPES = {
|
432 |
# Основные жилые помещения
|
433 |
"Гостиная": "living room",
|
434 |
"Гостиная-студия": "open plan living room",
|
435 |
"Гостиная с камином": "living room with fireplace",
|
436 |
-
|
437 |
-
# Спальни
|
438 |
"Спальня": "bedroom",
|
439 |
"Главная спальня": "master bedroom",
|
440 |
-
"Детская спальня": "kids bedroom",
|
441 |
"Гостевая спальня": "guest bedroom",
|
442 |
-
"
|
443 |
-
|
444 |
-
# Кухни
|
445 |
"Кухня": "kitchen",
|
446 |
"Кухня-столовая": "kitchen dining room",
|
447 |
-
"
|
448 |
-
"Маленькая кухня": "small kitchen",
|
449 |
-
|
450 |
-
# Ванные
|
451 |
"Ванная": "bathroom",
|
452 |
"Главная ванная": "master bathroom",
|
453 |
"Гостевой санузел": "powder room",
|
454 |
-
"Ванная с душем": "bathroom with shower",
|
455 |
-
|
456 |
-
# Рабочие пространства
|
457 |
"Кабинет": "home office",
|
458 |
"Библиотека": "library",
|
459 |
-
"
|
460 |
-
"Студия": "studio",
|
461 |
-
|
462 |
-
# Детские
|
463 |
"Детская": "kids room",
|
464 |
"Игровая": "playroom",
|
465 |
"Комната младенца": "nursery",
|
466 |
-
|
467 |
-
# Дополнительные
|
468 |
"Прихожая": "entryway hallway",
|
469 |
-
"Коридор": "corridor",
|
470 |
"Гардеробная": "walk-in closet",
|
471 |
-
"
|
472 |
-
"
|
473 |
-
|
474 |
-
# Специальные
|
475 |
"Домашний кинотеатр": "home theater",
|
476 |
"Спортзал": "home gym",
|
477 |
"Винный погреб": "wine cellar",
|
478 |
-
"Зимний сад": "conservatory
|
479 |
-
"
|
480 |
-
"Подвал": "basement room",
|
481 |
"Балкон": "balcony",
|
482 |
-
"Терраса": "terrace"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
483 |
}
|
484 |
|
485 |
-
#
|
486 |
def get_detailed_prompt(style_name, room_type, additional_params=None):
|
487 |
"""Генерирует детальный промпт для конкретной комнаты в выбранном стиле"""
|
488 |
if style_name not in DESIGN_STYLES:
|
489 |
-
return
|
490 |
-
|
491 |
style = DESIGN_STYLES[style_name]
|
492 |
room_type_en = ROOM_TYPES.get(room_type, "room")
|
493 |
|
494 |
-
# Базовый промпт
|
495 |
base_prompt = style["prompt"]
|
496 |
|
497 |
-
#
|
498 |
-
|
499 |
-
room_prompt = style["room_specific"][room_type_en]
|
500 |
-
else:
|
501 |
-
room_prompt = f"{room_type_en} in {style_name.lower()} style"
|
502 |
-
|
503 |
-
# Добавляем материалы
|
504 |
-
materials = ", ".join(style.get("materials", []))
|
505 |
|
506 |
-
# Добавляем освещение
|
507 |
-
|
|
|
508 |
|
509 |
-
|
510 |
-
full_prompt = f"{room_prompt}, {base_prompt}, materials: {materials}, lighting: {lighting}"
|
511 |
|
512 |
# Добавляем дополнительные параметры если есть
|
513 |
if additional_params:
|
514 |
-
|
515 |
-
|
516 |
-
return
|
517 |
|
518 |
def get_style_colors(style_name):
|
519 |
-
"""Возвращает цветовую палитру стиля"""
|
520 |
if style_name in DESIGN_STYLES:
|
521 |
-
return DESIGN_STYLES[style_name]
|
522 |
-
return []
|
523 |
|
524 |
def get_style_materials(style_name):
|
525 |
-
"""Возвращает список материалов стиля"""
|
526 |
if style_name in DESIGN_STYLES:
|
527 |
-
return DESIGN_STYLES[style_name]
|
528 |
return []
|
529 |
|
530 |
def get_negative_prompt(style_name):
|
531 |
"""Возвращает negative prompt для стиля"""
|
532 |
if style_name in DESIGN_STYLES:
|
533 |
-
return DESIGN_STYLES[style_name]
|
534 |
return ""
|
535 |
-
|
536 |
-
# Цветовые схемы для быстрого применения
|
537 |
-
COLOR_SCHEMES = {
|
538 |
-
"Монохром": ["#FFFFFF", "#F5F5F5", "#D3D3D3", "#A9A9A9", "#696969", "#000000"],
|
539 |
-
"Земляные тона": ["#8B4513", "#A0522D", "#D2691E", "#CD853F", "#DEB887", "#F5DEB3"],
|
540 |
-
"Океан": ["#E0FFFF", "#AFEEEE", "#40E0D0", "#48D1CC", "#00CED1", "#5F9EA0"],
|
541 |
-
"Лес": ["#228B22", "#32CD32", "#00FF00", "#7CFC00", "#7FFF00", "#ADFF2F"],
|
542 |
-
"Закат": ["#FF6347", "#FF7F50", "#FF8C00", "#FFA500", "#FFD700", "#FFFFE0"],
|
543 |
-
"Пастель": ["#FFB6C1", "#FFC0CB", "#FFDAB9", "#FFE4B5", "#FFFACD", "#F0E68C"]
|
544 |
-
}
|
|
|
2 |
DESIGN_STYLES = {
|
3 |
"Современный минимализм": {
|
4 |
"prompt": "modern minimalist interior design, clean lines, neutral colors palette, uncluttered space, functional furniture, lots of natural light, white walls, wooden floors, open space concept",
|
5 |
+
"negative": "cluttered, busy, ornate, dark, vintage, old-fashioned, messy, complicated",
|
6 |
"strength": 0.8,
|
7 |
+
"materials": ["бетон", "стекло", "натуральное дерево", "металл", "белый камень"],
|
8 |
"colors": ["#FFFFFF", "#F5F5F5", "#E0E0E0", "#BDBDBD", "#424242", "#212121"],
|
9 |
+
"lighting": "максимальное естественное освещение, скрытая LED подсветка, минималистичные светильники",
|
10 |
"room_specific": {
|
11 |
+
"living room": "minimalist living room with low-profile furniture, hidden storage, monochrome palette, large windows, clean surfaces",
|
12 |
+
"bedroom": "minimal bedroom design, platform bed, built-in wardrobes, neutral bedding, simple nightstands, soft indirect lighting",
|
13 |
+
"kitchen": "modern minimal kitchen, handleless cabinets, integrated appliances, white countertops, clean backsplash, pendant lights",
|
14 |
+
"bathroom": "minimalist bathroom, floating vanity, frameless shower, white tiles, hidden storage, modern fixtures",
|
15 |
+
"home office": "minimal office space, clean desk, built-in shelving, ergonomic chair, cable management, natural light",
|
16 |
+
"kids room": "organized kids room, built-in storage, neutral base with colorful accents, clean play area",
|
17 |
+
"hallway": "minimal entrance, built-in coat storage, simple console, large mirror, clean lines"
|
18 |
}
|
19 |
},
|
20 |
|
21 |
"Скандинавский": {
|
22 |
+
"prompt": "scandinavian interior design, hygge atmosphere, cozy and warm, white and grey palette, natural wood elements, soft textiles, green plants, simple functional decor, nordic style",
|
23 |
+
"negative": "industrial, dark colors, heavy metal, raw concrete, cluttered, ornate",
|
24 |
"strength": 0.75,
|
25 |
+
"materials": ["светлое дерево", "лен", "шерсть", "керамика", "натуральный текстиль"],
|
26 |
+
"colors": ["#FFFFFF", "#F0F0F0", "#C0C0C0", "#8B7355", "#4A5D23", "#E6D7C3"],
|
27 |
+
"lighting": "мягкое рассеянное освещение, свечи, гирлянды, торшеры с тканевыми абажурами",
|
28 |
"room_specific": {
|
29 |
+
"living room": "scandinavian living room, light wood floors, white walls, grey sofa, knitted throws, potted plants, hygge atmosphere",
|
30 |
+
"bedroom": "nordic bedroom, white bedding, natural wood bed frame, soft textiles, minimal decor, cozy lighting",
|
31 |
+
"kitchen": "scandinavian kitchen, white cabinets, wood countertops, open shelving, simple design, functional layout",
|
32 |
+
"bathroom": "nordic bathroom, white tiles, wood accents, simple fixtures, natural materials, spa-like atmosphere",
|
33 |
+
"home office": "scandinavian workspace, light wood desk, ergonomic setup, plants, natural light, organized storage",
|
34 |
+
"kids room": "nordic kids room, natural materials, soft colors, wooden toys, cozy textiles, simple furniture",
|
35 |
+
"hallway": "scandinavian entrance, wooden bench, coat hooks, simple storage, light colors, welcoming atmosphere"
|
36 |
}
|
37 |
},
|
38 |
|
39 |
"Индустриальный": {
|
40 |
+
"prompt": "industrial loft interior, exposed brick walls, metal fixtures and pipes, concrete floors, dark color scheme, vintage leather furniture, edison bulb lighting, raw materials, urban style",
|
41 |
+
"negative": "pastel colors, floral patterns, traditional decor, delicate materials, ornate details",
|
42 |
"strength": 0.85,
|
43 |
+
"materials": ["кирпич", "металл", "бетон", "кожа", "необработанное дерево", "сталь"],
|
44 |
+
"colors": ["#3E3E3E", "#8B4513", "#708090", "#2F4F4F", "#000000", "#8B0000"],
|
45 |
+
"lighting": "винтажные лампы Эдисона, металлические светильники, трековое освещение, подвесные лампы",
|
46 |
"room_specific": {
|
47 |
+
"living room": "industrial living room, exposed brick, leather sofa, metal coffee table, vintage decor, concrete floors",
|
48 |
+
"bedroom": "industrial bedroom, metal bed frame, exposed pipes, brick wall, vintage nightstands, edison bulbs",
|
49 |
+
"kitchen": "industrial kitchen, stainless steel appliances, concrete counters, open shelving, metal bar stools",
|
50 |
+
"bathroom": "industrial bathroom, concrete sink, black fixtures, subway tiles, exposed plumbing, metal accents",
|
51 |
+
"home office": "industrial office, metal desk, leather chair, exposed brick, vintage filing cabinets, task lighting",
|
52 |
+
"kids room": "industrial kids room, metal furniture, vintage posters, durable materials, creative storage",
|
53 |
+
"hallway": "industrial entrance, metal coat rack, concrete floors, exposed brick, vintage mirror, urban vibe"
|
54 |
}
|
55 |
},
|
56 |
|
57 |
"Бохо": {
|
58 |
+
"prompt": "bohemian boho interior, eclectic mix, colorful textiles and patterns, macrame wall hangings, lots of plants, vintage and ethnic furniture, warm earthy colors, layered rugs, cozy atmosphere",
|
59 |
+
"negative": "minimalist, modern, cold colors, empty spaces, monochrome, sterile",
|
60 |
"strength": 0.7,
|
61 |
+
"materials": ["ротанг", "макраме", "винтажное дерево", "натуральные ткани", "керамика"],
|
62 |
+
"colors": ["#D2691E", "#8B4513", "#DAA520", "#CD853F", "#B22222", "#228B22"],
|
63 |
+
"lighting": "теплое освещение, гирлянды, марокканские лампы, свечи, цветные абажуры",
|
64 |
"room_specific": {
|
65 |
+
"living room": "boho living room, layered rugs, floor cushions, macrame decor, plants everywhere, eclectic furniture mix",
|
66 |
+
"bedroom": "bohemian bedroom, canopy bed, colorful bedding, tapestry wall, plants, vintage nightstands, warm lighting",
|
67 |
+
"kitchen": "boho kitchen, open shelving, colorful tiles, hanging plants, vintage dishes, eclectic decor",
|
68 |
+
"bathroom": "bohemian bathroom, patterned tiles, plants, vintage mirror, colorful textiles, natural materials",
|
69 |
+
"home office": "boho workspace, vintage desk, gallery wall, plants, colorful organization, creative atmosphere",
|
70 |
+
"kids room": "boho kids room, teepee, colorful textiles, wall hangings, creative play space, natural materials",
|
71 |
+
"hallway": "bohemian entrance, vintage hooks, layered rugs, gallery wall, plants, eclectic mirror"
|
72 |
}
|
73 |
},
|
74 |
|
75 |
"Японский дзен": {
|
76 |
+
"prompt": "japanese zen interior, minimal zen design, tatami mats, shoji screens, low furniture, natural materials, neutral colors, bamboo elements, peaceful atmosphere, traditional japanese style",
|
77 |
+
"negative": "western furniture, bright colors, cluttered, heavy decorations, busy patterns",
|
78 |
"strength": 0.8,
|
79 |
+
"materials": ["бамбук", "рисовая бумага", "татами", "натуральное дерево", "камень"],
|
80 |
+
"colors": ["#F5F5DC", "#D2B48C", "#8B4513", "#696969", "#2F4F4F", "#F0E68C"],
|
81 |
+
"lighting": "мягкий рассеянный свет через сёдзи, низкие светильники, свечи, естественное освещение",
|
82 |
"room_specific": {
|
83 |
+
"living room": "japanese living room, low seating, tatami floor, shoji screens, minimal decor, zen atmosphere",
|
84 |
+
"bedroom": "zen bedroom, futon bed, tatami mats, simple design, natural materials, peaceful ambiance",
|
85 |
+
"kitchen": "japanese kitchen, minimalist design, natural wood, simple lines, functional storage, clean surfaces",
|
86 |
+
"bathroom": "japanese bathroom, soaking tub, natural materials, simple fixtures, spa atmosphere, bamboo accents",
|
87 |
+
"home office": "zen workspace, low desk, floor seating, minimal design, natural light, organized space",
|
88 |
+
"kids room": "japanese kids room, futon beds, low furniture, natural materials, simple toys, calm atmosphere",
|
89 |
+
"hallway": "japanese entrance, genkan area, simple storage, natural materials, minimal design"
|
90 |
}
|
91 |
},
|
92 |
|
93 |
"Ар-деко": {
|
94 |
+
"prompt": "art deco interior design, luxury glamour, gold brass accents, geometric patterns, velvet furniture, rich dark woods, mirrors, statement lighting, 1920s style, opulent decor",
|
95 |
+
"negative": "rustic, simple, minimalist, cheap materials, plain, undecorated",
|
96 |
"strength": 0.75,
|
97 |
+
"materials": ["мрамор", "латунь", "бархат", "зеркала", "лакированное дерево", "хрусталь"],
|
98 |
+
"colors": ["#FFD700", "#000000", "#8B4513", "#4B0082", "#006400", "#C0C0C0"],
|
99 |
+
"lighting": "хрустальные люстры, настенные бра с абажурами, декоративные торшеры, золотые акценты",
|
100 |
"room_specific": {
|
101 |
+
"living room": "art deco living room, velvet sofa, geometric patterns, gold accents, statement chandelier, luxurious decor",
|
102 |
+
"bedroom": "art deco bedroom, upholstered headboard, mirrored furniture, geometric wallpaper, glamorous lighting",
|
103 |
"kitchen": "art deco kitchen, black and gold palette, geometric backsplash, brass fixtures, luxury appliances",
|
104 |
+
"bathroom": "art deco bathroom, black and white tiles, gold fixtures, geometric mirror, marble surfaces",
|
105 |
+
"home office": "art deco office, dark wood desk, leather chair, geometric patterns, brass details, luxury atmosphere",
|
106 |
+
"kids room": "art deco kids room, geometric patterns, rich colors, vintage toys, elegant furniture",
|
107 |
"hallway": "art deco entrance, geometric floor pattern, statement mirror, console table, dramatic lighting"
|
108 |
}
|
109 |
},
|
110 |
|
111 |
"Средиземноморский": {
|
112 |
+
"prompt": "mediterranean interior design, coastal style, white and blue palette, terracotta tiles, arched doorways, natural textures, wrought iron details, rustic wood beams, fresh airy atmosphere",
|
113 |
+
"negative": "dark colors, modern minimalist, industrial, cold atmosphere, synthetic materials",
|
114 |
+
"strength": 0.7,
|
115 |
+
"materials": ["терракота", "известняк", "кованое железо", "натуральное дерево", "керамическая плитка"],
|
116 |
+
"colors": ["#FFFFFF", "#4682B4", "#F4A460", "#8B7355", "#6495ED", "#FFE4B5"],
|
117 |
+
"lighting": "естественное освещение, кованые люстры, настенные светильники, свечи в фонарях",
|
118 |
"room_specific": {
|
119 |
+
"living room": "mediterranean living room, white walls, blue accents, terracotta floors, arched windows, coastal decor",
|
120 |
+
"bedroom": "mediterranean bedroom, wrought iron bed, white linens, blue accents, wooden shutters, fresh atmosphere",
|
121 |
+
"kitchen": "mediterranean kitchen, blue and white tiles, open shelving, terracotta floors, rustic wood, fresh herbs",
|
122 |
+
"bathroom": "mediterranean bathroom, mosaic tiles, arched mirror, terracotta, white and blue palette",
|
123 |
+
"home office": "mediterranean workspace, natural light, white walls, blue accents, wooden desk, coastal view",
|
124 |
+
"kids room": "mediterranean kids room, bright colors, natural materials, nautical theme, fresh atmosphere",
|
125 |
+
"hallway": "mediterranean entrance, terracotta tiles, arched doorway, wrought iron details, coastal decor"
|
126 |
}
|
127 |
},
|
128 |
|
129 |
"Лофт": {
|
130 |
+
"prompt": "modern loft interior, open space concept, high ceilings, large windows, mixed materials, industrial elements with modern comfort, urban living, exposed structures, contemporary furniture",
|
131 |
+
"negative": "low ceilings, small rooms, traditional decor, compartmentalized spaces",
|
132 |
"strength": 0.8,
|
133 |
+
"materials": ["бетон", "металл", "стекло", "дерево", "кирпич", "сталь"],
|
134 |
+
"colors": ["#696969", "#A9A9A9", "#2F4F4F", "#8B4513", "#000000", "#FFFFFF"],
|
135 |
+
"lighting": "трековые системы, подвесные промышленные светильники, большие окна, светодиодные ленты",
|
136 |
"room_specific": {
|
137 |
+
"living room": "loft living room, double height ceiling, industrial windows, modern furniture, open plan, urban view",
|
138 |
+
"bedroom": "loft bedroom, mezzanine level, industrial stairs, exposed beams, modern bed, city lights",
|
139 |
"kitchen": "loft kitchen, open to living area, industrial island, modern appliances, concrete counters",
|
140 |
+
"bathroom": "loft bathroom, concrete walls, modern fixtures, glass partition, industrial style, luxury touches",
|
141 |
+
"home office": "loft office space, mezzanine area, industrial desk, modern chair, urban views, creative atmosphere",
|
142 |
+
"kids room": "loft kids room, play area below, sleeping above, industrial ladder, creative storage",
|
143 |
+
"hallway": "loft entrance, high ceiling, industrial door, concrete floors, modern storage, urban style"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
}
|
145 |
},
|
146 |
|
147 |
"Прованс": {
|
148 |
+
"prompt": "french provence interior, rustic charm, lavender colors, vintage distressed furniture, floral patterns, shabby chic style, countryside atmosphere, soft pastels, romantic decor",
|
149 |
"negative": "modern, industrial, dark colors, minimalist, urban, high-tech",
|
150 |
"strength": 0.7,
|
151 |
+
"materials": ["состаренное дерево", "натуральный камень", "лен", "хлопок", "кованое железо"],
|
152 |
+
"colors": ["#E6E6FA", "#DDA0DD", "#F0E68C", "#F5DEB3", "#FFF8DC", "#98FB98"],
|
153 |
+
"lighting": "кованые люстры, настольные лампы с тканевыми абажурами, свечи, естественный свет",
|
154 |
"room_specific": {
|
155 |
+
"living room": "provence living room, distressed furniture, floral upholstery, vintage decor, soft colors, cozy atmosphere",
|
156 |
+
"bedroom": "french country bedroom, wrought iron bed, floral bedding, vintage nightstands, romantic atmosphere",
|
157 |
+
"kitchen": "provence kitchen, painted cabinets, open shelving, vintage tiles, copper pots, herb garden",
|
158 |
+
"bathroom": "provence bathroom, clawfoot tub, vintage fixtures, floral wallpaper, distressed vanity",
|
159 |
+
"home office": "provence workspace, vintage desk, floral chair, soft colors, romantic decor, countryside view",
|
160 |
+
"kids room": "provence kids room, vintage furniture, soft pastels, floral patterns, cozy textiles",
|
161 |
+
"hallway": "provence entrance, vintage hooks, distressed console, floral arrangements, welcoming atmosphere"
|
162 |
}
|
163 |
},
|
164 |
|
165 |
"Хай-тек": {
|
166 |
+
"prompt": "high-tech futuristic interior, smart home technology, LED lighting, glass and chrome, modern minimalism, automated systems, sleek surfaces, monochrome palette, cutting-edge design",
|
167 |
+
"negative": "vintage, rustic, warm colors, traditional, ornate, natural materials",
|
168 |
"strength": 0.85,
|
169 |
+
"materials": ["стекло", "хром", "пластик", "металл", "акрил", "композитные материалы"],
|
170 |
+
"colors": ["#C0C0C0", "#000000", "#FFFFFF", "#4169E1", "#708090", "#1C1C1C"],
|
171 |
+
"lighting": "LED системы, умное освещение, неоновая подсветка, скрытые источники света",
|
172 |
"room_specific": {
|
173 |
+
"living room": "high-tech living room, smart TV wall, automated blinds, modern furniture, LED ambient lighting",
|
174 |
+
"bedroom": "futuristic bedroom, smart bed, automated climate control, LED panels, minimalist design",
|
175 |
+
"kitchen": "high-tech kitchen, smart appliances, touch controls, LED lighting, sleek surfaces",
|
176 |
+
"bathroom": "futuristic bathroom, smart mirror, automated fixtures, chromotherapy shower, high-tech toilet",
|
177 |
+
"home office": "high-tech office, multiple monitors, ergonomic setup, smart desk, automated lighting",
|
178 |
+
"kids room": "futuristic kids room, interactive walls, smart storage, LED displays, modern furniture",
|
179 |
+
"hallway": "high-tech entrance, biometric locks, smart storage, LED pathway, automated systems"
|
180 |
}
|
181 |
},
|
182 |
|
183 |
+
"Эко-стиль": {
|
184 |
+
"prompt": "eco-friendly interior design, sustainable materials, natural organic shapes, green living walls, bamboo and reclaimed wood, earth tones, biophilic design, environmental consciousness",
|
185 |
+
"negative": "synthetic materials, plastic, artificial colors, industrial waste, non-sustainable",
|
186 |
"strength": 0.75,
|
187 |
+
"materials": ["бамбук", "пробка", "переработанное дерево", "натуральный камень", "органический хлопок"],
|
188 |
+
"colors": ["#228B22", "#8B4513", "#DEB887", "#F5DEB3", "#90EE90", "#D2691E"],
|
189 |
+
"lighting": "естественное освещение, энергосберегающие лампы, солнечные панели, биодинамическое освещение",
|
190 |
"room_specific": {
|
191 |
+
"living room": "eco living room, reclaimed wood furniture, living wall, natural fabrics, sustainable design",
|
192 |
+
"bedroom": "eco bedroom, organic bedding, bamboo furniture, natural materials, healthy atmosphere",
|
193 |
+
"kitchen": "eco kitchen, bamboo cabinets, recycled countertops, energy-efficient appliances, herb garden",
|
194 |
+
"bathroom": "eco bathroom, water-saving fixtures, natural stone, bamboo accessories, green wall",
|
195 |
+
"home office": "eco workspace, reclaimed wood desk, natural light, plants, sustainable materials",
|
196 |
+
"kids room": "eco kids room, non-toxic materials, natural wood toys, organic textiles, healthy environment",
|
197 |
+
"hallway": "eco entrance, living wall, bamboo flooring, natural storage, sustainable design"
|
198 |
}
|
199 |
},
|
200 |
|
201 |
+
"Классический": {
|
202 |
+
"prompt": "classic traditional interior, elegant timeless design, crown molding, rich fabrics, antique furniture, chandelier lighting, symmetrical layout, sophisticated color palette, luxury details",
|
203 |
+
"negative": "modern, minimalist, industrial, casual, contemporary, simple",
|
204 |
+
"strength": 0.7,
|
205 |
+
"materials": ["массив дерева", "мрамор", "шелк", "бархат", "позолота", "хрусталь"],
|
206 |
+
"colors": ["#F5F5DC", "#8B4513", "#FFD700", "#800020", "#2F4F4F", "#FFFAF0"],
|
207 |
+
"lighting": "хрустальные люстры, настенные бра, настольные лампы с абажурами, свечи в канделябрах",
|
208 |
"room_specific": {
|
209 |
+
"living room": "classic living room, elegant furniture, crown molding, chandelier, rich fabrics, fireplace",
|
210 |
+
"bedroom": "traditional bedroom, four-poster bed, luxury bedding, antique furniture, elegant decor",
|
211 |
+
"kitchen": "classic kitchen, raised panel cabinets, marble countertops, traditional hardware, elegant design",
|
212 |
+
"bathroom": "traditional bathroom, clawfoot tub, marble surfaces, classic fixtures, luxury details",
|
213 |
+
"home office": "classic office, mahogany desk, leather chair, built-in bookcases, traditional decor",
|
214 |
+
"kids room": "classic kids room, traditional furniture, elegant fabrics, timeless toys, sophisticated design",
|
215 |
+
"hallway": "classic entrance, marble floor, elegant console, chandelier, traditional mirror"
|
216 |
}
|
217 |
},
|
218 |
|
219 |
+
"Футуристический": {
|
220 |
+
"prompt": "futuristic space-age interior, curved walls, holographic elements, neon lighting, minimalist furniture, white glossy surfaces, sci-fi aesthetic, innovative materials, ultra-modern design",
|
221 |
+
"negative": "traditional, vintage, rustic, natural materials, warm colors, ornate",
|
222 |
+
"strength": 0.9,
|
223 |
+
"materials": ["углеволокно", "smart glass", "акрил", "металлические сплавы", "LED панели"],
|
224 |
+
"colors": ["#FFFFFF", "#00FFFF", "#FF00FF", "#C0C0C0", "#0000FF", "#000000"],
|
225 |
+
"lighting": "голографические проекции, неоновая подсветка, LED панели, умное освещение, световые инсталляции",
|
226 |
"room_specific": {
|
227 |
+
"living room": "futuristic living room, curved walls, holographic TV, levitating furniture, neon accents",
|
228 |
+
"bedroom": "space-age bedroom, pod bed, ambient LED, smart glass walls, minimalist design",
|
229 |
+
"kitchen": "futuristic kitchen, seamless surfaces, holographic controls, automated cooking, neon lighting",
|
230 |
+
"bathroom": "sci-fi bathroom, chromotherapy shower, smart glass, floating fixtures, LED floors",
|
231 |
+
"home office": "futuristic workspace, holographic displays, ergonomic pod chair, AI assistant, neon accents",
|
232 |
+
"kids room": "space-age kids room, interactive holographic walls, pod beds, educational AI, fun lighting",
|
233 |
+
"hallway": "futuristic entrance, biometric scanner, LED pathway, curved walls, holographic art"
|
234 |
}
|
235 |
},
|
236 |
|
237 |
+
"Ретро 70-х": {
|
238 |
+
"prompt": "retro 70s interior design, groovy patterns, orange and brown palette, shag carpet, conversation pit, vintage posters, disco era style, funky furniture, bold geometric shapes",
|
239 |
+
"negative": "modern minimalist, contemporary, neutral colors, simple, traditional",
|
240 |
"strength": 0.75,
|
241 |
+
"materials": ["винил", "пластик", "вельвет", "искусственный мех", "ламинат", "хром"],
|
242 |
+
"colors": ["#FF8C00", "#8B4513", "#FFD700", "#FF6347", "#4B0082", "#32CD32"],
|
243 |
+
"lighting": "лава-лампы, неоновые вывески, цветные лампочки, диско-шар, винтажные торшеры",
|
244 |
+
"room_specific": {
|
245 |
+
"living room": "70s living room, conversation pit, shag carpet, vintage posters, retro TV, groovy patterns",
|
246 |
+
"bedroom": "retro 70s bedroom, waterbed, psychedelic wallpaper, beaded curtains, vintage stereo",
|
247 |
+
"kitchen": "70s kitchen, avocado appliances, geometric tiles, formica counters, retro dinette set",
|
248 |
+
"bathroom": "retro 70s bathroom, colored fixtures, geometric wallpaper, shag bath mat, groovy tiles",
|
249 |
+
"home office": "70s workspace, vintage desk, retro typewriter, cork wall, geometric patterns",
|
250 |
+
"kids room": "groovy kids room, bean bags, lava lamps, vintage toys, psychedelic posters",
|
251 |
+
"hallway": "70s entrance, geometric wallpaper, macrame hanging, retro mirror, funky coat rack"
|
252 |
+
}
|
253 |
+
},
|
254 |
+
|
255 |
+
"Шебби-шик": {
|
256 |
+
"prompt": "shabby chic interior, distressed vintage furniture, soft pastel colors, romantic feminine style, floral patterns, weathered finishes, cottage charm, delicate accessories, lived-in elegance",
|
257 |
+
"negative": "modern, industrial, masculine, dark colors, geometric, minimalist",
|
258 |
+
"strength": 0.7,
|
259 |
+
"materials": ["состаренное дерево", "льняные ткани", "кружево", "фарфор", "патинированный металл"],
|
260 |
+
"colors": ["#FFE4E1", "#F0FFFF", "#FAFAD2", "#E6E6FA", "#FFF0F5", "#F5F5DC"],
|
261 |
+
"lighting": "хрустальные люстры, винтажные лампы, свечи, естественный свет через кружевные занавески",
|
262 |
"room_specific": {
|
263 |
+
"living room": "shabby chic living room, distressed sofa, vintage coffee table, floral cushions, romantic decor",
|
264 |
+
"bedroom": "shabby chic bedroom, vintage iron bed, lace curtains, distressed furniture, soft pastels",
|
265 |
+
"kitchen": "shabby chic kitchen, distressed cabinets, vintage dishes, floral tiles, cottage charm",
|
266 |
+
"bathroom": "shabby chic bathroom, vintage vanity, lace shower curtain, distressed mirror, romantic details",
|
267 |
+
"home office": "shabby chic workspace, vintage desk, floral chair, distressed shelving, feminine touches",
|
268 |
+
"kids room": "shabby chic nursery, vintage crib, soft pastels, delicate fabrics, romantic atmosphere",
|
269 |
+
"hallway": "shabby chic entrance, distressed coat rack, vintage mirror, floral arrangements, welcoming feel"
|
270 |
}
|
271 |
},
|
272 |
|
273 |
"Марокканский": {
|
274 |
+
"prompt": "moroccan interior design, intricate tile patterns, rich jewel tones, ornate metalwork, arched doorways, colorful textiles, lantern lighting, exotic atmosphere, moorish architecture",
|
275 |
+
"negative": "minimalist, scandinavian, simple, monochrome, modern, plain",
|
276 |
"strength": 0.8,
|
277 |
+
"materials": ["мозаичная плитка", "латунь", "кедр", "шелк", "бархат", "мрамор"],
|
278 |
+
"colors": ["#4169E1", "#DC143C", "#FFD700", "#FF8C00", "#4B0082", "#006400"],
|
279 |
+
"lighting": "марокканские фонари, свечи, цветное стекло, ажурные светильники, мягкое ambient освещение",
|
280 |
"room_specific": {
|
281 |
+
"living room": "moroccan living room, low seating, colorful cushions, ornate coffee table, lanterns, rich textiles",
|
282 |
+
"bedroom": "moroccan bedroom, canopy bed, jewel tones, ornate headboard, lantern lighting, exotic fabrics",
|
283 |
+
"kitchen": "moroccan kitchen, mosaic backsplash, colorful tiles, arched alcoves, copper cookware",
|
284 |
+
"bathroom": "moroccan bathroom, intricate tilework, arched mirrors, brass fixtures, spa atmosphere",
|
285 |
+
"home office": "moroccan workspace, carved desk, colorful textiles, lantern lighting, ornate details",
|
286 |
+
"kids room": "moroccan kids room, colorful tent, floor cushions, geometric patterns, playful atmosphere",
|
287 |
+
"hallway": "moroccan entrance, mosaic floor, arched doorway, ornate mirror, welcoming lanterns"
|
288 |
}
|
289 |
},
|
290 |
|
291 |
"Кантри": {
|
292 |
+
"prompt": "country rustic interior, farmhouse style, natural wood beams, checkered patterns, vintage farm decor, cozy fireplace, warm earth tones, handmade elements, rural charm",
|
293 |
+
"negative": "modern, urban, sleek, minimalist, high-tech, industrial",
|
294 |
"strength": 0.7,
|
295 |
+
"materials": ["необработанное дерево", "камень", "хлопок", "лен", "кованое железо", "керамика"],
|
296 |
+
"colors": ["#8B4513", "#DEB887", "#F5DEB3", "#CD853F", "#D2691E", "#FFF8DC"],
|
297 |
+
"lighting": "кованые люстры, керосиновые лампы, свечи, камин, теплое освещение",
|
298 |
"room_specific": {
|
299 |
+
"living room": "country living room, stone fireplace, plaid sofa, wooden beams, vintage decor, cozy atmosphere",
|
300 |
+
"bedroom": "country bedroom, wooden bed frame, patchwork quilt, vintage dresser, warm textiles",
|
301 |
+
"kitchen": "farmhouse kitchen, wooden cabinets, vintage stove, open shelving, checkered curtains",
|
302 |
+
"bathroom": "country bathroom, clawfoot tub, wooden vanity, vintage fixtures, rustic charm",
|
303 |
+
"home office": "country workspace, wooden desk, vintage chair, farm decor, natural light",
|
304 |
+
"kids room": "country kids room, wooden furniture, farm animals theme, cozy textiles, rustic toys",
|
305 |
+
"hallway": "country entrance, wooden bench, vintage hooks, farm tools decor, welcoming atmosphere"
|
306 |
}
|
307 |
},
|
308 |
|
309 |
+
"Неоклассика": {
|
310 |
+
"prompt": "neoclassical interior design, modern interpretation of classic style, elegant proportions, refined details, neutral palette with gold accents, contemporary comfort with traditional elements",
|
311 |
+
"negative": "ultra-modern, industrial, rustic, bohemian, casual, minimalist",
|
312 |
+
"strength": 0.75,
|
313 |
+
"materials": ["мрамор", "гипсовая лепнина", "натуральное дерево", "шелк", "латунь", "зеркала"],
|
314 |
+
"colors": ["#F5F5DC", "#D4AF37", "#FFFAF0", "#E6E6FA", "#2F4F4F", "#C0C0C0"],
|
315 |
+
"lighting": "современные люстры с классическими элементами, встроенная подсветка, настольные лампы",
|
316 |
"room_specific": {
|
317 |
+
"living room": "neoclassical living room, elegant furniture, modern chandelier, classic moldings, refined decor",
|
318 |
+
"bedroom": "neoclassical bedroom, upholstered bed, elegant nightstands, soft colors, luxury bedding",
|
319 |
+
"kitchen": "neoclassical kitchen, elegant cabinetry, marble counters, classic hardware, modern appliances",
|
320 |
+
"bathroom": "neoclassical bathroom, marble surfaces, elegant fixtures, classic details, luxury atmosphere",
|
321 |
+
"home office": "neoclassical office, elegant desk, comfortable seating, built-in shelving, refined atmosphere",
|
322 |
+
"kids room": "neoclassical kids room, elegant furniture, soft colors, classic toys, sophisticated design",
|
323 |
+
"hallway": "neoclassical entrance, marble floor, elegant console, modern chandelier, refined decor"
|
324 |
}
|
325 |
},
|
326 |
|
327 |
+
"Максимализм": {
|
328 |
+
"prompt": "maximalist interior design, more is more philosophy, bold patterns mixing, vibrant colors, eclectic furniture, layered textures, artistic displays, organized chaos, personality-filled space",
|
329 |
+
"negative": "minimalist, simple, empty, monochrome, sparse, plain",
|
330 |
+
"strength": 0.8,
|
331 |
+
"materials": ["бархат", "шелк", "мех", "металлик", "стекло", "различные текстуры"],
|
332 |
+
"colors": ["#FF1493", "#4B0082", "#FFD700", "#00CED1", "#FF4500", "#32CD32"],
|
333 |
+
"lighting": "множественные источники света, декоративные люстры, неоновые акценты, цветная подсветка",
|
334 |
"room_specific": {
|
335 |
+
"living room": "maximalist living room, pattern mixing, bold colors, eclectic furniture, art gallery walls, layered rugs",
|
336 |
+
"bedroom": "maximalist bedroom, patterned wallpaper, colorful bedding, multiple textures, artistic displays",
|
337 |
+
"kitchen": "maximalist kitchen, colorful tiles, open shelving displays, eclectic dishes, bold backsplash",
|
338 |
+
"bathroom": "maximalist bathroom, patterned tiles, colorful fixtures, artistic mirrors, bold wallpaper",
|
339 |
+
"home office": "maximalist workspace, gallery walls, colorful storage, eclectic furniture, creative chaos",
|
340 |
+
"kids room": "maximalist kids room, bold colors, pattern mixing, toy displays, artistic walls",
|
341 |
+
"hallway": "maximalist entrance, gallery wall, patterned floor, colorful storage, eclectic mirrors"
|
342 |
}
|
343 |
},
|
344 |
|
345 |
+
"Колониальный": {
|
346 |
+
"prompt": "colonial interior design, british colonial style, dark wood furniture, tropical elements, rattan and wicker, neutral colors with rich accents, plantation shutters, exotic accessories",
|
347 |
+
"negative": "modern minimalist, scandinavian, industrial, futuristic, neon",
|
348 |
+
"strength": 0.75,
|
349 |
+
"materials": ["тиковое дерево", "ротанг", "лен", "кожа", "латунь", "джут"],
|
350 |
+
"colors": ["#8B4513", "#F5DEB3", "#FAEBD7", "#556B2F", "#8B0000", "#F0E68C"],
|
351 |
+
"lighting": "потолочные вентиляторы с подсветкой, настольные лампы с абажурами, естественный свет",
|
352 |
"room_specific": {
|
353 |
+
"living room": "colonial living room, dark wood furniture, rattan chairs, tropical plants, ceiling fans, neutral palette",
|
354 |
+
"bedroom": "colonial bedroom, four-poster bed, mosquito netting, dark wood furniture, tropical accents",
|
355 |
+
"kitchen": "colonial kitchen, dark wood cabinets, rattan bar stools, tropical tiles, vintage accessories",
|
356 |
+
"bathroom": "colonial bathroom, clawfoot tub, dark wood vanity, tropical plants, vintage fixtures",
|
357 |
+
"home office": "colonial office, leather furniture, dark wood desk, tropical shutters, vintage maps",
|
358 |
+
"kids room": "colonial kids room, rattan furniture, mosquito nets, tropical theme, adventure decor",
|
359 |
+
"hallway": "colonial entrance, dark wood console, rattan storage, tropical plants, vintage travel decor"
|
360 |
}
|
361 |
}
|
362 |
}
|
363 |
|
364 |
+
# Расширенные элементы интерьера для детальных изменений
|
365 |
ROOM_ELEMENTS = {
|
366 |
"Стены": {
|
367 |
+
"prompt_add": "wall treatment, wall color, wallpaper, wall texture, accent wall",
|
368 |
"options": {
|
369 |
+
"colors": ["белый", "серый", "бежевый", "темно-синий", "зеленый", "терракотовый", "черный", "пастельный"],
|
370 |
+
"textures": ["гладкие", "фактурная штукатурка", "кирпич", "дерево", "камень", "обои", "3D панели"],
|
371 |
+
"patterns": ["однотонные", "геометрические", "флористические", "абстрактные", "полосы", "текстурные"]
|
372 |
}
|
373 |
},
|
|
|
374 |
"Пол": {
|
375 |
+
"prompt_add": "flooring material, floor color, floor pattern, floor texture",
|
376 |
"options": {
|
377 |
+
"materials": ["паркет", "ламинат", "плитка", "ковролин", "бетон", "мрамор", "винил", "пробка"],
|
378 |
+
"colors": ["светлое дерево", "темное дерево", "серый", "белый", "терракота", "черный"],
|
379 |
+
"patterns": ["елочка", "палуба", "шахматы", "диагональ", "мозаика", "однотонный"]
|
380 |
+
}
|
381 |
+
},
|
382 |
+
"Потолок": {
|
383 |
+
"prompt_add": "ceiling design, ceiling height, ceiling color, ceiling details",
|
384 |
+
"options": {
|
385 |
+
"types": ["натяжной", "гипсокартон", "деревянные балки", "кессонный", "с лепниной", "окрашенный"],
|
386 |
+
"heights": ["стандартный", "высокий", "двухуровневый", "с балками", "сводчатый"],
|
387 |
+
"colors": ["белый", "светло-серый", "бежевый", "контрастный", "с подсветкой"]
|
388 |
}
|
389 |
},
|
|
|
390 |
"Освещение": {
|
391 |
+
"prompt_add": "lighting fixtures, light temperature, light intensity, ambient lighting",
|
392 |
"options": {
|
393 |
+
"types": ["люстра", "споты", "подвесные светильники", "торшеры", "бра", "LED ленты", "трековые"],
|
394 |
+
"temperature": ["теплый свет", "холодный свет", "нейтральный", "регулируемый"],
|
395 |
+
"scenarios": ["основное", "акцентное", "декоративное", "функциональное", "ночное"]
|
396 |
}
|
397 |
},
|
|
|
398 |
"Мебель": {
|
399 |
+
"prompt_add": "furniture style, furniture material, furniture color, furniture arrangement",
|
400 |
"options": {
|
401 |
+
"styles": ["современная", "классическая", "минималистичная", "винтажная", "дизайнерская", "функциональная"],
|
402 |
+
"materials": ["дерево", "металл", "стекло", "пластик", "ротанг", "мягкая обивка"],
|
403 |
+
"colors": ["натуральное дерево", "белая", "черная", "яркие акценты", "пастельная", "двухцветная"]
|
404 |
}
|
405 |
},
|
406 |
+
"Текстиль": {
|
407 |
+
"prompt_add": "textiles, curtains, cushions, rugs, fabric textures",
|
|
|
408 |
"options": {
|
409 |
+
"curtains": ["тюль", "блэкаут", "римские шторы", "жалюзи", "портьеры", "рулонные"],
|
410 |
+
"rugs": ["ковер", "ковровая дорожка", "круглый ковер", "безворсовый", "с длинным ворсом"],
|
411 |
+
"cushions": ["декоративные подушки", "пледы", "покрывала", "чехлы на мебель"]
|
412 |
}
|
413 |
},
|
414 |
+
"Декор": {
|
415 |
+
"prompt_add": "decorative elements, wall art, plants, accessories, personal items",
|
|
|
416 |
"options": {
|
417 |
+
"wall_art": ["картины", "постеры", "фотографии", "зеркала", "полки", "часы"],
|
418 |
+
"plants": ["большие растения", "подвесные кашпо", "суккуленты", "цветы", "вертикальный сад"],
|
419 |
+
"accessories": ["вазы", "скульптуры", "книги", "свечи", "декоративные объекты"]
|
420 |
}
|
421 |
},
|
422 |
+
"Окна": {
|
423 |
+
"prompt_add": "windows, window treatments, natural light, window size",
|
|
|
424 |
"options": {
|
425 |
+
"types": ["большие окна", "панорамные", "арочные", "мансардные", "эркер", "французские"],
|
426 |
+
"treatments": ["без штор", "легкие занавески", "плотные шторы", "жалюзи", "римские шторы"],
|
427 |
+
"light": ["максимум света", "рассеянный свет", "контролируемый свет", "приватность"]
|
428 |
}
|
429 |
}
|
430 |
}
|
431 |
|
432 |
+
# Типы помещений с расширенным списком
|
433 |
ROOM_TYPES = {
|
434 |
# Основные жилые помещения
|
435 |
"Гостиная": "living room",
|
436 |
"Гостиная-студия": "open plan living room",
|
437 |
"Гостиная с камином": "living room with fireplace",
|
|
|
|
|
438 |
"Спальня": "bedroom",
|
439 |
"Главная спальня": "master bedroom",
|
|
|
440 |
"Гостевая спальня": "guest bedroom",
|
441 |
+
"Детская спальня": "kids bedroom",
|
442 |
+
"Подростковая комната": "teenager room",
|
|
|
443 |
"Кухня": "kitchen",
|
444 |
"Кухня-столовая": "kitchen dining room",
|
445 |
+
"Кухня-остров": "kitchen with island",
|
|
|
|
|
|
|
446 |
"Ванная": "bathroom",
|
447 |
"Главная ванная": "master bathroom",
|
448 |
"Гостевой санузел": "powder room",
|
|
|
|
|
|
|
449 |
"Кабинет": "home office",
|
450 |
"Библиотека": "library",
|
451 |
+
"Творческая мастерская": "art studio",
|
|
|
|
|
|
|
452 |
"Детская": "kids room",
|
453 |
"Игровая": "playroom",
|
454 |
"Комната младенца": "nursery",
|
|
|
|
|
455 |
"Прихожая": "entryway hallway",
|
|
|
456 |
"Гардеробная": "walk-in closet",
|
457 |
+
"Постирочная": "laundry room",
|
458 |
+
"Столовая": "dining room",
|
|
|
|
|
459 |
"Домашний кинотеатр": "home theater",
|
460 |
"Спортзал": "home gym",
|
461 |
"Винный погреб": "wine cellar",
|
462 |
+
"Зимний сад": "sunroom conservatory",
|
463 |
+
"Лоджия": "loggia",
|
|
|
464 |
"Балкон": "balcony",
|
465 |
+
"Терраса": "terrace",
|
466 |
+
"Мансарда": "attic room",
|
467 |
+
"Подвал": "basement"
|
468 |
+
}
|
469 |
+
|
470 |
+
# Цветовые схемы для быстрого выбора
|
471 |
+
COLOR_SCHEMES = {
|
472 |
+
"Монохром": ["#FFFFFF", "#E0E0E0", "#BDBDBD", "#757575", "#424242", "#212121"],
|
473 |
+
"Земляные тона": ["#8B4513", "#A0522D", "#D2691E", "#CD853F", "#DEB887", "#F5DEB3"],
|
474 |
+
"Океан": ["#E0F2F1", "#B2DFDB", "#4DB6AC", "#009688", "#00796B", "#004D40"],
|
475 |
+
"Лес": ["#E8F5E9", "#C8E6C9", "#81C784", "#4CAF50", "#388E3C", "#1B5E20"],
|
476 |
+
"Закат": ["#FFEBEE", "#FFCDD2", "#EF9A9A", "#E57373", "#EF5350", "#E53935"],
|
477 |
+
"Пастель": ["#FCE4EC", "#F8BBD0", "#E1BEE7", "#CE93D8", "#FFCCBC", "#D7CCC8"]
|
478 |
}
|
479 |
|
480 |
+
# Функции-помощники для генерации промптов
|
481 |
def get_detailed_prompt(style_name, room_type, additional_params=None):
|
482 |
"""Генерирует детальный промпт для конкретной комнаты в выбранном стиле"""
|
483 |
if style_name not in DESIGN_STYLES:
|
484 |
+
return ""
|
485 |
+
|
486 |
style = DESIGN_STYLES[style_name]
|
487 |
room_type_en = ROOM_TYPES.get(room_type, "room")
|
488 |
|
489 |
+
# Базовый промпт стиля
|
490 |
base_prompt = style["prompt"]
|
491 |
|
492 |
+
# Специфичный промпт для комнаты
|
493 |
+
room_specific = style["room_specific"].get(room_type_en, base_prompt)
|
|
|
|
|
|
|
|
|
|
|
|
|
494 |
|
495 |
+
# Добавляем материалы и освещение
|
496 |
+
materials = ", ".join(style["materials"][:3])
|
497 |
+
lighting = style["lighting"]
|
498 |
|
499 |
+
detailed_prompt = f"{room_specific}, {materials} materials, {lighting}"
|
|
|
500 |
|
501 |
# Добавляем дополнительные параметры если есть
|
502 |
if additional_params:
|
503 |
+
detailed_prompt += f", {additional_params}"
|
504 |
+
|
505 |
+
return detailed_prompt
|
506 |
|
507 |
def get_style_colors(style_name):
|
508 |
+
"""Возвращает цветовую палитру для выбранного стиля"""
|
509 |
if style_name in DESIGN_STYLES:
|
510 |
+
return DESIGN_STYLES[style_name]["colors"]
|
511 |
+
return ["#FFFFFF", "#000000"]
|
512 |
|
513 |
def get_style_materials(style_name):
|
514 |
+
"""Возвращает список материалов для стиля"""
|
515 |
if style_name in DESIGN_STYLES:
|
516 |
+
return DESIGN_STYLES[style_name]["materials"]
|
517 |
return []
|
518 |
|
519 |
def get_negative_prompt(style_name):
|
520 |
"""Возвращает negative prompt для стиля"""
|
521 |
if style_name in DESIGN_STYLES:
|
522 |
+
return DESIGN_STYLES[style_name]["negative"]
|
523 |
return ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|