การสร้างสรรค์ภาพแฟชั่นชายไทยยุค 1920 ด้วย LoRA: ขั้นตอนการทำงานทีละขั้น
การสร้างสรรค์ภาพแฟชั่นชายไทยยุค 1920 ด้วย LoRA: ขั้นตอนการทำงานทีละขั้น
การสร้างลุคที่ถูกต้องในแต่ละยุคสมัยไม่ใช่เพียงแค่ความสวยงามเท่านั้น แต่ยังเกี่ยวข้องกับความละเอียดอ่อนทางวัฒนธรรม บริบททางประวัติศาสตร์ และความสนุกของการค้นหา นี่คือวิธีที่ผมสร้างโมเดล LoRA เพื่อสร้างแฟชั่นชายในสยามยุค 1920 (สมัยรัชกาลที่ 7) ตั้งแต่การวิจัยจนถึงการเรนเดอร์ขั้นสุดท้าย
1. การวิจัยและการรวบรวมชุดข้อมูล
การสำรวจเอกสารเก่า
ผมเริ่มต้นด้วยการค้นคว้าในหอจดหมายเหตุ หนังสือ และคอลเลกชันพิพิธภัณฑ์ภาพถ่ายกรุงเทพฯ ยุค 1920 ทั้งภาพทางการ ภาพในชีวิตประจำวัน และภาพแฟชั่นการสร้างชุดภาพ
รวบรวมภาพขาว-ดำหลายสิบภาพ ผมรวบรวมภาพความละเอียดสูง ประมาณ 50-100 ภาพที่แสดงรายละเอียดต่างๆ เช่น หมวกโบ๊ตเตอร์ แจ็กเก็ตปกจีน กางเกงปักลาย และเครื่องแต่งกายราชสำนัก
2. การเติมสีต้นฉบับด้วย Flux Context Plus
ทำไมต้องเติมสี?
สีช่วยให้โมเดลเรียนรู้โทนผ้า รายละเอียดขอบผ้า และบ่งบอกบริบทได้ถูกต้องกระบวนการบน Freepik
ใช้ Flux Kontext Plus บน Freepik อัปโหลดภาพขาว-ดำเป็นชุด Flux เติมสีโดยรักษารายละเอียดงานปักและเนื้อผ้าได้อย่างดี—ซึ่งสำคัญต่อความถูกต้องทางประวัติศาสตร์
3. การฝึกฝน LoRA บน Flux Dev
การเตรียมชุดฝึก
ผมจับคู่ภาพต้นฉบับกับภาพที่เติมสีแล้ว จัดเรียงตามประเภทเครื่องแต่งกายและเครื่องประดับ (เช่น หมวกโบ๊ตเตอร์ เสื้อคอแบบแข็ง)การตั้งค่าการฝึก LoRA
บนอินเทอร์เฟซการฝึก LoRA ของ Flux Dev ผมตั้งค่า:โมเดลฐาน: โมเดล diffusion ขนาดกลาง ที่ฝึกเบื้องต้นเรื่องภาพบุคคลทั่วไป
อัตราการเรียนรู้และจำนวนก้าว: LR (Learning Rate) ระดับ 1×10⁻⁴ กับ 400-600 ก้าว เพื่อหลีกเลี่ยงการจำภาพมากเกินไป
ขนาดแบตช์: 2-4 ภาพต่อแบตช์ สลับชุดตามหมวดแฟชั่น
4. การออกแบบพรอมต์และการกำหนดฉากหลัง
การร่างพรอมต์ข้อความ
เพื่อเรียกบรรยากาศยุครัชกาลที่ 7:
“A three-quarter portrait of a Siamese gentleman (1925), wearing a cream-silk mandarin-collar jacket with gold braid, light linen breeches and a black straw boater hat; refined posture, natural daylight.”ภาพพรอมต์เพื่อความสมจริงทางวัฒนธรรม
ผมใช้ภาพความละเอียดสูงของลานพระบรมมหาราชวังในสไตล์ยุค 1920 — หลังคาแหลม เสาแกะสลัก — เพื่อยึดตัวละครให้อยู่ในบริบทที่ถูกต้อง
5. การเพิ่มความละเอียดและการสร้างใบหน้า
Magnific สำหรับความคมชัด
ภาพที่สร้างขึ้นถูกนำเข้า Magnific เพื่ออัปสเกล 4× ทำให้รายละเอียดการปัก เนื้อผ้า และเส้นกรอบใบหน้าคมชัดมากขึ้น ใบหน้าตัวละครมักจะดปลี่ยนไปตามนำ้หนักของการอัพสเกล วิธีแก้ปัญหาคือนำไปเปลี่ยนหน้าPicSiAI สำหรับใบหน้าที่สมจริง
เพื่อให้ตัวละครในภาพมีใบหน้าดูมีชีวิต ผมใช้ PicSiAI face-spawn โดยปรับพารามิเตอร์ให้สะท้อนลักษณะไทยและสไตล์โทนแสงนุ่มนวลของยุคนั้น และเปลี่ยนเป็นตัวละครที่ต้องการ
เวิร์กโฟลว์นี้—ที่ตั้งอยู่บนพื้นฐานการวิจัยทางประวัติศาสตร์ การเติมสีเชิงบริบท การปรับแต่ง LoRA อย่างพิถีพิถัน และกระบวนการโพสต์โปรเซสหลายชั้น—ช่วยให้ภาพแต่ละภาพไม่เพียงแต่ดูสมจริงในยุคสมัย แต่ยังสื่อถึงความลึกซึ้งทางวัฒนธรรมของแฟชั่นชายสยามในยุครัชกาลที่ 7 การสร้าง LoRA เฉพาะทางอาจใช้เวลานาน แต่ผลลัพธ์ที่ได้คือโมเดลที่เข้าใจรหัสแฟชั่นยุคนั้นอย่างแท้จริง พร้อมนำยุคทองแห่งแฟชั่นชายไทยกลับคืนมามีชีวิตอีกครั้ง
Capturing 1920s Thai Men’s Fashion with LoRA: My Step-by-Step Workflow
Recreating period-accurate looks isn’t just about aesthetics—it’s about cultural nuance, historical context and the joy of discovery. Here’s how I built a LoRA model to generate men’s fashion of 1920s Siam (now Thailand) under King Rama VII, from research to final renders.
1. Research & Dataset Collection
Archival Exploration
I began by delving into archives, books and museum collections of 1920s Bangkok photography—official portraits, street scenes and fashion plates.Building the Image Set
From dozens of greyscale scans, I assembled roughly 500–700 high-resolution images showcasing distinct elements such as boater hats, mandarin-collar jackets, embroidered breeches and royal court attire.
2. Colourising Originals with Flux Context Plus
Why Colourisation?
Colour helps the model learn accurate fabric hues, trim details and contextual cues.Process on Freepik
Using Flux Context Plus on Freepik, I batch-uploaded my greyscale scans. Flux’s contextual recolouring preserved subtle embroidery details and textile textures—essential for authenticity.
3. Training the LoRA on Flux Dev
Preparing the Training Set
I paired each original with its colourised counterpart, organised by garment type and accessory (e.g. boater hats, court uniforms).LoRA Configuration
On Flux Dev’s LoRA-training interface, I set:Base Model: A mid-size diffusion model pre-fine-tuned on general portraiture
Learning Rate & Steps: A conservative LR of 1 × 10⁻⁴ over 400-600 steps to avoid overfitting
Batch Size: 2-4 images per batch, shuffled by style category
4. Prompt Engineering & Background Conditioning
Crafting the Text Prompt
To evoke the King Rama VII era:
“A three-quarter portrait of a Siamese gentleman (1925), wearing a cream-silk mandarin-collar jacket with gold braid, light linen breeches and a black straw boater hat; refined posture, natural daylight.”Image Prompt as Cultural Anchor
I also provided a high-resolution photo of the Grand Palace courtyard in mid-1920s style—peaked gables and ornate pillars—to root the character in authentic surroundings.
5. Upscaling & Face Generation
Magnific Detail Boost
Generated images were fed into Magnific for 4× upscaling. This sharpened lace-like jacket trims, textile weave and facial contours.PicSiAI for Realistic Faces
To give each generated figure a lifelike visage, I ran them through PicSiAI’s face-spawn module—carefully tuning ethnicity parameters to reflect Thai features and the softly lit portrait style of the era.
This workflow—grounded in historical research, contextual colourisation, careful LoRA fine-tuning and a layered post-processing pipeline—ensures each image not only looks period-correct but carries the cultural depth of 1920s Siamese court and street fashion. While crafting a bespoke LoRA takes time, the result is a generative model uniquely versed in the style vocabulary of King Rama VII’s era—ready to bring Thailand’s golden age of men’s fashion back to life.
#aifashionlab #AI #aiartist #aiart #aifashion #aifashiondesign #aifashionstyling #aifashiondesigner #fashion #fashionhistory #historyoffashion #fashionstyling #fashionphotography #digitalfashion #digitalfashiondesign #digitalcostumedesign #digitaldesign #digitalaiart #ThaiFashionHistory #ThaiFashionAI





















