Step-by-Step Guide: Creating Double Portraits in Traditional Thai Court Dress from the Reign of King Rama VI Using AI
This workflow allows you to generate double portraits of individuals in Thai royal attire with remarkable historical accuracy and visual refinement
Step-by-Step Guide: Creating Double Portraits in Traditional Thai Court Dress from the Reign of King Rama VI Using AI
Many people ask how to create a double portrait featuring a couple in historically accurate Thai court dress from the reign of King Rama VI. This process involves training multiple LoRA models and leveraging AI-powered editing tools to fine-tune the details. Below is a step-by-step breakdown of the workflow.
Step 1: Training LoRA Models
To achieve the most authentic results, I trained three distinct LoRA models:
LoRA for Women’s Thai Court Dress
Gathered black-and-white photographs of Thai women in early 20th-century court attire.
Used AI colourisation tools to bring the images to life and create a more reliable dataset.
Trained a LoRA model specifically to capture the intricate details of women's Thai court fashion.
LoRA for Men’s Thai Court Dress
Followed the same process as for women's attire: collecting, colourising, and training the AI model.
Ensured the AI learned essential details such as fabric textures, embroidery, and traditional accessories.
LoRA for Double Portraits
Compiled a dataset of historical images featuring both men and women in court dress together.
Used AI-based morphing and blending tools to create composite double portraits.
Trained a final LoRA model capable of generating historically accurate double portraits of couples dressed in traditional Thai royal attire.
Step 2: Choosing the Right Platform for Training LoRA
Selecting the right platform depends on your hardware and technical preferences:
For Windows Users: Run ComfyUI locally, provided you have a high-VRAM GPU.
For Mac Users: Use ComfyUI Flux Dev on RunPod, which allows you to rent a GPU and pay as you go.
For Those Who Prefer Simpler Solutions: Opt for Shakker or Krea, both of which offer LoRA training as a subscription-based service.
💡 AI model training isn’t free—it requires substantial computing power. Supporting these platforms helps fund ongoing improvements in AI technology.
Step 3: Adding a New Figure to an Image Using Krea
Once the LoRA models are ready, I turn to Krea for editing and adding figures seamlessly into existing images.
3.1: Preparing the Base Image
Start with a high-resolution image of an individual in Thai court attire.
If necessary, remove the background using Photoshop or AI-powered tools to ensure a clean composition.
3.2: Inserting the Second Figure
Upload your base image into Krea’s Edit mode.
Use the "Change Region" tool to mark the area where you want to introduce a second figure.
Write a short prompt describing the new character (e.g., “A Thai nobleman in ceremonial attire from 1910”).
Apply the trained LoRA for men’s Thai court dress to your prompt.
Click Generate to bring the second character to life.
💡 You might need to regenerate multiple times to fine-tune the result to your liking.
Step 4: Enhancing Image Quality (Choose Between Krea or Magnific)
After generating the double portrait, the next step is refining the image for clarity and detail. You have two great options:
Option 1: Using Krea – "Enhance" Feature
Select the final image and go to "Enhance".
Adjust the enhancement settings to sharpen textures and improve clarity.
Krea’s Enhance function is particularly useful for refining fabric patterns, embroidery, and facial features.
💡 Krea is a solid all-in-one tool, perfect for those who prefer a streamlined workflow without juggling multiple apps.
Option 2: Using Magnific AI for High-Resolution Detailing
Upload the image to Magnific.
Increase Creativity and Fractality slightly to enhance textures and depth.
Magnific does an excellent job of refining intricate clothing details and ensuring the image has a polished, professional finish.
If the generated face doesn’t quite match the original, you can use a face swap tool to correct it.
💡 Magnific is a fantastic choice for those looking to achieve ultra-crisp, high-definition results.
Step 5: Final Touches and Adjustments
If preserving facial likeness is a priority, use a face swap tool to ensure accuracy.
Adjust colour grading and contrast in Photoshop or Lightroom to unify the composition.
Final Thoughts
This workflow allows you to generate double portraits of individuals in Thai royal attire with remarkable historical accuracy and visual refinement. Depending on your needs, you can enhance your results further using either Krea or Magnific. Below are some examples of my work produced with this method.
ขั้นตอนการสร้างภาพชุดแต่งกายราชสำนักไทยในสมัยรัชกาลที่ 6 ด้วย AI
หลายคนถามถึงวิธีการสร้าง ภาพคู่ ในชุดแต่งกายราชสำนักไทยในสมัยรัชกาลที่ 6 ให้มีความแม่นยำทางประวัติศาสตร์ กระบวนการนี้เกี่ยวข้องกับการฝึกโมเดล LoRA หลายตัวและการใช้เครื่องมือ AI ช่วยปรับแต่งภาพให้สมบูรณ์ยิ่งขึ้น ด้านล่างนี้คือคำแนะนำทีละขั้นตอน
ขั้นตอนที่ 1: การฝึกโมเดล LoRA
เพื่อให้ได้ผลลัพธ์ที่แม่นยำ ผมได้ฝึกโมเดล LoRA แยกออกเป็น 3 ส่วน
LoRA สำหรับชุดสตรีราชสำนักไทย
รวบรวมภาพถ่ายขาวดำของสตรีไทยในชุดราชสำนักต้นศตวรรษที่ 20
ใช้ AI เพื่อระบายสีภาพให้ดูเป็นธรรมชาติ
นำภาพที่ผ่านการระบายสีมาใช้เป็นชุดข้อมูลในการฝึก LoRA เพื่อให้ AI เรียนรู้รายละเอียดของชุด
LoRA สำหรับชุดบุรุษราชสำนักไทย
ทำกระบวนการเดียวกันกับชุดของสตรี โดยรวบรวมภาพ ระบายสี และฝึก LoRA
เน้นให้ AI เรียนรู้รายละเอียดของผ้า ลวดลาย และเครื่องประดับ
LoRA สำหรับภาพคู่ในชุดราชสำนัก
สร้างชุดข้อมูลจากภาพถ่ายเก่าที่มีทั้งชายและหญิงอยู่ในเฟรมเดียวกัน
ใช้เครื่องมือ AI ช่วยผสานภาพเดี่ยวให้เป็นภาพคู่
ฝึก LoRA ให้สามารถสร้าง ภาพคู่ ในชุดราชสำนักได้โดยสมบูรณ์
ขั้นตอนที่ 2: การเลือกแพลตฟอร์มสำหรับฝึก LoRA
สามารถเลือกแพลตฟอร์มฝึก LoRA ตามความสะดวกของผู้ใช้
สำหรับผู้ใช้ Windows: สามารถใช้ ComfyUI ได้หากมีการ์ดจอที่มี VRAM สูง
สำหรับผู้ใช้ Mac: แนะนำให้ใช้ ComfyUI Flux Dev บน RunPod ซึ่งสามารถเช่า Pod แบบจ่ายตามการใช้งานจริง
สำหรับผู้ที่ไม่ต้องการตั้งค่า ComfyUI: ใช้บริการอย่าง Shakker หรือ Krea ซึ่งมีระบบฝึก LoRA พร้อมใช้งานโดยมีค่าบริการรายเดือน
💡 การฝึก AI ไม่ใช่เรื่องฟรี เนื่องจากต้องใช้ทรัพยากรและต้นทุนสูง การสนับสนุนแพลตฟอร์มเหล่านี้ช่วยให้เกิดการพัฒนาเครื่องมือที่ดียิ่งขึ้นในอนาคต
ขั้นตอนที่ 3: การเพิ่มตัวละครเข้าไปในภาพด้วย Krea
เมื่อฝึก LoRA เสร็จแล้ว ผมใช้ Krea ในการตัดต่อและเพิ่มตัวละครเข้าไปในภาพ
3.1: เตรียมภาพพื้นฐาน
เริ่มต้นด้วยภาพคุณภาพสูงของบุคคลในชุดราชสำนักไทย
หากจำเป็น ให้ใช้ Photoshop หรือตัวช่วยลบพื้นหลังเพื่อล้างภาพให้สะอาด
3.2: การเพิ่มตัวละครใหม่เข้าไปในภาพ
อัปโหลดภาพพื้นฐานเข้าไปใน Krea – โหมด Edit
ใช้เครื่องมือ "Change Region" เพื่อกำหนดพื้นที่ที่ต้องการเพิ่มตัวละคร
เขียนคำบรรยายเกี่ยวกับตัวละครใหม่ที่ต้องการเพิ่ม (เช่น "ขุนนางไทยในชุดราชสำนักยุค 1910")
นำ LoRA ที่ฝึกไว้สำหรับชุดบุรุษราชสำนัก มาใช้ใน Prompt
คลิก Generate เพื่อสร้างตัวละครชาย
💡 อาจต้องกด Generate หลายครั้งเพื่อให้ได้ผลลัพธ์ที่ต้องการ
ขั้นตอนที่ 4: การเพิ่มคุณภาพของภาพ (เลือกใช้ Krea หรือ Magnific ได้ตามสะดวก)
เมื่อได้ภาพที่ต้องการแล้ว สามารถเลือกหนึ่งในสองวิธีนี้เพื่อปรับแต่งคุณภาพของภาพให้ดีขึ้น
ตัวเลือกที่ 1: ใช้ Krea – ฟังก์ชัน "Enhance"
เลือกภาพสุดท้าย แล้วไปที่ "Enhance"
ปรับค่าต่าง ๆ เพื่อเพิ่มรายละเอียดของเสื้อผ้าและทำให้ภาพดูสมจริงขึ้น
ฟังก์ชัน Enhance ของ Krea สามารถช่วยให้ภาพดูมีมิติมากขึ้น โดยเฉพาะรายละเอียดของลายผ้าและเนื้อผ้า
💡 Krea เป็นแอปที่ครอบคลุมและใช้งานง่าย เหมาะสำหรับผู้ที่ไม่ต้องการใช้แอปหลายตัว
ตัวเลือกที่ 2: ใช้ Magnific AI
อัปโหลดภาพที่ต้องการปรับปรุงเข้าไปใน Magnific
ปรับค่า Creativity และ Fractality ให้สูงขึ้นเล็กน้อยเพื่อช่วยเพิ่มรายละเอียดของภาพ
Magnific มีความสามารถในการทำให้รายละเอียดของเนื้อผ้าและลวดลายบนเสื้อชัดเจนขึ้น
หากใบหน้าไม่ตรงกับต้นฉบับ สามารถใช้แอปเปลี่ยนใบหน้า (Face Swap) เพื่อแก้ไขได้
💡 Magnific เป็นตัวเลือกที่ดีสำหรับการทำให้ภาพคมชัดขึ้นและได้คุณภาพสูง
ขั้นตอนที่ 5: การปรับแต่งภาพขั้นสุดท้าย
หากต้องการให้ใบหน้าตรงกับต้นฉบับ สามารถใช้ แอปเปลี่ยนใบหน้า (Face Swap) เพื่อปรับแต่งให้ตรงกับภาพจริง
ปรับโทนสีและความสมดุลของภาพใน Photoshop หรือ Lightroom
สรุป
กระบวนการนี้ช่วยให้สามารถสร้าง ภาพคู่ ในชุดราชสำนักไทยที่มีความถูกต้องทางประวัติศาสตร์ มีรายละเอียดสูง และดูสมจริง โดยสามารถเลือกปรับแต่งภาพเพิ่มเติมด้วย Krea หรือ Magnific ตามความต้องการ ด้านล่างนี้คือตัวอย่างของผลงานที่ผมสร้างโดยใช้วิธีนี้
#aifashionlab #AI #aiartist #aiart #aifashion #aifashiondesign #aifashionstyling #aifashiondesigner #fashion #fashionhistory #historyoffashion #fashionstyling #fashionphotography #digitalfashion #digitalfashiondesign #digitalcostumedesign #digitaldesign #digitalaiart #bangkok #bangkokthailand #ThaiFashionHistory #ThaiFashionAI #flux #fluxlora









