เจาะลึก! วิธีเขียน Prompt ให้ Gemini สร้างภาพถ่ายหญิงสาวนั่งบนใบบัวกลางน้ำ โดยใบหน้าเหมือนภาพ Ref
เรียนรู้วิธีเขียน Prompt ให้ Gemini สร้างภาพ AI บุคคลสวยสมจริงดั่งเทพเนรมิต! บทความนี้จะแชร์เทคนิคการเขียน prompt อย่างละเอียด ตั้งแต่ท่าโพส แสงเงา สไตล์ภาพถ่าย ไปจนถึงฉากหลังสุดอลังการ เพื่อให้คุณสร้างสรรค์ผลงานภาพถ่าย AI ที่ไม่เหมือนใคร
AI PROMPT: PORTRAIT
Admin
9/25/20253 min read


เคยสงสัยไหมครับว่าภาพถ่ายบุคคลที่สร้างจาก AI สวยๆ สมจริงจนแทบแยกไม่ออกนั้น เขามีวิธีเขียน Prompt กันอย่างไร? วันนี้ AiPromptSpark.com จะมาถอดรหัสเบื้องหลังภาพสาวไทยนั่งบนใบบัวกลางป่าสุดงดงามที่เราได้เห็นกันไป พร้อมแชร์เทคนิคการเขียน Prompt อย่างละเอียดให้คุณสามารถนำไปปรับใช้สร้างสรรค์ผลงานของตัวเองได้เลยครับ
หัวใจสำคัญของการสร้างภาพให้ได้ดั่งใจนั่นก็คือ "ความละเอียด" ยิ่งเราให้ข้อมูลกับ AI ได้ละเอียดมากเท่าไหร่ ผลลัพธ์ที่ได้ก็จะยิ่งตรงตามจินตนาการของเรามากขึ้นเท่านั้น เรามาแบ่งองค์ประกอบของ Prompt ออกเป็นส่วนๆ เพื่อให้ง่ายต่อการทำความเข้าใจกันครับ
Prompt ที่ใช้สร้างภาพนี้
"A hyper-realistic, ethereal, and cinematic portrait of a woman, whose face, identity, age, and unique facial structure are an identical and perfect match to the person in the provided reference image. She is captured in a moment of serene tranquility, sitting gracefully on a large, vibrant green lotus leaf at the edge of a calm, shimmering stream in a lush, verdant forest.
Subject Details:
Pose and Expression: The woman has a warm, genuine, and gentle smile, looking directly and engagingly at the camera, perfectly replicating the expression from the original scene. Her pose is elegant and relaxed; she sits with her body slightly angled, legs comfortably bent. One hand rests delicately on her knee, while the other holds a beautiful stem of fresh pink and purple orchids. Her head is turned towards the viewer, creating a welcoming and intimate connection.
Clothing: She is dressed in a traditional Southeast Asian strapless tube sarong (Pha Thung). The fabric is a deep, dark gray or charcoal-colored woven cotton, featuring a subtle, intricate traditional pattern that adds texture and cultural depth. The garment is wrapped neatly and elegantly around her body.
Hair: She has long, lustrous, dark brown hair that flows smoothly over her shoulder, catching the light beautifully.
Photographic Style and Technique:
Lighting: The scene is illuminated by magical, golden hour backlighting. A strong, warm light source from the upper right corner creates a stunning rim light, outlining her hair and shoulders with a golden halo. This backlight also catches a fine mist or splashing water droplets in theair, transforming them into a cascade of sparkling, glowing bokeh orbs that add a magical, dreamy quality to the atmosphere. The light on her face is soft, diffused, and flattering, likely created by natural reflection from the water's surface.
Composition and Framing: This is a medium shot, framed at eye-level. The composition adheres to the rule of thirds, placing the subject off-center to create a more dynamic and visually appealing image. The focus is tack-sharp on her eyes and face, drawing the viewer's attention directly to her serene expression.
Lens and Aperture: Shot with a professional DSLR camera and a high-quality prime lens (such as an 85mm f/1.4 or 50mm f/1.2). The use of a very wide aperture (low f-number) creates an extremely shallow depth of field. This technique renders the background into a creamy, buttery bokeh of soft greens, browns, and sparkling light reflections, effectively isolating the subject and making her the sole focus of the image.
Color Palette and Mood: The overall mood is peaceful, romantic, and ethereal. The color palette is dominated by warm tones. The lush greens of the forest background are complemented by the earthy tones of the water and the deep gray of her attire. The golden sunlight provides brilliant, warm highlights, and the vibrant pink and purple of the orchid add a perfect, delicate splash of color.
Retouching and Quality: The image has been professionally retouched to enhance its natural beauty. Skin tones are smooth and even, colors are rich and vibrant, and the dynamic range is high, capturing details in both the bright highlights and the soft shadows, all while maintaining a highly realistic and photographic quality. Ultra-high resolution, 8K, highly detailed."
1. Posture: ท่าทางและการโพส
เริ่มต้นด้วยการบรรยายท่าทางของแบบให้ชัดเจนที่สุด ลองนึกภาพตามว่าแบบกำลังทำอะไรอยู่ จัดวางร่างกายอย่างไร
การโพส: "นั่งอย่างสง่างามบนใบบัวสีเขียวขนาดใหญ่" (sitting gracefully on a large, vibrant green lotus leaf)
การวางแขนขา: "นั่งเอียงตัวเล็กน้อย งอขาสบายๆ มือข้างหนึ่งวางบนเข่าอย่างแผ่วเบา" (sits with her body slightly angled, legs comfortably bent. One hand rests delicately on her knee)
ใบหน้าและสายตา: "มีรอยยิ้มที่อบอุ่น อ่อนโยน และจริงใจ มองตรงมาที่กล้อง" (a warm, genuine, and gentle smile, looking directly and engagingly at the camera)
2. Wearing: เครื่องแต่งกาย
เสื้อผ้าเป็นอีกหนึ่งองค์ประกอบสำคัญที่ช่วยบ่งบอกสไตล์และเรื่องราวของภาพ อย่าลืมใส่รายละเอียดให้ครบถ้วน
ประเภทเสื้อผ้า: "นุ่งผ้าถุงแบบเกาะอกตามแบบฉบับเอเชียตะวันออกเฉียงใต้" (dressed in a traditional Southeast Asian strapless tube sarong (Pha Thung))
วัสดุและสี: "ผ้าฝ้ายทอสีเทาเข้มหรือสีชาร์โคล" (deep, dark gray or charcoal-colored woven cotton)
ลวดลายและรายละเอียด: "โดดเด่นด้วยลวดลายแบบดั้งเดิมที่ละเอียดอ่อน เพิ่มมิติและเอกลักษณ์ทางวัฒนธรรม" (featuring a subtle, intricate traditional pattern)
3. Jewelry: เครื่องประดับ
หากในภาพมีเครื่องประดับ ให้บรรยายรายละเอียด เช่น วัสดุ, รูปทรง, ตำแหน่งที่สวมใส่ เพื่อเพิ่มความสมจริงและความหรูหราให้กับตัวแบบ
4. Photoshoot Style: สไตล์การถ่ายภาพ
ส่วนนี้สำคัญมาก เพราะจะเป็นการกำหนดมุมมองและคุณภาพของงานให้ดูเป็นมืออาชีพเหมือนช่างภาพตัวจริง
มุมกล้อง (Camera Angle): "ถ่ายในระดับสายตา เป็นภาพระยะปานกลาง (Medium shot)" (framed at eye-level. This is a medium shot)
เลนส์และรูรับแสง (Lens and Aperture): "ใช้เลนส์ไพรม์คุณภาพสูง (เช่น 85mm f/1.4) ตั้งค่ารูรับแสงกว้างสุด (f-number ต่ำ) เพื่อสร้างฉากหลังที่เบลอละลาย (creamy, buttery bokeh) ทำให้ตัวแบบโดดเด่น"
การจัดองค์ประกอบ (Composition): "ใช้กฎสามส่วน (Rule of thirds) โดยจัดให้ตัวแบบอยู่เยื้องจากจุดศูนย์กลาง"
5. Photo Editor: การปรับแต่งแสงและสี
จินตนาการว่าเราเป็น Photo Editor ที่กำลังปรับแต่งภาพ บอก AI ให้ชัดว่าเราต้องการแสง สี และเงาแบบไหน
แสง (Lighting): "ใช้แสงย้อน (Backlighting) จากมุมบนขวาในช่วงเวลา Golden Hour ทำให้เกิดแสงริมไลท์ (Rim light) เป็นประกายสีทองรอบเส้นผมและหัวไหล่ มีละอองน้ำในอากาศที่สะท้อนแสงเป็นโบเก้ทรงกลมเรืองรอง"
สี (Color Grading): "โทนสีโดยรวมอบอุ่น สีเขียวชอุ่มของป่าตัดกับสีเอิร์ธโทนของสายน้ำและเสื้อผ้าสีเทาเข้ม แสงแดดสีทองสร้างไฮไลท์ที่สว่างสดใส"
6. Background: ฉากหลัง
ฉากหลังช่วยเสริมเรื่องราวและบรรยากาศของภาพ บรรยายให้เห็นภาพมากที่สุด
"นั่งอยู่ริมลำธารที่สงบนิ่งและเป็นประกายระยิบระยับ ภายในป่าที่อุดมสมบูรณ์และเขียวชอุ่ม" (at the edge of a calm, shimmering stream in a lush, verdant forest)
7. Mood and tone: อารมณ์ของภาพ
บอก AI ว่าคุณต้องการให้ภาพสื่ออารมณ์แบบไหน เช่น "สงบสุข, โรแมนติก, และน่าค้นหา" (peaceful, romantic, and ethereal)
8. Photo Quality: คุณภาพของภาพ
สุดท้าย อย่าลืมสั่งให้ AI สร้างภาพที่มีความละเอียดสูงสุดเท่าที่จะทำได้ เช่น "Ultra-high resolution, 8K, highly detailed"
เมื่อนำองค์ประกอบทั้งหมดมารวมกัน เราก็จะได้ Prompt ที่สมบูรณ์แบบสำหรับสร้างสรรค์ภาพถ่ายบุคคลที่สวยงามและสมจริงอย่างน่าทึ่ง ลองนำเทคนิคเหล่านี้ไปปรับใช้ แล้วคุณจะพบว่าการสร้างภาพด้วย AI นั้นสนุกและไร้ขีดจำกัดกว่าที่เคย!
ภาพต้นฉบับ
ภาพได้จาก Gemini Imagen

