สอนวิธีเขียน Gemini Prompt สร้างภาพสาวยี่เป็งในชุดล้านนา ถือโคมไฟสวยสะกดทุกสายตา

เรียนรู้วิธีเขียน Prompt ใน Gemini เพื่อสร้างภาพ AI สาวสวยในชุดไทยล้านนาช่วงเทศกาลยี่เป็งอย่างสมจริงทุกรายละเอียด ตั้งแต่ท่าโพส, เสื้อผ้า, การจัดแสง, และ Mood & Tone พร้อมเทคนิคการสร้างภาพให้สวยงามเหมือนจริงด้วย AiPromptSpark

AI PROMPT: PORTRAIT

Admin

9/25/20253 min read

สวัสดีครับเพื่อนๆ ชาว AiPromptSpark! วันนี้เราจะมาแชร์เทคนิคการเขียน Prompt สำหรับ Gemini เพื่อสร้างสรรค์ภาพถ่ายที่งดงามและสมจริงราวกับหลุดออกมาจากภาพยนตร์ โดยได้รับแรงบันดาลใจจากความงดงามของประเพณียี่เป็งและวัฒนธรรมล้านนาของไทยเราครับ ภาพที่เราจะสร้างคือภาพหญิงสาวในชุดล้านนาที่กำลังถือโคมอย่างสง่างาม เรามาดูกันดีกว่าว่าต้องเขียน Prompt อย่างไรให้ได้ผลลัพธ์ที่น่าทึ่งแบบนี้

1. Posture: กำหนดท่าทางและอารมณ์

เริ่มต้นด้วยการบรรยายท่าทางของนางแบบให้ชัดเจนที่สุด เพื่อให้ AI สามารถจับภาพการแสดงออกและท่วงท่าที่สง่างามได้

  • การโพส: "หญิงสาวยืนหันตัวไปทางขวาเล็กน้อย แขนทั้งสองข้างยกขึ้นมาระดับอก ประคองโคมล้านนาสีขาวไว้อย่างนุ่มนวล"

  • การแสดงออกทางใบหน้า: "ใบหน้าแสดงออกถึงความสงบและนุ่มนวล สายตาจ้องมองขึ้นไปทางซ้ายเล็กน้อย (จากมุมมองของผู้ชม) ริมฝีปากเผยอเล็กน้อยอย่างเป็นธรรมชาติ สื่อถึงความสงบภายในใจ"

2. Wearing: บรรยายเครื่องแต่งกายแบบล้านนา

เสื้อผ้าเป็นองค์ประกอบสำคัญที่ทำให้ภาพดูมีวัฒนธรรมและสมจริง เราต้องลงรายละเอียดของชุดล้านนาให้ครบถ้วน

  • เสื้อ: "สวมเสื้อครอปแขนกุดสีขาวครีม ตัดเย็บจากผ้าฝ้ายเนื้อดี เข้ารูปอย่างสง่างาม"

  • ผ้าซิ่น: "นุ่งผ้าซิ่นล้านนาทอลายขวางในโทนสีอบอุ่น ประกอบด้วยสีส้มอิฐ, สีน้ำตาลแดง, และสีครีม บริเวณหัวซิ่นมีลวดลายดิ้นเงินที่โดดเด่น"

  • สไบ: "พาดสไบผ้าไหมสีแดงสดเนื้อนุ่ม ยาวพาดเฉียงจากไหล่ซ้ายข้ามลำตัว เพิ่มสีสันและความหรูหราให้กับชุด"

3. Jewelry: รายละเอียดเครื่องประดับ

แม้จะเป็นรายละเอียดเล็กๆ แต่เครื่องประดับช่วยเสริมให้ภาพดูสมบูรณ์ยิ่งขึ้น

  • กำไล: "ข้อมือขวาสวมกำไลหยกสีขาวหนา ข้อมือซ้ายสวมกำไลเงินเรียบๆ ขัดเงา"

  • สร้อยคอ: "สวมสร้อยคอเงินเส้นบางๆ เรียบๆ บริเวณไหปลาร้า"

4. Photoshoot Style: กำหนดสไตล์การถ่ายภาพ

ส่วนนี้สำคัญมากในการสร้างอารมณ์และคุณภาพของงานให้เหมือนภาพถ่ายจากช่างภาพมืออาชีพ

  • สไตล์: "Cinematic portrait, hyper-realistic" เพื่อให้ได้ภาพเหมือนฉากในภาพยนตร์และสมจริง

  • มุมกล้องและเลนส์: "ถ่ายแบบ Medium shot (ตั้งแต่เอวขึ้นไป) จากมุมกล้องระดับสายตา ใช้เลนส์ Prime 85mm ที่รูรับแสงกว้าง f/1.8" การระบุเลนส์และค่า f-stop จะช่วยสร้างเอฟเฟกต์หน้าชัดหลังเบลอ (Bokeh) ที่สวยงาม

  • การโฟกัส: "โฟกัสคมชัดที่ดวงตาของนางแบบ"

5. Photo Editor: การจัดแสงและโทนสี

การควบคุมแสงและสีคือการสร้างบรรยากาศให้กับภาพ

  • แสง: "ใช้แสงธรรมชาตินุ่มๆ เข้ามาจากทางด้านหน้าซ้าย ทำให้ใบหน้าและลำตัวของนางแบบสว่างอย่างนุ่มนวล เกิดเงาจางๆ ทางด้านขวาเพื่อสร้างมิติ"

  • โทนสี: "คุมโทนสีโดยรวมให้อบอุ่น (Warm Tone) สีหลักคือสีแดง, น้ำตาล, ส้ม และครีม เกรดสีแบบ cinematic ที่ให้สีสดอิ่มแต่ไม่ฉูดฉาด"

6. Background: บรรยายฉากหลัง

ฉากหลังช่วยเสริมเรื่องราวและความลึกของภาพ

  • สถานที่: "ฉากหลังเป็นระเบียงหรือชานของเรือนไม้สักทรงไทยล้านนาโบราณ"

  • องค์ประกอบ: "พื้นหลังประกอบด้วยเสาและชายคาไม้สีเข้มที่ตัดกับตัวแบบได้อย่างดี มีโคมล้านนาดวงอื่นๆ แขวนอยู่อย่างเบลอๆ ในฉากหลัง"

7. Mood and tone: สรุปอารมณ์ของภาพ

ย้ำอีกครั้งถึงอารมณ์ที่เราต้องการจะสื่อ

  • อารมณ์: "สงบ, สุขุม, งดงามเหนือกาลเวลา และเปี่ยมไปด้วยวัฒนธรรม"

8. Photo Quality: คุณภาพความละเอียด

สุดท้าย อย่าลืมสั่งให้ AI สร้างภาพที่มีความละเอียดสูงสุด

  • คุณภาพ: "Extremely high resolution, photorealistic detail, 8K, RAW photo quality"

เมื่อนำองค์ประกอบทั้งหมดมารวมกัน เราก็จะได้ Prompt ที่สมบูรณ์แบบสำหรับสร้างภาพสาวงามในเทศกาลยี่เป็งที่สวยงามราวกับมีชีวิต หวังว่าเทคนิคนี้จะเป็นประโยชน์ให้เพื่อนๆ นำไปปรับใช้สร้างสรรค์ผลงานภาพ AI ของตัวเองนะครับ แล้วพบกันใหม่ในบทความหน้าครับ!

ภาพต้นฉบับ

ภาพได้จาก Gemini Imagen

Prompt ที่ใช้สร้างภาพนี้

"Ultra-realistic, cinematic portrait, capturing a moment of serene grace during the Yi Peng Lantern Festival in Northern Thailand.

​Subject Details:

​Face & Identity:

​Crucial Instruction: The face of the subject must be an exact and faithful representation of the person from the provided reference image. All unique facial features, bone structure, eye shape, nose, lips, and overall identity must be perfectly replicated.

​Age: The apparent age of the person in the generated image should be consistent with the age of the person in the reference photograph.

​Expression & Pose Consistency: While the identity is taken from the reference photo, the facial expression and head pose must strictly follow the original scene's description. The subject must have a gentle, serene, and contemplative expression. Her gaze must be directed slightly upwards and to her left (from the viewer's perspective). Her lips should be slightly parted in a soft, natural way. This expression of quiet, inner peace is critical to the mood of the image. The AI must seamlessly map the reference face onto this specific expression and pose.

​Hairstyle & Accessories: Her hair is a rich, dark auburn or reddish-brown color, styled into an intricate and elegant traditional Lanna updo. The bun is neat and positioned at the back of her head, with some strands artfully arranged. Tucked into the side of her hair, just above her right ear, is a delicate white and light-green flower, possibly a jasmine or orchid, adding a touch of natural beauty and cultural authenticity.

​Attire (Lanna Costume): She is dressed in exquisite traditional Northern Thai (Lanna) clothing.

​Top: She wears a sleeveless, off-white or cream-colored crop top made of a fine, breathable cotton fabric. It is simple, form-fitting, and elegant.

​Skirt (Pha Sin): Her lower garment is a traditional Lanna "Pha Sin" (tube skirt). It features a beautiful pattern of horizontal stripes in a warm color palette, including shades of orange, terracotta, rich brown, red, and cream. The skirt is accented with a distinct waistband with a subtle metallic or silver thread pattern.

​Shawl (Sabai): A long, luxurious shawl, or "Sabai," made of a vibrant, deep red silk-like fabric with a subtle sheen, is draped elegantly over her left shoulder. It crosses her chest diagonally, adding a powerful splash of color.

​Jewelry: Her accessories are subtle and tasteful. On her right wrist, she wears a thick, smooth bracelet that appears to be made of white jade. On her left wrist is a simple, polished silver bangle. A delicate, thin silver chain necklace rests gently on her collarbone.

​Pose & Action: Her pose is poised and graceful. She is standing, turned slightly towards her right. Both of her arms are raised to chest level as she delicately holds a traditional white paper Lanna lantern ("Khom Lanna").

​Visual & Technical Details:

​Photography Style: Cinematic portrait, hyper-realistic, with a touch of fine art photography. The image should look like a still from a high-budget historical or cultural film.

​Mood & Atmosphere: The mood is serene, peaceful, timeless, and deeply cultural. The atmosphere is warm and intimate.

​Lighting: The lighting is soft, diffused, and natural. The primary light source is soft and comes from the front-left, beautifully illuminating her face, her chest, and the lantern. This creates gentle, soft shadows on the right side of her face and body, sculpting her features and adding depth.

​Composition & Framing:

​Shot Type: Medium shot, framed from the waist up.

​Camera Angle: Shot from a straight, eye-level perspective.

​Lens & Aperture: Mimic a high-end prime lens (e.g., 85mm) shot at a very wide aperture like f/1.8, creating an extremely shallow depth of field.

​Focus: Critical focus is locked onto her eyes, ensuring they are tack sharp.

​Bokeh: The background and foreground elements are rendered with a creamy, smooth, and aesthetically pleasing bokeh.

​Background & Setting:

​Environment: The setting is the veranda or courtyard of a traditional Thai Lanna-style wooden house or temple, characterized by dark, rich teak wood.

​Elements: The background is composed of dark wooden beams and eaves. Other out-of-focus Lanna lanterns are hanging in the background. The dark wood provides a perfect contrast that makes the subject pop.

​Color Palette & Grading: The overall color scheme is warm and harmonious. Dominant colors are deep red, warm browns, earthy oranges, and soft creams. The color grading is cinematic, with rich but slightly desaturated tones.

​Image Quality: Extremely high resolution, photorealistic detail, 8K, RAW photo quality. No digital artifacts. The final image should look like it was captured by a professional photographer using a full-frame DSLR or mirrorless camera. HDR is subtly applied to retain detail in both highlights and shadows."

หัวใจสำคัญของการสร้างภาพให้สมจริงคือ "ความละเอียด" ยิ่งเราให้รายละเอียดกับ AI มากเท่าไหร่ ภาพที่ได้ก็จะยิ่งตรงใจและสมบูรณ์แบบมากเท่านั้นครับ เราจะแบ่งองค์ประกอบของ Prompt ออกเป็นส่วนๆ เพื่อให้ง่ายต่อการทำความเข้าใจ ดังนี้ครับ