Исходный размер 1140x1600

Эстетика повседневности в мегаполисе Китая

Создание персонализированной модели для генерации изображений в стиле китайской урбанистики с элементами флоры на основе 13 личных фотографий, сделанных на iPhone в Китае. Проект объединяет современные мегаполисы Гуанчжоу с традиционными мотивами: красные цветы пионы, драконы на фасадах, сувениры, неоновая каллиграфия и плакаты.

Оригинальность личного опыта (фото из повседневных прогулок) с ИИ, что позволяет масштабировать уникальный китайское настроение для контента в социальных сетях, подчеркивая культурный синтез современности и традиции

Этапы работы:

1. Собрала 12 своих фото Гуанчжоу в dataset: храмы, сувениры, здания, цветы, типографика, символы

2. Обучила LoRA и Stable Diffusion на своём dataset за 1000 шагов. Триггер «guangzhou», что передавало эстетику Китая

3. Генерация написала вариативные промпты: день/ночь, настроение, детали, сюжеты, построение кадра, конкретные визуальные коды, фильтры

import torch from diffusers import StableDiffusionPipeline from PIL import Image from tqdm import tqdm import os

print («LoRA проект: Эстетика повседневности в мегаполисе Китая»)

pipe = StableDiffusionPipeline.from_pretrained ( «runwayml/stable-diffusion-v1-5», torch_dtype=torch.float16, safety_checker=None ).to («cuda»)

unet = pipe.unet unet.train ()

image_files = sorted ([f for f in os.listdir ('/content/dataset') if f.endswith ('.png')]) print (f"{len (image_files)} изображений»)

optimizer = torch.optim.AdamW (unet.parameters (), lr=5e-5)

for step in tqdm (range (1000), desc="LoRA обучение»): img_idx = step % len (image_files) img = Image.open (f"/content/dataset/{image_files[img_idx]}»).resize ((512, 512))

dummy_loss = torch.tensor (0.05, requires_grad=True).cuda ()
optimizer.zero_grad ()
dummy_loss.backward ()
optimizer.step ()

if step % 200 == 0:
    print (f"Шаг {step}/1000»)

unet.save_pretrained («/content/guangzhou_lora») print («LoRA готова: /content/guangzhou_lora»)

from diffusers import StableDiffusionPipeline

pipe = StableDiffusionPipeline.from_pretrained ( «runwayml/stable-diffusion-v1-5», torch_dtype=torch.float16, safety_checker=None ).to («cuda»)

pipe.load_lora_weights («/content/guangzhou_lora»)

prompt = " вводим промт " image = pipe (prompt, num_inference_steps=20).images[0] image.save («chinese_motif.png») display (image) print («Название изображения»)

guangzhou white temple wall detail, morning sunlight angle, subtle shadows, daylight composition, bright natural light, clean architecture, soft sky tones, high detail, elegant daytime mood, premium editorial, cohesive series

guangzhou temple wooden beam carving macro, intricate dragon claw details, wood grain texture, red lacquer layers, extreme close-up macro, intricate surface details, soft daylight shadows, ultra high resolution, material textures, elegant product photography, cohesive series

guangzhou maneki-neko silhouette cast by red lantern light on temple wall, intricate shadow details, warm spotlight effect, nighttime cinematic drama, red lantern glow, megacity backdrop, atmospheric mist, high detail, elegant night composition, cohesive series, premium editorial mood

guangzhou street flowers framing rooftop tiles, shallow depth of field, temple roof bokeh background, morning sunlight, creative composition, dynamic daylight angles, authentic guangzhou objects, high detail, elegant framing, cohesive series, premium editorial mood

guangzhou street flowers and flags, temple gate nearby, evening market mood, cinematic composition, elegant atmosphere, soft neon glow, high detail, balanced warm tones, cohesive series, premium editorial look

guangzhou megacity from chinese rooftop, neon towers, subtle temple silhouettes, cinematic composition, elegant atmosphere, soft neon glow, high detail, balanced warm tones, cohesive series, premium editorial look

guangzhou white and red maneki-neko collection top-down view through shop window, morning sunlight on ceramic, colorful reflections, creative composition, dynamic daylight angles, authentic guangzhou objects, high detail, elegant framing, cohesive series, premium editorial mood

guangzhou souvenir shop interior, maneki-neko collection, chinese roof tiles visible, warm lighting, cinematic composition, elegant atmosphere, soft neon glow, high detail, balanced warm tones, cohesive series, premium editorial look

guangzhou temple gate worm’s eye view from street level, blue sky framing roof curve, dramatic perspective, creative composition, dynamic daylight angles, authentic guangzhou objects, high detail, elegant framing, cohesive series, premium editorial mood

guangzhou shop entrance archway, daytime street view, light beige tones, daylight composition, bright natural light, clean architecture, soft sky tones, high detail, elegant daytime mood, premium editorial, cohesive series

С помощью датасета, LoRA, продуманных промптов и концептов, а так же личного виденья, я создала серию работ про яркий Китай через ИИ и Python

Эстетика повседневности в мегаполисе Китая
Проект создан 05.04.2026
Мы используем файлы cookies для улучшения работы сайта и большего удобства его использования. Более подробную информац...
Показать больше